AZ-400 study guide: DevOps Engineer Expert exam domains, plan and common mistakes
Written and reviewed by the DevOpsCode Lab Team. Last updated 19 November 2026.
AZ-400 is the exam for the Microsoft Certified: DevOps Engineer Expert certification. It checks that you can design and run DevOps practices with Azure DevOps and GitHub: work tracking and team communication, source control strategy, build and release pipelines, security and compliance, and instrumentation. To earn the certification you also need either the Azure Administrator Associate (AZ-104) or the Azure Developer Associate (AZ-204).
What the exam tests
The exam is scenario based and leans heavily on pipelines. Questions describe a team, a repository and a goal (“block merges without a passing build”, “deploy to production only after approval”, “reuse the same steps across 20 pipelines”) and ask which feature, YAML setting or strategy meets it. Expect YAML snippets and both Azure Pipelines and GitHub Actions options.
Domains and how much each counts
| Domain | Weight | What to be able to do | Questions in our bank |
|---|---|---|---|
| Design and implement processes and communications | 13% | Work tracking with Azure Boards and GitHub Projects; traceability between work items, commits and pipelines; dashboards and flow metrics such as cycle time and lead time; wikis and team notifications | 31 |
| Design and implement a source control strategy | 13% | Branching strategies such as trunk-based and feature branches; pull request workflows and branch policies or protection rules; merge types; repository scaling with Git LFS and handling sensitive data in history | 32 |
| Design and implement build and release pipelines | 54% | YAML pipelines, stages, jobs and templates; agents and runners; package management with Azure Artifacts and GitHub Packages; testing strategy; deployment strategies (blue-green, canary, rings, feature flags); infrastructure as code with Bicep, ARM and Terraform; environments, approvals and checks | 129 |
| Develop a security and compliance plan | 13% | Service connections, managed identities and workload identity federation; secrets in Azure Key Vault and variable groups; dependency and code scanning with GitHub Advanced Security and Microsoft Defender for Cloud DevOps security; license compliance | 31 |
| Implement an instrumentation strategy | 7% | Azure Monitor, Application Insights and Log Analytics for applications and infrastructure; basic KQL queries; alerts that feed back into pipelines and work tracking | 17 |
Build and release pipelines is more than half of the exam. The four smaller domains together still decide close results.
Exam format
Our practice tests use 50 questions in 100 minutes with a 70% pass mark. Microsoft reports results on a 1–1000 scale with 700 to pass, and the live exam can include case studies and question types that do not let you go back. Check the official Microsoft exam page for the current format, price and objectives before you book.
Who should take it
- Engineers who build and maintain CI/CD in Azure DevOps or GitHub and want the expert certification.
- Azure administrators and developers (AZ-104 or AZ-204 holders) moving into platform or DevOps roles.
If you only know one of Azure Pipelines or GitHub Actions, spend a week building the same pipeline in the other.
A 4-week study plan
| Week | Focus | Practice |
|---|---|---|
| 1 | Processes and source control: Boards and GitHub Projects, flow metrics, branching strategies, branch policies, pull requests, merge types, Git LFS | Practice mode on both domains; take one full test at the end of the week as a baseline |
| 2 | Pipelines part one: YAML structure, triggers, templates, variables, agents and runners, artifacts and package feeds, test integration | Domain quiz for pipelines; rewrite each YAML answer you missed and run it |
| 3 | Pipelines part two plus security: deployment strategies, environments and approvals, IaC, service connections, Key Vault, scanning tools | Two domain quizzes; draw the release flow for each scenario before you answer |
| 4 | Instrumentation and full exams: Application Insights, Log Analytics, KQL, alerts | Two full timed tests, then the mistakes quiz; book the exam when you score 80%+ twice |
Topics people often get wrong
- Deployment strategies. Blue-green switches all traffic between two identical environments; canary sends a small share of users to the new version first; ring deployment widens exposure in stages; feature flags separate deployment from release inside the code.
- Templates versus task groups versus reusable workflows. In YAML Azure Pipelines you reuse steps with templates (task groups belong to classic pipelines); in GitHub Actions you reuse whole jobs with reusable workflows and steps with composite actions.
- Where approvals live. In Azure Pipelines, approvals and checks are set on environments and resources, not in the YAML file; in GitHub Actions, required reviewers are set on environments.
- Merge types. Squash merge gives one commit per pull request and a linear history; rebase keeps individual commits but rewrites them; a merge commit preserves the full branch history.
How to use the practice tests
Start with the free AZ-400 questions to see the style. Then take one full timed test in exam mode for a baseline and look at the score by domain. Spend most of your time in pipelines and in your weakest other domain with domain quizzes, and finish with the mistakes quiz before each new full test. The readiness number tells you when your recent scores hold above the pass mark across all domains.
Frequently asked questions
How hard is AZ-400? It is an expert exam with a wide scope. Pipeline engineers usually need 4–6 weeks.
Do I need to know both Azure DevOps and GitHub? Yes. The skills outline covers both, and many questions ask for the GitHub or Azure DevOps way of doing the same thing.
How long is the certification valid? Microsoft role-based certifications are valid for one year and can be renewed with a free online assessment on Microsoft Learn.
Are these the real exam questions? No. Every question is written by us for the published skills outline. We never use leaked or recalled exam content.
DevOpsCode Lab is not affiliated with or endorsed by Microsoft. Exam names are trademarks of their owners. Check the official Microsoft exam page for the current price, format and objectives before you book.