Microsoft DevOps Engineer Expert AZ-400 Practice Question

You connected your Azure DevOps organization to Azure Monitor so that pipeline run metrics are emitted as Azure Monitor metrics. You must be alerted whenever a run of the pipeline named web-api-ci that is triggered from the main branch fails, and the alert must fire as soon as the first failure is recorded. Which alert rule configuration meets the requirement while minimizing noise?

  • Create a log alert that runs a KQL query against the AzureDevOpsAuditing table every 5 minutes and triggers if any record with Outcome == "failed" and PipelineName == "web-api-ci" is returned.

  • Create a metric alert on the Azure DevOps Pipeline resource for Runs Succeeded, dimension BranchName = "refs/heads/main", aggregation period 1 minute, static threshold LessThan 1.

  • Create a metric alert on the Azure DevOps Project resource for Runs Failed, no dimension filter, aggregation period 5 minutes, static threshold GreaterThan 1.

  • Create a metric alert on the Azure DevOps Pipeline resource for Runs Failed, set the dimension filter BranchName = "refs/heads/main", aggregation period 1 minute, static threshold GreaterThan 0.

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