Microsoft DevOps Engineer Expert AZ-400 Practice Question

A team uses an Azure Repos Git repository that contains source code in the src/ folder and Markdown documentation in the docs/ folder. Management wants the following pull-request workflow on the main branch:

  • Every pull request must be approved by at least one user in the DevLeads Azure DevOps group.
  • The continuous-integration pipeline named CI must run automatically and must block completion, but only when files inside the src/ folder are modified. You are configuring branch policies for the main branch. Which branch-policy combination satisfies both requirements?
  • Enable a minimum-number-of-reviewers policy set to one and add a status-check policy that references the CI pipeline without any path filters.

  • Add a CODEOWNERS file that lists the DevLeads group for the src/ path and enable automatic reviewer inclusion; configure the CI pipeline to trigger on all paths.

  • Add a required-reviewers policy that targets the DevLeads group and a build-validation policy for the CI pipeline scoped to the src/ path.

  • Configure a linked work-item branch policy and associate the CI pipeline as an optional build validation that allows pull-request completion on failure.

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