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
Question
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
Community Discussion
No community discussion yet for this question.
