Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your Azure DevOps project hosts a Git repository. The main branch is protected by branch policies that require a successful CI build and at least two reviewers before pull requests (PRs) can be completed. A small group of release managers must be able to occasionally finish urgent PRs into main without waiting for these checks. No other user must be able to bypass the policy. Which branch permission should you set to Allow for the release-manager group and explicitly Deny for all other groups?
The permission that overrides branch policies during the PR completion process is "Bypass policies when completing pull requests." Granting this permission to release managers lets them complete a PR without satisfying reviewer or build requirements. Setting the same permission to Deny (or leaving it Not set) for all other groups ensures that nobody else can circumvent the branch policies. "Bypass policies when pushing" applies only to direct pushes, not PR completions. "Force push (rewrite history)" allows history rewrites but does not affect policy checks. "Contribute to pull requests" lets users comment or vote but does not override policies.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the difference between 'Bypass policies when completing pull requests' and 'Bypass policies when pushing'?
Open an interactive chat with Bash
Why is 'Force push (rewrite history)' not suitable for bypassing branch policies?
Open an interactive chat with Bash
How do branch policies help secure the main branch in Azure DevOps?
Open an interactive chat with Bash
What is the difference between 'Bypass policies when completing pull requests' and 'Bypass policies when pushing'?
Open an interactive chat with Bash
Why is 'Force push (rewrite history)' not suitable for bypassing branch policies?
Open an interactive chat with Bash
How does Azure DevOps enforce branch policies during pull requests?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Design and implement a source control strategy
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .