Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your organization has a single Azure Repos Git repository that contains several microservices. Eight Scrum teams work in parallel and must keep a high rate of continuous integration (CI). You want to:
Detect integration issues within one working day,
Keep feature work isolated until it is ready,
Produce hot-fixes for the current production version after a release without blocking new development. Which branching strategy best satisfies these requirements?
Fork-and-pull model where each team maintains its own fork and submits pull requests to a shared upstream repository.
Environment branches (dev, test, prod) with features committed directly to the environment branch that matches the current deployment stage.
Gitflow with a permanent develop branch, long-lived feature branches, and separate release branches merged back into develop and main after QA.
Trunk-based development with short-lived feature branches off main and time-boxed release branches created only when a version is shipped.
Trunk-based development keeps everyone merging into a single mainline at least daily, allowing CI pipelines to detect integration problems quickly. Short-lived feature branches let teams isolate work but are merged back to main as soon as the build is green, keeping divergence small. When a product increment ships, a release branch is cut from the mainline; hot-fixes are applied to that release branch and cherry-picked into main so new development can continue unhindered. Gitflow encourages long-lived develop and feature branches, delaying integration. Environment branches or permanent release branches cause parallel work streams that contradict the daily-merge CI goal. Fork-based workflows target open-source contributions rather than coordinated internal teams.
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 trunk-based development?
Open an interactive chat with Bash
How does trunk-based development enable efficient continuous integration?
Open an interactive chat with Bash
What is the role of release branches in trunk-based development?
Open an interactive chat with Bash
What is Trunk-based development?
Open an interactive chat with Bash
How does Trunk-based development support CI pipelines?
Open an interactive chat with Bash
What are the advantages of short-lived feature branches?
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 .