Exam-Answer

Home / Microsoft / AZ-400 / Question 11

Prev Question
Next Question

Question 11

You have a branch policy in a project in Azure DevOps. The policy requires that code always builds successfully.

You need to ensure that a specific user can always merge changes to the master branch, even if the code fails to compile. The solution must use the principle of least privilege.

What should you do?

Answers


Advertisement

Explanation (click to expand)

In some cases, you need to bypass policy requirements so you can push changes to the branch directly or complete a pull request even if branch policies are not satisfieFor these situations, grant the desired permission from the previous list to a user or group. You can scope this permission to an entire project, a repo, or a single branch. Manage this permission along the with other Git permissions.

References (click to expand)

Prev Question
Next Question

Load more