Microsoft Certified:DevOps Engineer Expert
Domain 2Objective 1
Design and Implement Branching Strategies for the Source Code AZ-400 Practice Questions (Page 2)
Part of the Design and implement a source control strategy domain, which makes up ~10% of our current practice bank. Microsoft does not publish an official question count, but from its 140-minute exam (~55–95 total, ~6–10 in this domain), expect 3–5 from this objective — we provide 31 practice questions to prepare you well beyond it. (estimate)
31questions here
7free pages
7concepts
Questions 6–10
- 6
A development team wants to protect the main branch from unauthorized changes. They want to ensure that only users with the 'Maintain' permission can push directly to main, while all other developers must use pull requests. They also want to prevent force pushes and branch deletion. What should they configure?
Select an answer first - 7
A team uses a feature branch strategy. They want to ensure that feature branches are kept up to date with the main branch to reduce merge conflicts. They also want to prevent feature branches from being merged if they are behind the main branch by more than a certain number of commits. What should they do?
Select an answer first - 8
A software company maintains a production version that is actively used by customers. They want to continue adding new features to the main branch while also being able to apply critical bug fixes to the production version without including unfinished features. Which branching strategy should they adopt?
Select an answer first - 9
A team uses a release branch for an upcoming version. They want to ensure that only bug fixes are merged into the release branch, and that all changes are reviewed by the release manager. They also want to prevent accidental merges from feature branches that are not yet approved. What should they implement?
Select an answer first - 10
A 15-person development team is adopting trunk-based development. They want to keep the main branch always releasable and ensure every change is reviewed. They also want to avoid long-lived branches. Which workflow should they implement?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Microsoft. “AZ-400” is a trademark of its owner, used for identification only.