AZ-400 · Question #33
You have a brand 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 change to the master branch, ev
The correct answer is B. From the Security settings of the branch, modify the access control for the user.. 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 satisfied. For these situations, grant the desired permission from the previous list to a user or group. You can scope t
Question
Options
- AFrom the Security setting of the repository, modify the access control tor the user.
- BFrom the Security settings of the branch, modify the access control for the user.
- CAdd the user to the Build Administrators group,
- DAdd the user to the Project Administrators group
How the community answered
(27 responses)- A4% (1)
- B81% (22)
- C11% (3)
- D4% (1)
Explanation
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 satisfied. For 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. https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies
Community Discussion
No community discussion yet for this question.