All Microsoft exams
Microsoft AZ-400: Designing and Implementing Microsoft DevOps Solutions
What the AZ-400 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Level
- Expert
- Topic areas
- 6
- Free practice questions
- 30
- Full question bank
- 100 questions
What the AZ-400 exam covers
The topic areas in our AZ-400 question bank, with each one's share of the 100 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Pipelines and CI/CD | 29% | 29 |
| Security and compliance | 19% | 19 |
| Source control strategy | 17% | 17 |
| Instrumentation and monitoring | 13% | 13 |
| Dependency and package management | 11% | 11 |
| Processes and communications | 11% | 11 |
AZ-400 cost and format
| Exam code | AZ-400 |
|---|---|
| Certification | DevOps Engineer Expert |
| Vendor | Microsoft |
| Level | Expert |
| Status | Active |
Last checked October 22, 2026 against the official Microsoft exam page.
AZ-400 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Pipelines and CI/CD
A YAML pipeline must run the same build steps for every branch but deploy only from the main branch. Which pipeline feature controls this?
- ARunning the deploy step on individual developers' laptops
- BConditions on the deployment stage or job checking the source branch
- CManual copy of build artifacts to the production servers
- DSeparate copies of the pipeline YAML for every branch
Show answer and explanationHide answer
Correct answer: BConditions based on the branch let the same pipeline build everywhere and deploy only from main. Copying pipelines, manual artifact copies, and laptop deployments are error-prone and inconsistent.
Question 2Security and compliance
A team wants to detect secrets accidentally committed to a repository. Which control provides this automatically?
- AStoring secrets in the README file for easy access
- BTurning off repository history tracking on main
- CA monthly manual review of the commit message log
- DSecret scanning or credential detection in the pipeline
Show answer and explanationHide answer
Correct answer: DSecret scanning detects credentials in code and history and can block or alert on them. Commit message review misses secrets in code, deleting history does not remove exposure, and README storage is insecure.
Question 3Source control strategy
A team of 80 developers works in one Azure Repos Git repository and wants a branching strategy that protects the main branch and requires review before merging. Which configuration is most appropriate?
- ADisable pull requests on main to speed up merges and skip the reviewer approval step
- BStore the code in a shared network folder without version control
- CBranch policies on the main branch requiring pull requests and reviewers
- DGrant every developer direct push rights to main so commits can skip pull request review
Show answer and explanationHide answer
Correct answer: CBranch policies enforce pull requests, required reviewers, and build validation before changes reach protected branches. Direct pushes, disabled reviews, and shared folders each remove that protection.
Question 4Instrumentation and monitoring
A team wants alerts when a production service's error rate rises, and dashboards for trends over time. Which Azure service provides these capabilities?
- AAzure Artifacts for hosting NuGet and npm packages
- BAzure Repos for Git code storage and commits
- CAzure Boards for work item tracking and sprints
- DAzure Monitor with Application Insights
Show answer and explanationHide answer
Correct answer: DAzure Monitor and Application Insights collect telemetry, provide dashboards, and drive alerts for failures and performance. Boards, Artifacts, and Repos manage work, packages, and code.
Question 5Dependency and package management
A team wants to store internal NuGet and npm packages and control which public packages can be used. Which Azure DevOps service fits best?
- AAzure Test Plans with manual tests
- BAzure Artifacts with upstream sources
- CAzure Monitor with Log Analytics
- DAzure Boards for tracking work items
Show answer and explanationHide answer
Correct answer: BAzure Artifacts hosts feeds for internal packages and can use upstream sources to control access to public packages. Boards tracks work, Test Plans manages testing, and Monitor observes running systems.
How to prepare for AZ-400
- Read the official Microsoft outline first (exam page), so you know exactly what is in scope.
- Give the most time to Pipelines and CI/CD and Security and compliance: together they make up 48% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full AZ-400 question bank
All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.
AZ-400 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| GH-200: GitHub Actions | Microsoft | Associate |
| GH-900: GitHub Foundations | Microsoft | Foundational |
| AZ-401: Designing and Implementing Microsoft Agentic DevOps Solutions (beta) | Microsoft | Expert |
| GH-100: GitHub Enterprise Administrator | Microsoft | Associate |
| AI-103: Developing AI Apps and Agents on Azure | Microsoft | Associate |
| AI-200: Developing AI Cloud Solutions on Azure | Microsoft | Associate |