Microsoft DevOps Engineer Expert AZ-400 Practice Question
You are designing the branch and release process for a new microservice repository in GitHub. The team wants to adopt GitHub Flow to ensure every change is traceable from code review to production and can be deployed multiple times per day through their Azure Pipelines CI/CD. Which practice is required to correctly implement GitHub Flow?
Use trunk-based development where developers push changes directly to main, using feature flags to hide incomplete work and bypassing pull requests for trivial changes.
For every change, create a short-lived feature branch from main, open a pull request for peer review, and merge the pull request only after it receives at least one approval and all automated CI checks pass.
Maintain a long-lived develop branch for integration and create release branches for deployments.
Require that all code changes are committed directly to the main branch to be deployed in a weekly batch.
GitHub Flow is a lightweight workflow designed for continuous delivery. Its core practice involves creating short-lived feature branches from the main branch, which must always be in a deployable state. All changes are integrated via pull requests, which require peer review (approvals) and successful automated checks (CI builds) before being merged. This process ensures traceability and quality. Committing directly to main, using long-lived branches like develop or release (as in GitFlow), or bypassing pull requests are all inconsistent with the GitHub Flow model.
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 GitHub Flow?
Open an interactive chat with Bash
How does GitHub Flow differ from GitFlow?
Open an interactive chat with Bash
Why are pull requests important in GitHub Flow?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Design and implement processes and communications
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 .