Microsoft · AZ-400 DevOps Engineer Expert exam · Updated November 2026
AZ-400: Designing and Implementing Microsoft DevOps Solutions is the only exam for the Microsoft Certified: DevOps Engineer Expert certification, which also requires an Azure Administrator Associate or Azure Developer Associate certification. You need a scaled score of 700 on a scale of 1 to 1,000 to pass, and the exam costs $165 USD in the United States. Build and release pipelines make up 50–55% of the skills measured, which Microsoft last updated on 27 July 2026. This guide covers the format, the five skill areas, the prerequisite and a 6-week study plan, then gives you 10 free AZ-400 practice questions with answers.
At a glance
| Exam | AZ-400: Designing and Implementing Microsoft DevOps Solutions |
| Certification | DevOps Engineer Expert |
| Time | Shown when you book (100 or 120 minutes) |
| Questions | Not published |
| Passing score | 700 (scale 1–1,000) |
| Fee | $165 USD (United States) |
- Prerequisite for the certification: Azure Administrator Associate (AZ-104) or Azure Developer Associate (AZ-204). The Azure Developer Associate retired on 31 July 2026.
- Valid for one year, then renewed each year with a free online assessment on Microsoft Learn. Taken online or at a Pearson VUE test centre.
Source: Microsoft Learn AZ-400 exam page, AZ-400 study guide and DevOps Engineer Expert certification page. Checked on 9 November 2026.
Want to test yourself first? Jump to the 10 free AZ-400 practice questions with answers, then come back for the exam details.
AZ-400 exam format, questions and passing score
The AZ-400 exam needs a scaled score of 700 or more to pass, and Microsoft does not publish the exact number of questions or a fixed time for this exam. Microsoft says most of its certification exams have 40 to 60 questions. Expert exams last 100 minutes, or 120 minutes if they may contain labs.
Microsoft does not say which exams contain labs. Its exam duration and exam experience page says you are given the exam time when you register. It also does not list question types in advance, but its free exam sandbox shows the types you may meet, from multiple choice and drag and drop to case studies and labs.
| Item | AZ-400 detail |
|---|---|
| Number of questions | Not published (most Microsoft exams have 40–60) |
| Exam time | Not published for AZ-400; 100 minutes for expert exams without labs, 120 minutes if labs may appear |
| Passing score | 700 on a scale of 1 to 1,000 |
| Fee | $165 USD in the United States; price depends on country, taxes extra |
| Languages | English, Japanese, Chinese (Simplified), Korean, German, French, Spanish, Portuguese (Brazil), Chinese (Traditional), Italian |
| Delivery | Pearson VUE, online proctored or at a test centre |
| Retakes | 24 hours after a first fail, then 14 days between attempts; at most five attempts in 12 months |
| Retirement date | None announced |
Watch out
700 is not 70%. Microsoft’s exam scoring page says that because it is a scaled score, “it may not equal 70% of the points”. So do not treat 700 as a fixed number of correct answers.
There is no penalty for guessing, so never leave a question blank. Some questions may be unscored, and you will not know which, so treat every question as if it counts. If the exam is not in your preferred language, you can request an extra 30 minutes.
You can open Microsoft Learn during the AZ-400 exam, but Microsoft adds no extra time for it. Use it for one or two details, such as a YAML keyword, not for every question.
AZ-400 skills measured and domain weights (July 2026)
The AZ-400 exam has five skill areas, and Microsoft’s study guide makes Design and implement build and release pipelines by far the largest, at 50–55% of the exam. The current skills measured took effect on 27 July 2026 for the English exam; localised versions are updated about eight weeks later.
- 1. Design and implement processes and communications (10–15%): GitHub Flow, GitHub projects and Azure Boards; metrics such as cycle time and lead time; wikis, Mermaid, release notes, webhooks and Teams integration.
- 2. Design and implement a source control strategy (10–15%): Branching strategies; pull requests with branch policies and protection rules; Git LFS, Scalar, permissions and tags; recovering and removing data with Git.
- 3. Design and implement build and release pipelines (50–55%): GitHub Packages and Azure Artifacts; testing and code coverage; GitHub Actions and Azure Pipelines in YAML; deployment strategies; Bicep and ARM; pipeline maintenance.
- 4. Develop a security and compliance plan (10–15%): Service principals, managed identities, GITHUB_TOKEN and personal access tokens; Azure Key Vault and OpenID Connect; GitHub Advanced Security, Defender for Cloud, CodeQL and Dependabot.
- 5. Implement an instrumentation strategy (5–10%): Azure Monitor and Application Insights; alerts for GitHub Actions and Azure Pipelines; distributed tracing and basic Kusto Query Language (KQL).
Microsoft’s change log marks every change in the July 2026 update as “Minor”. Most questions cover generally available features, but commonly used preview features can appear.
Pipelines: at least half of the exam
Domain 3 covers package management, testing, pipeline design, deployments, infrastructure as code and pipeline maintenance. Expect to read YAML, choose between GitHub Actions and Azure Pipelines, and pick a deployment strategy such as blue-green, canary or ring for a scenario.
The study guide names YAML templates, variable groups, checks and approvals on YAML-based environments, deployment slot swaps and Azure Deployment Environments. If you have only used classic release pipelines, practise the YAML versions: migrating from classic to YAML is itself a listed skill.
Process, source control, security and monitoring
The other four domains share the remaining 45–50%. Security is worth as much as source control, so learn OpenID Connect, secret scanning and dependency scanning on both platforms. Monitoring is the smallest domain, but you still need basic KQL for Application Insights data.
Exametics practice tests
AZ-400 DevOps Engineer Expert practice tests
- 6 practice tests of 60 questions (360 in total), each with the exam’s section mix
- Follows the skills measured as of 27 July 2026, across Azure DevOps and GitHub, including pipeline YAML
- Every question has an explanation, a hint and its exam section; Test 6 runs in 100-minute timed Exam Mode
- Lifetime access
30-day refund. Instant access after payment.
Who should take AZ-400: prerequisite and experience
AZ-400 is for developers or infrastructure administrators who also build the processes, pipelines and tooling that deliver software continuously. According to Microsoft’s certification page, to earn the DevOps Engineer Expert certification you must pass AZ-400 and hold either the Azure Administrator Associate or the Azure Developer Associate certification.
The exam page says you “must have experience both administering and developing in Azure, with strong skills in at least one of these areas”, and experience implementing both GitHub and Azure DevOps solutions.
The AZ-204 route has retired
The DevOps Engineer Expert page still lists both associate certifications as prerequisites. However, the Azure Developer Associate (AZ-204) certification and its renewal assessment retired on 31 July 2026, according to Microsoft’s retirement announcement. Microsoft says retirement does not cancel certifications already earned, so a valid Azure Developer Associate still counts.
If you hold neither certification today, the route open to you is the Azure Administrator Associate (AZ-104). Microsoft names the Azure AI Cloud Developer Associate (AI-200) as the developer replacement, but the DevOps Engineer Expert page does not list it as a prerequisite, so check before you plan around it.
Your expert certification does not expire if your associate certification lapses: Microsoft’s renewal FAQ says each certification is renewed separately.
Is the AZ-400 exam hard?
AZ-400 is an expert-level exam, and Microsoft does not publish pass rates or difficulty ratings. The skills list is broad, covering two platforms and everything from Mermaid diagrams to KQL, and half of the skills measured are about pipelines, many of them worded as “design and implement” tasks rather than definitions. Try the 10 free AZ-400 practice questions below for a quick first check.
AZ-400 vs AZ-104 and AZ-305: which exam first?
Take AZ-104 (Azure Administrator Associate) first if you do not already hold an associate certification, because it is the prerequisite for both AZ-400 and AZ-305. After that, choose AZ-400 if your work is pipelines and delivery, and AZ-305 if your work is designing Azure infrastructure.
| Item | AZ-400 (DevOps Engineer Expert) | AZ-305 (Azure Solutions Architect Expert) |
|---|---|---|
| Level | Expert | Expert |
| Prerequisite | Azure Administrator Associate or Azure Developer Associate | Azure Administrator Associate |
| Passing score | 700 (scale 1–1,000) | 700 (scale 1–1,000) |
| Fee (United States) | $165 USD | $165 USD |
| Current skills measured | 27 July 2026 | 17 April 2026 |
| Largest area | Build and release pipelines (50–55%) | Design infrastructure solutions (30–35%) |
AZ-104 is an intermediate exam. Microsoft’s Azure Administrator Associate page gives it 100 minutes and the same $165 USD US fee, and it covers identities and governance, storage, compute, virtual networking and monitoring. Our guide to AZ-104 Azure Administrator practice tests covers that exam. In short, AZ-305 asks how to design an Azure solution, while AZ-400 asks how to build, test, secure and ship one.
Next on your Microsoft path
- AZ-104 Azure Administrator practice tests: the associate prerequisite, if you do not hold one yet.
- AZ-305 Azure Solutions Architect Expert practice tests: the other Azure expert exam, built on the same AZ-104 prerequisite.
- GitHub Actions certification practice tests: goes deeper into the workflows, runners and YAML that AZ-400 tests in Domain 3.
A 6-week AZ-400 study plan
Plan on about six weeks if you already work with Azure and either GitHub or Azure DevOps. Spend at least half of that time on pipelines, because that domain is worth at least as much as the other four together, and do every topic hands-on in a free account where you can.
- Week 1: Skills list, processes and source control Read the July 2026 study guide and mark anything you have not done yourself. Cover Domains 1 and 2: Azure Boards, GitHub projects, cycle and lead time, branch strategies, branch policies and Git LFS.
- Week 2: Pipelines in YAML Build one small app in both GitHub Actions and Azure Pipelines. Practise triggers, path filters, multi-stage pipelines, YAML templates, variable groups and environments with approvals.
- Week 3: Packages, tests and deployments Use Azure Artifacts feed views and upstream sources, add tests and code coverage, and compare blue-green, canary and ring deployments, slot swaps and feature flags.
- Week 4: Infrastructure as code and security Deploy Bicep from a pipeline. Set up OpenID Connect from GitHub Actions to Azure, use Azure Key Vault, and turn on secret scanning, CodeQL and Dependabot alerts.
- Week 5: Monitoring and a first practice test Connect Application Insights and write basic KQL. Then take your first AZ-400 practice test and read every explanation, including for questions you got right.
- Week 6: Close the gaps Revisit your weakest exam sections hands-on. Take Microsoft’s free practice assessment, try the exam sandbox, and finish with a timed run in Exam Mode before you book.
Tip
For every Domain 3 topic, ask “how would I do this in GitHub Actions, and how in Azure Pipelines?” The study guide names both tools again and again, and many questions turn on knowing which feature belongs to which platform.
For deeper practice on the GitHub side, see our guides to GitHub Actions practice tests and the GitHub Advanced Security exam. If you work across clouds, compare AZ-400 with the AWS DevOps Engineer Professional (DOP-C02) and the Google Cloud Professional DevOps Engineer exams.
Planning more than one exam?
If AZ-104, AZ-305 or a GitHub certification is also on your list, the All-Access Pass covers every practice test on Exametics, including all 21 Microsoft practice-test sets and new exams as they are added, with lifetime access. It costs less than buying about six single practice tests.
Free AZ-400 practice questions (10 with answers)
Try these 10 free practice questions to check your readiness for the AZ-400 exam; the full Exametics AZ-400 practice tests have 360 more. They are not real exam questions: Exametics wrote these sample questions to match the July 2026 skills measured, and five of the ten cover pipelines, as the exam does. Tap “Show answer” to see why the right option is right and why the others are wrong.
Practice question 1 · Design and implement processes and communications
A team lead wants an Azure Boards dashboard widget that shows how long work items take from the moment a developer starts work on them until they are completed. Which metric should the widget show?
- A. Lead time
- B. Mean time to recovery
- C. Cycle time
- D. Velocity
Show answer
Answer: C. Cycle time measures the time from when work starts (the item enters an In Progress state) to when it is completed. Lead time (A) is longer: it runs from when the work item is created. Mean time to recovery (B) measures how fast service is restored after a failure, and velocity (D) is the work a team completes per sprint.
Practice question 2 · Design and implement a source control strategy
A developer committed a configuration file containing a database password and pushed it to a shared Git repository three commits ago. The password has already been rotated. What must you do so that the file no longer exists anywhere in the repository history?
- A. Rewrite the history with a tool such as git filter-repo to remove the file, then force-push the rewritten branches
- B. Run
git reverton the commit that added the file - C. Delete the file in a new commit and push it
- D. Add the file name to
.gitignore
Show answer
Answer: A. Only rewriting history removes the file from every earlier commit; after that you force-push and ask collaborators to re-clone or reset. git revert (B) and deleting the file in a new commit (C) both add new commits, so the old commit with the password stays in history. .gitignore (D) only affects untracked files, not files already committed. Rotating the secret first, as here, is still essential, because existing clones keep a copy.
Practice question 3 · Design and implement build and release pipelines
An Azure Pipelines YAML pipeline builds code from a GitHub repository. Its triggers are:trigger: branches: include: [ main ] paths: exclude: [ docs ]pr: none
Which event starts a pipeline run?
- A. A push to the feature/login branch that changes src/app.cs
- B. A pull request into main that changes src/app.cs
- C. A push to main that changes only docs/readme.md
- D. A push to main that changes both src/app.cs and docs/readme.md
Show answer
Answer: D. The CI trigger fires for pushes to main, and with a path exclude a run still starts if at least one changed file is outside the excluded path; src/app.cs is. A push to another branch (A) does not match the branch filter. pr: none turns off pull request triggers for a GitHub repository, so B does not start a run. A push that changes only files under docs (C) is fully excluded by the path filter.
Practice question 4 · Design and implement build and release pipelines
A company wants to release a new version of its web app by first sending about 5% of production traffic to it, watching error rates, and then gradually moving more traffic to the new version if it behaves well. Which deployment strategy is this?
- A. Blue-green deployment
- B. Canary release
- C. Hotfix path
- D. A/B testing
Show answer
Answer: B. A canary release exposes a new version to a small share of real traffic first and widens it step by step while you monitor for problems. Blue-green (A) keeps two full environments and switches all traffic from one to the other at once. A hotfix path (C) is a fast track for urgent fixes, and A/B testing (D) compares two variants to measure user behaviour, not release risk.
Practice question 5 · Design and implement build and release pipelines
An app runs on Azure App Service in a Standard plan. Each release currently causes a short outage, and rolling back takes too long. What should the release pipeline do to avoid downtime and allow a quick rollback?
- A. Deploy to a staging deployment slot, warm it up, then swap it with the production slot
- B. Stop the production app, deploy the new version, then start the app again
- C. Scale the App Service plan up to a larger tier during each deployment
- D. Deploy directly to the production slot more often in smaller changes
Show answer
Answer: A. A staging slot lets the new version warm up before it receives traffic, the swap switches traffic without downtime, and swapping back is a quick rollback. Stopping the app (B) causes the outage you want to avoid. Scaling up (C) adds capacity but does not change how the new code is switched in. Smaller direct deployments (D) still switch new code in on the live site with no warm-up and give no instant rollback.
Practice question 6 · Design and implement build and release pipelines
A team publishes NuGet packages to an Azure Artifacts feed. Other teams should only be able to consume package versions that have passed quality checks, while the team keeps publishing new builds to the same feed. What should you use?
- A. A separate Azure DevOps organisation for released packages
- B. A pipeline step that deletes every prerelease version after each build
- C. Feed views: promote validated versions to the @Release view and have consumers use that view
- D. An upstream source that points to nuget.org
Show answer
Answer: C. Azure Artifacts feed views let you share a subset of package versions; promoting tested versions to @Release and pointing consumers at that view gives them only approved versions from the same feed. A separate organisation (A) adds overhead for no benefit, and deleting prerelease versions (B) does not mark which versions passed checks. An upstream source (D) pulls packages from a public registry; it does not control which of your own versions others see.
Practice question 7 · Design and implement build and release pipelines
Twelve YAML pipelines in different Azure Repos repositories run the same build and security-scan steps. You want to maintain these steps in one place so that a change applies to every pipeline. What should you do?
- A. Copy the steps into each pipeline and update them with a script
- B. Create a task group and add it to each YAML pipeline
- C. Store the steps in a variable group linked to each pipeline
- D. Put the steps in a YAML template in a shared repository and reference it through a repository resource
Show answer
Answer: D. A YAML template in a shared repository, declared under resources: repositories and used with template: build.yml@templates, lets every pipeline reuse the same steps from one source. Copying steps (A) is the duplication you want to avoid. Task groups (B) are a classic pipeline feature and cannot be used in YAML pipelines. Variable groups (C) share variables and secrets, not steps.
Practice question 8 · Develop a security and compliance plan
A GitHub Actions workflow deploys to Azure. The security team does not want any long-lived Azure credentials stored as GitHub secrets. What should you configure?
- A. A service principal client secret stored in a GitHub environment secret
- B. A federated credential on a Microsoft Entra app registration or user-assigned managed identity, with OpenID Connect and the
id-token: writepermission in the workflow - C. A personal access token from an Azure administrator’s account
- D. The built-in
GITHUB_TOKENpassed to the Azure login action
Show answer
Answer: B. Workload identity federation lets the workflow request a short-lived OpenID Connect token from GitHub and exchange it for an Azure access token, so no Azure secret is stored. The workflow needs id-token: write to request that token. A client secret (A) and a personal access token (C) are both long-lived credentials. GITHUB_TOKEN (D) authenticates to GitHub, not to Azure.
Practice question 9 · Develop a security and compliance plan
Several Azure virtual machines used as self-hosted build agents must read secrets from the same Azure Key Vault. VMs are often deleted and recreated, and you want to grant Key Vault access once without managing any credentials. Which identity should you use?
- A. A user-assigned managed identity attached to each VM
- B. A system-assigned managed identity on each VM
- C. A Microsoft Entra service principal with a client secret stored on each VM
- D. An Azure DevOps personal access token stored on each VM
Show answer
Answer: A. A user-assigned managed identity is a separate Azure resource: you grant it Key Vault access once, attach it to many VMs, and it survives when VMs are deleted and recreated, with no credentials to manage. A system-assigned identity (B) is tied to one VM and is deleted with it, so access would have to be granted again for every new VM. A service principal secret (C) must be stored and rotated, and a personal access token (D) is for Azure DevOps, not Key Vault.
Practice question 10 · Implement an instrumentation strategy
You want an Application Insights chart showing the number of failed requests in each 5-minute period. Which KQL query should you use?
- A.
requests | where success == true | summarize count() by bin(timestamp, 5m) - B.
requests | where success == false | summarize count() by bin(timestamp, 5m) - C.
requests | where success == false | summarize count() by resultCode - D.
SELECT COUNT(*) FROM requests WHERE success = 0 GROUP BY 5m
Show answer
Answer: B. The query filters the requests table to failed requests and uses bin(timestamp, 5m) to group them into 5-minute periods. A counts successful requests, C groups by result code with no time series, and D is SQL syntax, which KQL does not accept.
How did you score?
8–10 correct: you are in good shape, so try a full timed practice test next. Under 8: note the domain of each miss and revise the weakest one first, starting with pipelines if you missed any of questions 3 to 7. The AZ-400 practice tests have 360 more questions like these, each with an explanation, a hint and its exam section.
AZ-400 dumps vs practice tests
AZ-400 dumps are question sets that claim to be copied from the live exam, and using them breaks the rules you accept before the exam. Practice tests that explain each answer are the safer and more useful way to prepare.
Microsoft’s exam security policies say that using brain dump material counts as cheating. A candidate who breaks the rules may be permanently barred from future Microsoft credentials and may have certifications and scores revoked. The candidate agreement also forbids sharing or publishing any exam questions or answers.
Dump answers are also often wrong. The AZ-400 skills measured changed on 27 July 2026, so older dumps may not even match the current exam.
Original practice questions with explanations, like the 10 free ones above, build the reasoning the exam tests, so you can handle a scenario you have never seen.
AZ-400 DevOps Engineer Expert exam FAQs
How many questions are on the AZ-400 exam?
Microsoft does not publish the number of questions for the AZ-400 exam. Its exam duration page says most Microsoft certification exams have between 40 and 60 questions, but the number can vary by exam.
What is the passing score for the AZ-400 exam?
The AZ-400 passing score is 700 on a scale of 1 to 1,000, according to the Microsoft Learn exam page. Microsoft says this is a scaled score that may not equal 70% of the points.
Are there free AZ-400 practice questions?
Yes. This guide includes 10 free AZ-400 practice questions with answers, written by Exametics to match the July 2026 skills measured. Microsoft also offers a free practice assessment, and the Exametics AZ-400 practice tests have six 60-question tests (360 questions) with every answer explained.
Is the AZ-400 DevOps Engineer Expert exam hard, and how long should I prepare?
The AZ-400 DevOps Engineer Expert exam is expert level, and Microsoft expects experience both administering and developing in Azure, with strong skills in at least one, plus experience with both GitHub and Azure DevOps. Microsoft does not publish a study time; about six weeks of regular, hands-on study is a sensible plan if you already work with Azure.
Should I take AZ-104 or AZ-400 first?
Take AZ-104 first if you do not hold an associate certification, because the DevOps Engineer Expert certification requires the Azure Administrator Associate or the Azure Developer Associate. The Azure Developer Associate (AZ-204) retired on 31 July 2026, so AZ-104 is the route open to new candidates.
Can I take the AZ-400 exam online?
Yes, in most cases. Microsoft’s registration page says you can usually choose to take your exam online with Pearson VUE or at a local test centre, and that if no online option appears, it is not available from your exam provider.
How long is the DevOps Engineer Expert certification valid?
Microsoft associate, expert and specialty certifications expire after one year. You can renew the DevOps Engineer Expert certification for free by passing an online renewal assessment on Microsoft Learn during the six months before it expires.
Official exam page: Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions. Checked on 9 November 2026.
Start practising for the AZ-400 exam
Six 60-question practice tests follow the exam’s section mix across Azure DevOps and GitHub, and every answer is explained so you learn the reasoning, not just the letter. Finish with a timed Exam Mode run before you book.
✓ Every answer explained · ✓ Timed exam mode · ✓ 30-day refund