Microsoft DevOps Engineer Expert AZ-400 Practice Question

You administer an Azure Repos Git repository for a project that uses a YAML pipeline named CI. Developers occasionally complete pull requests to the main branch before the CI build finishes, which later causes compilation errors. You must ensure that a pull request can be completed only after the most recent commit has successfully run through the CI pipeline, without adding any extra manual steps for reviewers or authors. Which branch policy setting should you enable on the main branch?

  • Automatically include reviewers with required votes enforced

  • Require a linked Azure Boards work item before completion

  • Build validation that automatically queues the CI pipeline and requires it to succeed before completion

  • Require at least two reviewers with self-approval disabled

Microsoft DevOps Engineer Expert AZ-400
Design and implement a source control 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