nerdexam
Microsoft

AZ-400 · Question #182

You use a Git repository in Azure Repos to manage the source code of a web application. Developers commit changes directly to the master branch. You need to implement a change management procedure tha

The correct answer is A. branch policies of the master branch. Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards. https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies

Submitted by obi.ng· Mar 6, 2026Design and implement source control

Question

You use a Git repository in Azure Repos to manage the source code of a web application. Developers commit changes directly to the master branch. You need to implement a change management procedure that meets the following requirements: - The master 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 master branch by using pull requests. What should you configure in Azure Repos?

Options

  • Abranch policies of the master branch
  • BServices in Project Settings
  • CDeployment pools in Project Settings
  • Dbranch security of the master branch

How the community answered

(21 responses)
  • A
    86% (18)
  • B
    10% (2)
  • D
    5% (1)

Explanation

Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards. https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice