Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your team maintains a single monolithic Git repository in Azure Repos. Management wants to move from bi-monthly releases to several production deployments each week. The new process must minimize merge conflicts, keep branch histories short, and allow incomplete functionality to be disabled until it is production-ready. Which branching strategy best meets these requirements?
Adopt trunk-based development with short-lived feature branches protected by feature flags.
Implement GitFlow with separate long-lived develop, release, and hotfix branches.
Use Release Flow and maintain companion release branches indefinitely after each deployment.
Move to a forking workflow where each developer works in a personal fork and submits pull requests to the main repository.
Trunk-based development keeps all developers working in or very close to the main branch. Short-lived feature branches (often measured in hours or a few days) are merged back quickly through pull requests, which greatly reduces long-running divergence and merge conflicts. When a feature is not ready, it is typically hidden behind a feature flag, so deployments can continue on the same main line without blocking release frequency.
GitFlow relies on long-lived develop and release branches that introduce greater divergence and are not optimized for multiple weekly releases. Release Flow does support continuous delivery, but it uses short-lived release branches that are removed once a release is complete-maintaining them indefinitely would conflict with the stated goal of minimizing branch history. A forking workflow isolates every developer in a personal fork; while appropriate for large open-source projects, it adds extra overhead and does not inherently address the need for rapid, low-conflict integration. Therefore, adopting trunk-based development with short-lived feature branches and feature flags is the best fit.
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.
How do feature flags work in trunk-based development?
Open an interactive chat with Bash
Why is trunk-based development preferred over GitFlow for frequent releases?
Open an interactive chat with Bash
What are the disadvantages of adopting a forking workflow in this case?
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 .