AZ-400 · Question #470
AZ-400 Question #470: Real Exam Question with Answer & Explanation
Branch policies in Azure Repos are the correct policy type for all three requirements because they are applied at the branch level and control how pull requests are completed. Branch policies include specific sub-settings such as 'Check for linked work items' (to enforce work ite
Question
Drag and Drop Question You create a Git repository named Repo1 in Azure Repos. You need to configure Repo1 to meet the following requirements: - Work items must be linked to a pull request. - Pull requests must have a minimum of two reviewers. - Pull requests must complete a code review by using a third-party tool. The solution must minimize administrative effort. Which type of policy should you use for each requirement? To answer, drag the appropriate policy types to the correct requirements. Each type policy may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:
Explanation
Branch policies in Azure Repos are the correct policy type for all three requirements because they are applied at the branch level and control how pull requests are completed. Branch policies include specific sub-settings such as 'Check for linked work items' (to enforce work item linking), 'Require a minimum number of reviewers' (to enforce two reviewers), and 'Require approval from external services/Status checks' - wait, let me clarify: all three requirements (linked work items, minimum reviewers, and third-party code review via status checks) are all configured as Branch policies in Azure Repos, minimizing administrative effort by centralizing governance in one policy type. Build policies handle CI build validation, while Status policies (as a standalone type) are a sub-category within branch policies used for external service checks, but in Azure DevOps the top-level policy type applied to a branch is always a 'Branch' policy.
Topics
Community Discussion
No community discussion yet for this question.