Microsoft AZ-400 Exam Questions
Designing and Implementing Microsoft DevOps Solutions (Page 19 )

Updated On: 24-Feb-2026

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

Answer(s): D


Reference:

https://docs.microsoft.com/en-us/azure/azure-portal/azure-portal-dashboards



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

Answer(s): B

Explanation:

Performing user interface (UI) testing as part of the release pipeline is a great way of detecting unexpected changes, and need not be difficult. Selenium can be used to test your website during a continuous deployment release and test automation.


Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/test/continuous-test-selenium?view=azure-devops



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.

Answer(s): C,E

Explanation:

Sampling is a feature in Azure Application Insights. It is the recommended way to reduce telemetry traffic, data costs, and storage costs, while preserving a statistically correct analysis of application data.

The Application Insights SDK for ASP.NET Core supports both fixed-rate and adaptive sampling. Adaptive sampling is enabled by default.

D: For adaptive sampling: The volume is adjusted automatically to keep within a specified maximum rate of traffic, and is controlled via the setting MaxTelemetryItemsPerSecond. If the application produces a low amount of telemetry, such as when debugging or due to low usage, items won't be dropped by the sampling processor as long as volume is below MaxTelemetryItemsPerSecond.

Note: In ApplicationInsights.config, you can adjust several parameters in the AdaptiveSamplingTelemetryProcessor node. The figures shown are the default values:
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>


Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/app/sampling



You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 and an Azure Standard Load Balancer named LB1. LB1 distributes incoming requests across VMSS1 instances.

You use Azure DevOps to build a web app named App1 and deploy App1 to VMSS1. App1 is accessible via HTTPS only and configured to require mutual authentication by using a client certificate.
You need to recommend a solution for implementing a health check of App1. The solution must meet the following requirements:
-Identify whether individual instances of VMSS1 are eligible for an upgrade operation.
-Minimize administrative effort.

What should you include in the recommendation?

  1. an Azure Load Balancer health probe
  2. Azure Monitor autoscale
  3. the Custom Script Extension
  4. the Application Health extension

Answer(s): D

Explanation:

Monitoring your application health is an important signal for managing and upgrading your deployment. Azure virtual machine scale sets provide support for rolling upgrades including automatic OS-image upgrades, which rely on health monitoring of the individual instances to upgrade your deployment.
You can also use health extension to monitor the application health of each instance in your scale set and perform instance repairs using automatic instance repairs.


Reference:

https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-health-extension



HOTSPOT (Drag and Drop is not supported)
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.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

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






Post your Comments and Discuss Microsoft AZ-400 exam dumps with other Community members:

Join the AZ-400 Discussion