AZ-400 · Question #532
AZ-400 Question #532: Real Exam Question with Answer & 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 th
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:
Options
- taskImplement an approval process for the default main branch in the User1-12345678 Azure DevOps project, adhering to the four-eyes principle and requiring at least one approval on every iteration.
- prerequisitesAccess to the User1-12345678 Azure DevOps project.
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.