AZ-400 · Question #470
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 req
The correct answer is Branch; Branch; Branch. 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
Exhibit
Answer Area
Drag items
Correct arrangement
- Branch
- Branch
- Branch
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.
