nerdexam
Microsoft

AZ-400 · Question #141

A team is currently using a project in Azure Devops. The team needs to have a policy in place that ensures the following: - A user should be able to merge to a master branch even if the code fails to

The correct answer is D. Ensure to modify the access control for the user from the security setting of the branch. https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-permissions?view=azure-devops

Submitted by asante_acc· Mar 6, 2026Design and implement source control

Question

A team is currently using a project in Azure Devops. The team needs to have a policy in place that ensures the following: - A user should be able to merge to a master branch even if the code fails to compile. The solution must use the principle of least privilege. Which of the following would you implement?

Options

  • AEnsure that the user is added to the Build Administrators group
  • BEnsure that the user is added to the Project Administrators group
  • CEnsure to modify the access control for the user from the security setting of the repository
  • DEnsure to modify the access control for the user from the security setting of the branch

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    11% (3)
  • D
    82% (23)

Explanation

https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-permissions?view=azure-devops

Topics

#branch policies#access control#least privilege#Azure Repos

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice