AZ-400

Microsoft DevOps AZ-400 practice exams

240 questions in 5 timed practice tests. Each test has about 50 questions and a 100-minute limit. The pass mark is 70%. Results are split across the 5 exam domains.

Read the AZ-400 study guide: what the exam covers, a 4-week plan and the topics people miss.

Exam at a glance

AZ-400 practice exam settings
Practice tests 5
Questions in total 240
Questions per test About 50
Time limit per test 100 minutes
Pass mark 70%
Question types Single answer and multiple answer (20 multiple-answer questions)
Level Expert
Category DevOps & Cloud Native

These are the settings of our practice tests. Check the official Microsoft exam page for the current exam format before you book.

Domains and weights

AZ-400 exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
Design and implement processes and communications 13% 31
Design and implement a source control strategy 13% 32
Design and implement build and release pipelines 54% 129
Develop a security and compliance plan 13% 31
Implement an instrumentation strategy 7% 17

Sample questions

Question 1 of 3

Your team hosts code in GitHub and plans work in Azure Boards. Developers want a commit or pull request to appear on the related work item automatically, and merging the pull request should move the work item to Done. What should you configure?

  1. A Create a service hook in Azure DevOps that posts work item updates to a GitHub webhook endpoint on every push to the repository
  2. B Add the repository as an Azure Repos import, then use the Development section of each work item to link the imported branches
  3. C Install the Azure Boards app for GitHub, connect the repo to the project, and mention items as Fixes AB#ID (correct answer)
  4. D Enable GitHub Issues sync in the Boards process template and mention the work item number with #ID in each commit message
Why: The Azure Boards app for GitHub connects a GitHub repository to an Azure Boards project; AB#ID mentions create links, and a keyword such as Fixes or Closes transitions the item when the pull request merges into the default branch. A service hook sends Azure DevOps events outward and does not parse GitHub commits. Importing into Azure Repos duplicates the code rather than integrating GitHub. There is no Issues sync setting in the process template, and #ID refers to GitHub issues, not Boards work items.

Question 2 of 3

A team practising trunk-based development wants every change to main to come through a pull request that has at least two approvals, a successful CI build, and resolved comments. Pushing directly to main must be blocked for everyone except administrators who explicitly bypass policies. What should you configure in Azure Repos?

  1. A A required template check on main that validates the azure-pipelines.yml file
  2. B Branch locks on main, combined with a Git hook that rejects unreviewed commits
  3. C Branch policies on main for minimum reviewers, build validation, and comment resolution (correct answer)
  4. D Repository permissions that deny Contribute on the main branch to the Contributors group
Why: Once any required branch policy is set on main, direct pushes are rejected and changes must flow through pull requests that satisfy minimum reviewers, build validation and comment resolution; only users with Bypass permissions can override. Denying Contribute stops people from completing pull requests too. Required template checks protect environments and resources, not branches. Branch locks make a branch read-only, and Azure Repos does not run server-side custom Git hooks.

Question 3 of 3

Your platform team manages a resource group with Bicep. Application teams sometimes delete resources manually in the portal, and you need Azure to block deletes of the managed resources while also removing resources that drop out of the template. Which approach meets both requirements?

  1. A Deploy in Complete mode and apply a CanNotDelete resource lock on the resource group
  2. B A deployment stack with action-on-unmanage deleteResources and deny settings mode denyDelete (correct answer)
  3. C Publish the Bicep file as a template spec and assign Azure Policy with a deny effect on deletes
  4. D Deploy in Incremental mode and assign application teams the Reader role on the resource group
Why: Deployment stacks track the resources they manage, can delete resources that leave the template, and apply deny settings that block deletes by anyone not excluded. Complete mode deletes unmanaged resources but a CanNotDelete lock would also stop Complete mode from removing them. Azure Policy deny cannot block delete operations in general, and template specs only store templates. Incremental mode never removes resources, and Reader would stop teams doing legitimate work.

What your score report looks like

Example attempt, AZ-400 practice test 3

76%

Passed
Pass mark 70%

Score by exam domain
DomainWeightYour score%
Design and implement processes and communications 13%
88
Design and implement a source control strategy 13%
81
Design and implement build and release pipelines 54%
76
Develop a security and compliance plan 13%
58
Implement an instrumentation strategy 7%
84

Study next: Develop a security and compliance plan. It is below the pass mark and carries 13% of the exam.

Domains and pass mark from our AZ-400 practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on Design and implement build and release pipelines and Design and implement processes and communications, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the AZ-400 practice exams

Are these real AZ-400 exam questions?
No. We write every question ourselves and map it to the published AZ-400 exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with Microsoft. AZ-400 and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
AB-731AI Transformation Leader AB-731 Microsoft Foundational 250 100 $9.99
AB-900Copilot & Agent Admin AB-900 Microsoft Foundational 225 45 $9.99
010-160LPI Linux Essentials 010-200 LPI Foundational 200 60 $9.99
GH-900GitHub Foundations GH-900 GitHub Foundational 300 100 $9.99
AT0-001CompTIA AutoOps+ AT0-001 CompTIA Associate 300 60 $12.99
CAPAArgo CAPA CNCF Associate 300 90 $12.99