Using Azure Repos and Azure Pipelines, require that all comments on pull requests be resolved before the pull request is included in a build. To minimize administrative effort, what should you include in the solution?
Choose an answer
Tap an option to check your answer.
Correct answer: a branch policy.
Why this is the answer
A branch policy is the correct choice because it allows you to enforce requirements directly on branches, including the resolution of all comments on pull requests before merging. This ensures code quality and adherence to review processes without manual intervention. A custom action would require writing and maintaining custom code, increasing administrative effort. Post-deployment and pre-deployment gates are used in release pipelines to control deployments based on conditions or approvals, not for enforcing pull request comment resolution in Azure Repos.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed