Download Microsoft.AZ-400.Dump4Pass.2024-03-24.288q.vcex

Download Exam

File Info

Exam Microsoft Azure DevOps Solutions
Number AZ-400
File Name Microsoft.AZ-400.Dump4Pass.2024-03-24.288q.vcex
Size 15 MB
Posted Mar 24, 2024
Download Microsoft.AZ-400.Dump4Pass.2024-03-24.288q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

You manage an Azure web app that supports an e-commerce website.    
You need to increase the logging level when the web app exceeds normal usage patterns. The solution must minimize administrative overhead.  
Which two resources should you include in the solution? Each correct answer presents part of the solution.  
NOTE: Each correct selection is worth one point.


  1. an Azure Automation runbook
  2. an Azure Monitor alert that has a dynamic threshold
  3. an Azure Monitor alert that has a static threshold
  4. the Azure Monitor autoscale settings
  5. an Azure Monitor alert that uses an action group that has an email action
Correct answer: AB
Explanation:
B: Metric Alert with Dynamic Thresholds detection leverages advanced machine learning (ML) to learn metrics' historical behavior, identify patterns and anomalies that indicate possible service issues. It provides support of both a simple UI and operations at scale by allowing users to configure alert rules through the Azure Resource Manager API, in a fully automated manner.    A: You can use Azure Monitor to monitor base-level metrics and logs for most services in Azure. You can call Azure Automation runbooks by using action groups or by using classic alerts to automate tasks based on alerts.    Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-dynamic-thresholds   https://docs.microsoft.com/en-us/azure/automation/automation-create-alert-triggered-runbook
B: Metric Alert with Dynamic Thresholds detection leverages advanced machine learning (ML) to learn metrics' historical behavior, identify patterns and anomalies that indicate possible service issues. It provides support of both a simple UI and operations at scale by allowing users to configure alert rules through the Azure Resource Manager API, in a fully automated manner.  
  
A: You can use Azure Monitor to monitor base-level metrics and logs for most services in Azure. You can call Azure Automation runbooks by using action groups or by using classic alerts to automate tasks based on alerts.  
  
Reference: 
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-dynamic-thresholds   
https://docs.microsoft.com/en-us/azure/automation/automation-create-alert-triggered-runbook



Question 2

You have an Azure Kubernetes Service (AKS) pod.    
You need to configure a probe to perform the following actions:   
  • Confirm that the pod is responding to service requests.  
  • Check the status of the pod four times a minute.  
  • Initiate a shutdown if the pod is unresponsive.    
How should you complete the YAML configuration file? To answer, select the appropriate options in the answer area.    
NOTE: Each correct selection is worth one point. 


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: readinessProbe: For containerized applications that serve traffic, you might want to verify that your container is ready to handle incoming requests. Azure Container Instances supports readiness probes to include configurations so that your container can't be accessed under certain conditions.    Incorrect Answers: livenessProbe: Containerized applications may run for extended periods of time, resulting in broken states that may need to be repaired by restarting the container. Azure Container Instances supports liveness probes so that you can configure your containers within your container group to restart if critical functionality is not working.  Box 2: periodSeconds: 15 The periodSeconds property designates the readiness command should execute every 15 seconds.    Reference: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness-probe
Box 1: readinessProbe: 
For containerized applications that serve traffic, you might want to verify that your container is ready to handle incoming requests. Azure Container Instances supports readiness probes to include configurations so that your container can't be accessed under certain conditions.  
  
Incorrect Answers: 
livenessProbe: Containerized applications may run for extended periods of time, resulting in broken states that may need to be repaired by restarting the container. Azure Container Instances supports liveness probes so that you can configure your containers within your container group to restart if critical functionality is not working.  
Box 2: periodSeconds: 15 
The periodSeconds property designates the readiness command should execute every 15 seconds.  
  
Reference: 
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness-probe



Question 3

Your company is building a new web application.    
You plan to collect feedback from pilot users on the features being delivered.    
All the pilot users have a corporate computer that has Google Chrome and the Microsoft Test & Feedback extension installed. The pilot users will test the application by using Chrome.    
You need to identify which access levels are required to ensure that developers can request and gather feedback from the pilot users. The solution must use the principle of least privilege.    
Which access levels in Azure DevOps should you identify? To answer, select the appropriate options in the answer area.    
NOTE: Each correct selection is worth one point. 


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: Basic Assign Basic to users with a TFS CAL, with a Visual Studio Professional subscription, and to users for whom you are paying for Azure Boards & Repos in an organization.    Box 2: Stakeholder Assign Stakeholders to users with no license or subscriptions who need access to a limited set of features.    Note: You assign users or groups of users to one of the following access levels:   Basic: provides access to most features VS Enterprise: provides access to premium features Stakeholders: provides partial access, can be assigned to unlimited users for free   Reference: https://docs.microsoft.com/en-us/azure/devops/organizations/security/access-levels?view=vsts
Box 1: Basic 
Assign Basic to users with a TFS CAL, with a Visual Studio Professional subscription, and to users for whom you are paying for Azure Boards & Repos in an organization.  
  
Box 2: Stakeholder 
Assign Stakeholders to users with no license or subscriptions who need access to a limited set of features.  
  
Note: 
You assign users or groups of users to one of the following access levels: 
  
Basic: provides access to most features 
VS Enterprise: provides access to premium features 
Stakeholders: provides partial access, can be assigned to unlimited users for free 
  
Reference: 
https://docs.microsoft.com/en-us/azure/devops/organizations/security/access-levels?view=vsts



Question 4

Your company creates a web application.    
You need to recommend a solution that automatically sends to Microsoft Teams a daily summary of the exceptions that occur in the application.  
Which two Azure services should you recommend? Each correct answer presents part of the solution.  
NOTE: Each correct selection is worth one point.


  1. Azure Logic Apps
  2. Azure Pipelines
  3. Microsoft Visual Studio App Center
  4. Azure DevOps Project
  5. Azure Application Insights
Correct answer: AE
Explanation:
E: Exceptions in your live web app are reported by Application Insights.   Note: Periodical reports help keep a team informed on how their business critical services are doing. Developers, DevOps/SRE teams, and their managers can be productive with automated reports reliably delivering insights without requiring everyone to sign in the portal. Such reports can also help identify gradual increases in latencies, load or failure rates that may not trigger any alert rules.    A: You can programmatically query Application Insights data to generate custom reports on a schedule. The following options can help you get started quickly: Automate reports with Microsoft Flow  Automate reports with Logic Apps    Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-exceptions   https://docs.microsoft.com/en-us/azure/azure-monitor/app/automate-custom-reports
E: Exceptions in your live web app are reported by Application Insights. 
  
Note: Periodical reports help keep a team informed on how their business critical services are doing. Developers, DevOps/SRE teams, and their managers can be productive with automated reports reliably delivering insights without requiring everyone to sign in the portal. Such reports can also help identify gradual increases in latencies, load or failure rates that may not trigger any alert rules.  
  
A: You can programmatically query Application Insights data to generate custom reports on a schedule. The following options can help you get started quickly: 
  • Automate reports with Microsoft Flow  
  • Automate reports with Logic Apps  
  
Reference: 
https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-exceptions   
https://docs.microsoft.com/en-us/azure/azure-monitor/app/automate-custom-reports



Question 5

Your company is building a mobile app that targets Android and iOS devices.  
Your team uses Azure DevOps to manage all work items and release cycles.  
You need to recommend a solution to perform the following tasks:   
  • Collect crash reports for issue analysis.  
  • Distribute beta releases to your testers.  
  • Get user feedback on the functionality of new apps.    
What should you include in the recommendation?


  1. the Microsoft Test & Feedback extension
  2. Microsoft Visual Studio App Center integration
  3. Azure Application Insights widgets
  4. Jenkins integration
Correct answer: B
Explanation:
The "Exploratory Testing" extension is now "Test & Feedback" and is now Generally Available.    Anyone can now test web apps and give feedback, all directly from the browser on any platform: Windows, Mac, or Linux. Available for Google Chrome and Mozilla Firefox (required version 50.0 or above) currently. Support for Microsoft Edge is in the pipeline and will be enabled once Edge moves to a Chromium-compatible web platform.    Reference: https://marketplace.visualstudio.com/items?itemName=ms.vss-exploratorytesting-web
The "Exploratory Testing" extension is now "Test & Feedback" and is now Generally Available.  
  
Anyone can now test web apps and give feedback, all directly from the browser on any platform: Windows, Mac, or Linux. Available for Google Chrome and Mozilla Firefox (required version 50.0 or above) currently. Support for Microsoft Edge is in the pipeline and will be enabled once Edge moves to a Chromium-compatible web platform.  
  
Reference: 
https://marketplace.visualstudio.com/items?itemName=ms.vss-exploratorytesting-web



Question 6

You need to create a notification if the peak average response time of an Azure web app named az400-9940427-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the “https://contoso.com/notify” webhook. 
To complete this task, sign in to the Microsoft Azure portal.


  1. See the explanation
Correct answer: A
Explanation:
1. Open Microsoft Azure Portal  2. Log into your Azure account and go to App Service and look under Monitoring then you will see Alert.  3. Select Add an alert rule  4. Configure the alert rule as per below and click Ok.  Source: Alert on Metrics Resource Group: az400-9940427-main Resource: az400-9940427-main Threshold: 5 Period: Over the last 5 minutes Webhook: https://contoso.com/notify             Reference: https://azure.microsoft.com/es-es/blog/webhooks-for-azure-alerts/
1. Open Microsoft Azure Portal  
2. Log into your Azure account and go to App Service and look under Monitoring then you will see Alert.  
3. Select Add an alert rule  
4. Configure the alert rule as per below and click Ok.  
Source: Alert on Metrics 
Resource Group: az400-9940427-main 
Resource: az400-9940427-main 
Threshold: 5 
Period: Over the last 5 minutes 
Webhook: https://contoso.com/notify 
        
    
Reference: 
https://azure.microsoft.com/es-es/blog/webhooks-for-azure-alerts/



Question 7

You have an Azure DevOps organization named Contoso.    
You need to receive Microsoft Teams notifications when work items are updated.  
What should you do?


  1. From Azure DevOps, configure a service hook subscription
  2. From Microsoft Teams, configure a connector
  3. From the Microsoft Teams admin center, configure external access
  4. From Microsoft Teams, add a channel
  5. From Azure DevOps, install an extension
Correct answer: B
Explanation:
Service hooks let you run tasks on other services when events happen in your Azure DevOps projects. For example, create a card in Trello when a work item is created or send a push notification to your team's mobile devices when a build fails. You can also use service hooks in custom apps and services as a more efficient way to drive activities when events happen in your projects.    Note: Service hook publishers define a set of events. Subscriptions listen for the events and define actions to take based on the event. Subscriptions also target consumers, which are external services that can run their own actions, when an event occurs.    Reference: https://docs.microsoft.com/en-us/azure/devops/service-hooks/overview
Service hooks let you run tasks on other services when events happen in your Azure DevOps projects. For example, create a card in Trello when a work item is created or send a push notification to your team's mobile devices when a build fails. You can also use service hooks in custom apps and services as a more efficient way to drive activities when events happen in your projects.    
Note: Service hook publishers define a set of events. Subscriptions listen for the events and define actions to take based on the event. Subscriptions also target consumers, which are external services that can run their own actions, when an event occurs.  
  
Reference: 
https://docs.microsoft.com/en-us/azure/devops/service-hooks/overview



Question 8

You use Azure DevOps to manage the build and deployment of an app named App1.  
You have a release pipeline that deploys a virtual machine named VM1.  
You plan to monitor the release pipeline by using Azure Monitor.    
You need to create an alert to monitor the performance of VM1. The alert must be triggered when the average CPU usage exceeds 70 percent for five minutes.  
The alert must calculate the average once every minute.    
How should you configure the alert rule? To answer, select the appropriate options in the answer area.    
NOTE: Each correct selection is worth one point. 


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: 5 minutes The alert must calculate the average once every minute.    Note: We [Microsoft] recommend choosing an Aggregation granularity (Period) that is larger than the Frequency of evaluation, to reduce the likelihood of missing the first evaluation of added time series    Box 2: Static   Box 3: Greater than   Example, say you have an App Service plan for your website. You want to monitor CPU usage on multiple instances running your web site/app. You can do that using a metric alert rule as follows: Target resource: myAppServicePlan Metric: Percentage CPU Condition Type: Static Dimensions  Instance = InstanceName1, InstanceName2  Time Aggregation: Average Period: Over the last 5 mins Frequency: 1 min Operator: GreaterThan Threshold: 70 Like before, this rule monitors if the average CPU usage for the last 5 minutes exceeds 70%.  Aggregation granularity    Reference:   https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview
Box 1: 5 minutes 
The alert must calculate the average once every minute.  
  
Note: We [Microsoft] recommend choosing an Aggregation granularity (Period) that is larger than the Frequency of evaluation, to reduce the likelihood of missing the first evaluation of added time series  
  
Box 2: Static 
  
Box 3: Greater than 
  
Example, say you have an App Service plan for your website. You want to monitor CPU usage on multiple instances running your web site/app. You can do that using a metric alert rule as follows: 
  • Target resource: myAppServicePlan 
  • Metric: Percentage CPU 
  • Condition Type: Static 
  • Dimensions  
  • Instance = InstanceName1, InstanceName2  
  • Time Aggregation: Average 
  • Period: Over the last 5 mins 
  • Frequency: 1 min 
  • Operator: GreaterThan 
  • Threshold: 70 
  • Like before, this rule monitors if the average CPU usage for the last 5 minutes exceeds 70%.  
  • Aggregation granularity  
  
Reference:   
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview



Question 9

You have an application named App1 that has a custom domain of app.contoso.com.  
You create a test in Azure Application Insights as shown in the following exhibit.  
        
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.    
NOTE: Each correct selection is worth one point.    


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: every five minutes at a random location Test frequency: Sets how often the test is run from each test location. With a default frequency of five minutes and five test locations, your site is tested on average every minute.    Box 2: Parse dependent requests: Test requests images, scripts, style files, and other files that are part of the web page under test. The recorded response time includes the time taken to get these files. The test fails if any of these resources cannot be successfully downloaded within the timeout for the whole test.  Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
Box 1: every five minutes at a random location 
Test frequency: Sets how often the test is run from each test location. With a default frequency of five minutes and five test locations, your site is tested on average every minute.  
  
Box 2: 
Parse dependent requests: Test requests images, scripts, style files, and other files that are part of the web page under test. The recorded response time includes the time taken to get these files. The test fails if any of these resources cannot be successfully downloaded within the timeout for the whole test.  
Reference: 
https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability



Question 10

Your company hosts a web application in Azure. The company uses Azure Pipelines for the build and release management of the application.  
Stakeholders report that the past few releases have negatively affected system performance.  
You configure alerts in Azure Monitor.    
You need to ensure that new releases are only deployed to production if the releases meet defined performance baseline criteria in the staging environment first.  
What should you use to prevent the deployment of releases that fall to meet the performance baseline?


  1. an Azure Scheduler job
  2. a trigger
  3. a gate
  4. an Azure function
Correct answer: C
Explanation:
Scenarios and use cases for gates include: Quality validation. Query metrics from tests on the build artifacts such as pass rate or code coverage and deploy only if they are within required thresholds.    Use Quality Gates to integrate monitoring into your pre-deployment or post-deployment. This ensures that you are meeting the key health/performance metrics (KPIs) as your applications move from dev to production and any differences in the infrastructure environment or scale is not negatively impacting your KPIs.    Note: Gates allow automatic collection of health signals from external services, and then promote the release when all the signals are successful at the same time or stop the deployment on timeout. Typically, gates are used in connection with incident management, problem management, change management, monitoring, and external approval systems.    Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/continuous-monitoring   https://docs.microsoft.com/en-us/azure/devops/pipelines/release/approvals/gates?view=azure-devops
Scenarios and use cases for gates include: 
  • Quality validation. Query metrics from tests on the build artifacts such as pass rate or code coverage and deploy only if they are within required thresholds.  
  
Use Quality Gates to integrate monitoring into your pre-deployment or post-deployment. This ensures that you are meeting the key health/performance metrics (KPIs) as your applications move from dev to production and any differences in the infrastructure environment or scale is not negatively impacting your KPIs.  
  
Note: Gates allow automatic collection of health signals from external services, and then promote the release when all the signals are successful at the same time or stop the deployment on timeout. Typically, gates are used in connection with incident management, problem management, change management, monitoring, and external approval systems.  
  
Reference: 
https://docs.microsoft.com/en-us/azure/azure-monitor/continuous-monitoring   
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/approvals/gates?view=azure-devops









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files