AZ-400 Microsoft · DevOps Engineer

AZ-400 practice test

Designing and Implementing Microsoft DevOps Solutions. Practice exam aligned to the AZ-400 skills measured (July 2026): work tracking, DevOps metrics, collaboration, branching and repositories, packages, testing, YAML pipelines, deployments, infrastructure as code, pipeline maintenance, authentication, secrets, security scanning and monitoring.

  • 6 practice tests + challenge test
  • 350 questions
  • 40 questions, 100 min per test
  • Pass at 70%

Take the free AZ-400 diagnostic10 questions, no card needed

Free AZ-400 sample questions

3 questions from the free diagnostic, with answers and explanations.

Question 1 · Design and implement appropriate metrics and queries for DevOps

Engineering leaders want a dashboard showing how long work takes from starting to done, and how much work finishes each sprint. Which two metrics fit?

  1. Cycle time and throughput
  2. Code coverage and lines of code per developer
  3. Number of pull request comments and branches
  4. Agent CPU
Show answer

Answer: A (Cycle time and throughput)

Cycle time measures how long items take once work starts; throughput counts completed items per period.

Question 2 · Design and implement branching strategies for the source code

Contoso wants many small merges to the main branch each day, with short-lived branches and features hidden behind flags until ready. Which branching strategy fits?

  1. Trunk-based development
  2. GitFlow with long-lived develop and release branches
  3. One long-lived branch per team, merged each quarter
  4. A fork per developer with merges at release time
Show answer

Answer: A (Trunk-based development)

Trunk-based development keeps branches short and integrates often, using feature flags for unfinished work.

Question 3 · Configure and manage repositories

A repository must store large design files without bloating clone times for every developer. What should you use?

  1. Git Large File Storage (LFS)
  2. A separate branch for large files
  3. Submodules
  4. A .gitignore entry for the design files
Show answer

Answer: A (Git Large File Storage (LFS))

Git LFS stores large files outside the main repository history and downloads them on demand.

Try the full diagnostic free

What the AZ-400 practice covers

Share of practice questions per skill area.

  • Design and implement pipelines12%
  • Design and implement deployments10%
  • Design and implement a package management strategy8%
  • Design and implement a testing strategy for pipelines8%
  • Design and implement infrastructure as code (IaC)8%
  • Design and implement branching strategies for the source code6%
  • Configure and manage repositories6%
  • Maintain pipelines6%
  • Design and implement authentication and authorization methods6%
  • Configure monitoring for a DevOps environment6%
  • Design and implement appropriate metrics and queries for DevOps4%
  • Design and implement a strategy for managing sensitive information in automation4%
  • Design and implement traceability and flow of work4%
  • Configure collaboration and communication4%
  • Automate security and compliance scanning4%
  • Analyze metrics from instrumentation4%

Question formats

  • Single choice
  • Multiple select
  • Hotspot (drop-down and yes/no)
  • Case studies
  • Exhibits (screenshots, diagrams and code)

Career path: DevOps Engineer

Plan and run delivery end to end: work tracking, source control, pipelines, deployments, infrastructure as code, security scanning and monitoring.

  1. AZ-900
  2. AZ-104
  3. AZ-400

Guides

AZ-400 practice test FAQ

Is there a free AZ-400 practice test?

Yes. Create a free account and take the AZ-400 free diagnostic: 10 questions across every skill area of the exam, with a study plan for the topics to work on. You can retake it as often as you like.

How many questions are in each ExamKite AZ-400 practice test?

Each full practice test has 40 questions with a 100-minute timer, and you pass at 70%. There are 6 practice tests plus a harder challenge test, with 350 questions in total.

Which question formats does the AZ-400 practice include?

Single choice, multiple select, hotspot (drop-down and yes/no), case studies and exhibits (screenshots, diagrams and code), the same formats you meet on the real exam.

Are these real AZ-400 exam questions?

No. They are original questions written for ExamKite and mapped to the Microsoft skills outline, never copied from the real exam. Using leaked exam questions breaks the certification provider's exam rules and can get your certification revoked.

More answers in the full FAQ.

Ready to practice for AZ-400?

Start with the free diagnostic and get a study plan for the topics you miss.

Create a free account