Microsoft Certified:DevOps Engineer Expert
Domain 2Objective 1
Design and Implement Branching Strategies for the Source Code AZ-400 Practice Questions (Page 4)
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 16–20
- 16
Which statement best describes trunk-based development?
Select an answer first - 17
Which branch policy can be configured to require that code changes compile and pass tests before merging?
Select an answer first - 18
A team wants to enforce that all pull requests to the main branch have a successful build and at least one approval. They also want to prevent the 'squash merge' option from being used, because they want to preserve the commit history. However, some developers prefer squash merges for cleaner history. What is the best way to enforce this?
Select an answer first - 19
A team has a release branch for version 1.0 and a main branch for version 2.0 development. They want to ensure that bug fixes made to the release branch are also applied to the main branch, but they do not want to merge the entire release branch into main because it contains version-specific changes. What is the best approach?
Select an answer first - 20
A large organization wants to adopt trunk-based development but has a compliance requirement that every change to the main branch must be reviewed by a security specialist. They also want to maintain a high velocity of integration. They are concerned that requiring a security review on every pull request will slow down the process. What is the best approach to balance compliance and velocity?
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.