nerdexam
Microsoft

AZ-400 · Question #532

SIMULATION Initialize the default main branch, if it does not exist already. In the User1-12345678 Azure DevOps project, you need to implement an approval process for the default main branch. The proc

The correct answer implements the four-eyes principle by requiring a minimum of 2 reviewers in Azure DevOps Branch Policies, ensuring that no single person can approve their own changes without a second set of eyes. Setting 'Require a minimum number of reviewers' to 2 enforces th

Submitted by andres_qro· Mar 6, 2026Design and implement source control - specifically configuring branch protection policies and approval workflows to enforce code review governance and compliance in Azure DevOps Repos

Question

SIMULATION Initialize the default main branch, if it does not exist already. In the User1-12345678 Azure DevOps project, you need to implement an approval process for the default main branch. The process must use the four-eyes principle and have at least one approval on every iteration. Answer:

Exhibit

AZ-400 question #532 exhibit

Explanation

The correct answer implements the four-eyes principle by requiring a minimum of 2 reviewers in Azure DevOps Branch Policies, ensuring that no single person can approve their own changes without a second set of eyes. Setting 'Require a minimum number of reviewers' to 2 enforces that at least two distinct people must approve every pull request before merging into the main branch. Additionally, enabling 'Reset all approval votes when there are new changes' (or 'require at least one approval on every iteration') ensures that new commits to a PR reset approvals, satisfying the 'at least one approval on every iteration' requirement.

Topics

#Azure DevOps Branch Policies#Four-Eyes Principle#Pull Request Approvals#Source Control Governance

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice