Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your company's operations team uses an Azure Monitor action group that pages the on-call engineer whenever an alert is fired. You are asked to surface an alert each time any run of the multi-stage YAML pipelines in your Azure DevOps project ends in a failed state. You must meet the following requirements:

  • Do not modify any existing pipeline YAML files.
  • Configure and manage the alert entirely from the Azure portal.
  • Re-use the existing action group without additional code.

Which approach should you implement?

  • Create an Azure DevOps notification subscription for the "Build completed" event and set the delivery channels to email and Microsoft Teams for the operations group.

  • Enable diagnostic settings for the Azure DevOps organization to stream audit logs to a Log Analytics workspace, then create a Log Analytics query alert rule that filters BuildCompleted events where Result equals "failed" and assigns the existing action group.

  • Add a task to every pipeline that calls the Azure Monitor REST API to emit a custom metric on failure, and configure a metric alert on that custom metric.

  • Configure continuous export of pipeline run data to Azure Data Explorer and set up a scheduled Kusto query alert that detects failed runs and calls the action group.

Microsoft DevOps Engineer Expert AZ-400
Implement an instrumentation strategy
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot