AZ-400 Practice Test

AZ-400 Practice Test practice questions, page 12 of 23, with answer review and explanations.

Question 56

You create an alert rule in Azure Monitor as shown in the following exhibit. Which action will trigger an alert?

  1. a failed attempt to delete the ASP-9bb7 resource
  2. a change to a role assignment for the ASP-9bb7 resource
  3. a successful attempt to delete the ASP-9bb7 resource
  4. a failed attempt to scale up the ASP-9bb7 resource

Question 57

You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database. You need to generate an alert when there are 10,000 simultaneous connections to the database. The solution must minimize development effort. Which option should you select in the Diagnostics settings of the database?

  1. Send to Log Analytics
  2. Stream to an event hub
  3. Archive to a storage account

Question 58

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. Hot Area:

Question 59

You have an Azure virtual machine that is monitored by using Azure Monitor. The virtual machine has the Azure Log Analytics agent installed. You plan to deploy the Service Map solution from the Azure Marketplace. What should you deploy to the virtual machine to support the Service Map solution?

  1. the Dependency agent
  2. the Telegraf agent
  3. the Windows Azure diagnostics extension (WAD)
  4. the Azure monitor agent

Question 60

You have a project in Azure DevOps that contains a Continuous Integration/Continuous Deployment (CI/CD) pipeline. You need to enable detailed logging by defining a pipeline variable. How should you configure the variable? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area: