AZ-400 – Question 185

You use a Git repository in Azure Repos to manage the source code of a web application. Developers commit changes directly to the default branch.

You need to implement a change management procedure that meets the following requirements:
✑ The default branch must be protected, and new changes must be built in the feature branches first.
✑ Changes must be reviewed and approved by at least one release manager before each merge.
✑ Changes must be brought into the default branch by using pull requests.

What should you configure in Azure Repos?

A. branch policies of the default branch
B. Services in Project Settings
C. Deployment pools in Project Settings
D. branch security of the default branch

Correct Answer: A 

Branch policies help teams protect their important branches of development. Policies enforce your team’s code quality and change management standards.