AZ-400 Practice Test

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

Question 91

You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autoscaling. You use Azure DevOps to build a web app named App1 and deploy App1 to VMSS1. App1 is used heavily and has usage patterns that vary on a weekly basis. You need to recommend a solution to detect an abnormal rise in the rate of failed requests to App1. The solution must minimize administrative effort. What should you include in the recommendation?

  1. the Smart Detection feature in Azure Application Insights
  2. the Failures feature in Azure Application Insights
  3. an Azure Service Health alert
  4. an Azure Monitor alert that uses an Azure Log Analytics query

Question 92

SIMULATION - You need to ensure that Microsoft Visual Studio 2017 can remotely attach to an Azure Function named fa-11566895. To complete this task, sign in to the Microsoft Azure portal.

Question 93

You have an Azure subscription that contains resources in several resource groups. You need to design a monitoring strategy that will provide a consolidated view. The solution must support the following requirements: ✑ Support role-based access control (RBAC) by using Azure Active Directory (Azure AD) identifies. ✑ Include visuals from Azure Monitor that are generated by using the Kusto query language. ✑ Support documentation written in markdown. ✑ Use the latest data available for each visual. What should you use to create the consolidated view?

  1. Azure Monitor
  2. Microsoft Power BI
  3. Azure Data Explorer
  4. Azure dashboards

Question 94

You are automating the testing process for your company. You need to automate UI testing of a web application. Which framework should you use?

  1. JaCoco
  2. Selenium
  3. Xamarin.UITest
  4. Microsoft.CodeAnalysis

Question 95

You are building an ASP.NET Core application. You plan to create an application utilization baseline by capturing telemetry data. You need to add code to the application to capture the telemetry data. The solution must minimize the costs of storing the telemetry data. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point

  1. Add the <InitialSamplingPercentage>99</InitialSamplingPercentage> parameter to the ApplicationInsights.config file.
  2. From the code of the application, enable adaptive sampling.
  3. From the code of the application, add Azure Application Insights telemetry.
  4. Add the <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> parameter to the ApplicationInsights.config file.
  5. From the code of the application, disable adaptive sampling.