EnglishDeutschFrançaisEspañolPortuguês

Microsoft · AZ-400 · Expert

Designing and Implementing Microsoft DevOps Solutions (AZ-400) — Practice Questions and Mock Exam

The AZ-400 certification validates expertise in designing and implementing DevOps practices for Microsoft Azure.

50Questions per Pass-IT mock exam
100minPass-IT mock exam time limit

Official AZ-400 exam: 700 out of 1000 points to pass.

Checked against Microsoft · August 2026 · Current exam version

See what learning with Pass-IT is like.

Answer a AZ-400 sample question and read the explanation with its source. Right here, with no sign-up.

Design and implement build and release pipelines2 / 5

A team wants to roll out a new microservice version to an Azure Kubernetes Service cluster gradually: first to 10% of pods, then 20%, monitoring health after each traffic shift, and finally promoting to 100% only if health checks pass. Which deployment strategy in an Azure Pipelines deployment job should they use?

AlexFull explanation from Alex

Azure Pipelines deployment jobs support three strategies: runOnce, rolling, and canary. runOnce executes each lifecycle hook (preDeploy, deploy, routeTraffic, postRouteTraffic) exactly once. rolling replaces application instances on a fixed set of VMs in batches controlled by maxParallel and is currently supported only for VM resources. canary is the advanced strategy for incremental exposure: it runs preDeploy once, then iterates deploy, routeTraffic, and postRouteTraffic for each increment (for example 10%, then 20%), monitoring health in postRouteTraffic before promoting to 100%. The strategy.increment variable is available during those iterating hooks. Note blueGreen is not a built-in deployment-job strategy keyword. Exam tip: phased percentage rollout with health checks between increments equals canary; VM batch replacement equals rolling; single execution equals runOnce.

Sourcelearn.microsoft.com

Design and implement a source control strategy4 / 5

Does the following statement meet the goal? Goal: Ensure that a Git repository in Azure Repos preserves a linear commit history on the main branch. Statement: You configure the branch policy for the main branch to set 'Limit merge types' and allow only 'Squash merge' as the permitted merge strategy.

AlexFull explanation from Alex

A linear commit history on the main branch means no merge commits — each commit follows sequentially. The squash merge policy in Azure Repos achieves this by combining all commits from a pull request into a single commit on the target branch. When enabled as a branch policy on the main branch, all PRs must use squash merge, ensuring the main branch never contains merge commits or branching history. This creates a clean, linear history that is easy to read and bisect. Rebase merge also creates a linear history by replaying commits instead of creating merge commits. Basic merge creates merge commits and does not maintain linearity. Fast-forward merge maintains linearity but only works when the branch is directly ahead. Exam tip: Squash merge = single commit per PR (linear history); rebase = replay commits (linear); basic merge = merge commit (non-linear).

Sourcelearn.microsoft.com

Design and implement processes and communications5 / 5

A team board in Azure Boards has the columns New, Active, Code Review, Testing, and Closed. The team lead wants to see how many items sat in each column on each day of the last 30 days. Which chart should you add to the team dashboard?

AlexFull explanation from Alex

A Cumulative Flow Diagram stacks one band per board column and plots how many items were in each column on each day. A band that widens over time points to a bottleneck in that column, and the chart also gives a sense of work in progress and lead time. A sprint burndown tracks remaining work in one sprint, a cycle time chart plots how long individual items took, and velocity compares completed work across sprints. Exam tip: when a scenario asks how many items sat in each column over time, choose the CFD.

Sourcelearn.microsoft.com

How to prepare for AZ-400 with Pass-IT.

Currently 318 practice questions for AZ-400, with new ones added regularly. Focus on what you still need to learn.

Get past difficult questions.

Understand why an answer is correct. Alex explains the concepts and answers your follow-up questions so you can apply what you learn to the next task.

Meet Alex →

Conversation preview · AZ-400

Canary deployment

  1. You

    How do I release to a small share of users first?

  2. Alex · AI tutor

    Use a canary strategy and increase exposure in stages.

    Read the Microsoft documentation ↗
  3. You

    When do I move to the next stage?

  4. Alex · AI tutor

    After checking the health signals for the current stage. The example expands gradually rather than replacing everything at once.

    Read the Microsoft documentation ↗

Make your study time count.

Practice at your level.
For new practice sessions, Pass-IT adjusts the difficulty based on your previous answers.

Learn from mistakes.
Incorrect answers automatically become flashcards. When you review them, you rate how confidently you remember; Pass-IT schedules the next review.

See how focused practice works →

Animated feature preview

Turn your mistakes into knowledge you can rely on.

How Pass-IT works

Your review

Answered a question incorrectly?

Pass-IT saves it for your review.

AZ-400 · Question excerpt

Canary deployment

View the full question

A team wants to roll out a new microservice version to an Azure Kubernetes Service cluster gradually: first to 10% of pods, then 20%, monitoring health after each traffic shift, and finally promoting to 100% only if health checks pass. Which deployment strategy in an Azure Pipelines deployment job should they use?

Understand the correct answer.

canary

A canary deployment introduces the new version gradually while monitoring health.

Read the Microsoft documentation ↗

How confidently do you remember?

During review, you assess how well you still know the answer.

Correct after hesitating

Pass-IT schedules your next review.

The date depends on your self-assessment and previous reviews.

Simplified demonstration. No learning progress is saved.

Practice for the moment that counts.

Take a full mock exam with a time limit and find out whether you can finish in time.

Your AZ-400 mock exam

Questions
50
Minutes
100

Illustration of an exam session

  1. Start
  2. Answer questions
  3. Finish

Length and time limit of the Pass-IT mock exam.

Go into your exam with more confidence.

Your Readiness Score helps you assess whether you are ready for the exam. Results by exam domain show you where you should keep practicing.

Your money back if you fail despite 80% Readiness.
If your Readiness Score is at least 80% when you take the exam and you still fail, we refund the Pass-IT purchase price for this certification.

For active, paid access. Submit proof of failing within 14 days.

Further guarantee conditions

You need at least 80% Readiness and active, paid access to the certification when you take the exam. Take the exam within your access period and submit official proof of failing within 14 days after the exam.

For purchases through Apple or Google, refunds are handled by the respective store. See the full terms for further details.

Read the guarantee terms →

The Readiness Score describes your practice progress, not a probability of passing.

Guarantee requirement

80%

At least 80% Readiness
when you take the exam

Money back if you fail

Question counts and mock exam settings from the current Pass-IT catalog.

What you practice for AZ-400.

Exam topics, relevant practice and sources you can check.

Work tracking, metrics and collaboration10–15% of the exam47 QuestionsPass-IT questions

Connect planning, development and feedback so teams can follow work and delivery.

  • Design workflows with GitHub Flow, feedback through notifications and Issues, and traceability between source code, bugs, quality checks, GitHub Projects and Azure Boards.
  • Build dashboards and queries for planning, development, testing, security, delivery and operations; track cycle time, lead time and recovery time.
  • Write project wikis and process diagrams with Markdown and Mermaid, prepare release and API documentation, and generate documentation from Git history.
  • Connect tools with webhooks, link Azure Boards to GitHub repositories, and integrate GitHub or Azure DevOps with Microsoft Teams.
Branches and repositories10–15% of the exam40 QuestionsPass-IT questions

Choose how code changes are organized, reviewed and maintained in Git.

  • Compare trunk-based, feature-branch and release-branch strategies; enforce pull request reviews and merge restrictions with branch policies and protection rules.
  • Manage large files with Git LFS or git-fat, and scale repositories with Scalar and sharing across repositories.
  • Set repository permissions and tags, recover specific data with Git commands and remove selected data from source control.
Build, test and deployment pipelines50–55% of the exam137 QuestionsPass-IT questions

Automate how code is packaged, tested and deployed, then maintain the pipelines.

  • Choose GitHub Packages or Azure Artifacts, configure feeds and views for local and upstream packages, and version dependencies and artifacts with SemVer or CalVer.
  • Plan local, unit, integration and load tests; configure pipeline test tasks, agents, results and code coverage, with quality, security and governance release gates.
  • Choose GitHub Actions or Azure Pipelines and connect GitHub repositories; design runners and agents for cost, tools, licensing, connectivity and maintenance, including hybrid pipelines and VM templates.
  • Write YAML pipelines with triggers, parallel and multistage jobs, reusable templates, task and variable groups, and environment checks and approvals.
  • Choose blue-green, canary, ring or progressive rollout, feature flags and A/B testing; implement flags with Azure App Configuration Feature Manager.
  • Order dependent deployments, limit downtime with load balancing, rolling updates and slot swaps, and plan resilient releases and hotfixes for containers, binaries, scripts and database tasks.
  • Manage infrastructure as code with version control, automated tests and deployment; configure desired state with Azure Automation State Configuration, ARM, Bicep and Azure Machine Configuration, plus self-service Azure Deployment Environments.
  • Track failures, duration and flaky tests; improve cost, speed, concurrency and reliability, set artifact and dependency retention, and migrate classic Azure Pipelines to YAML.
Access, secrets and security checks10–15% of the exam61 QuestionsPass-IT questions

Secure development tools and automation, and check code and dependencies for risk.

  • Choose Entra service principals or system- and user-assigned managed identities; manage GitHub Apps, GITHUB_TOKEN, personal access tokens and Azure DevOps service connections.
  • Configure GitHub roles and permissions and Azure DevOps security groups, projects and teams; select access levels for stakeholders and outside collaborators.
  • Protect keys, certificates, secrets and sensitive deployment files with Key Vault and pipeline controls; use workload identity federation or OpenID Connect and prevent leaks in automation.
  • Automate dependency, code, secret and license scanning with Defender for Cloud DevOps Security and GitHub Advanced Security for GitHub and Azure DevOps, including their integration.
  • Scan container images, run CodeQL analysis in containers and use Dependabot alerts to identify vulnerable open-source components.
Telemetry and performance analysis5–10% of the exam33 QuestionsPass-IT questions

Collect monitoring data and use it to investigate applications, infrastructure and pipelines.

  • Connect Azure Monitor and Logs to DevOps tools; collect telemetry with Application Insights, VM Insights, Container Insights and monitoring for storage and networks.
  • Enable GitHub insights and charts, and configure alerts for events in GitHub Actions and Azure Pipelines.
  • Analyze CPU, memory, disk and network indicators, application usage and performance, distributed traces in Application Insights and logs with basic Kusto Query Language queries.
Question formats you can practice
Multiple Choice
Select one answer.
Multiple Response
Select multiple applicable answers.
True / False
Decide whether statements are true or false.
Drag & Drop
Match items to the appropriate targets.
Ordering
Put steps in the correct order.
Dropdown
Choose the appropriate entry from a dropdown list.

These are Pass-IT practice formats. Check the Microsoft certification page for the official exam information.

The ranges describe the weighting of exam topics. See Official Microsoft objectives for the current exam objectives.

Frequently asked questions

Your preparation

How much study time should I plan for AZ-400?

For planning, Pass-IT estimates roughly 35–85 hours. Relevant experience may put you toward the lower end; starting from scratch may put you toward the higher end. Your needs may fall outside this range. This is not a time requirement from Microsoft or a promise that you will be exam-ready within that time.

Do you need AZ-104 or AI-200 before AZ-400?

Microsoft sets no prerequisite, so AZ-400 can be booked on its own. The exam assumes you either administer Azure or develop on it, because pipelines touch both sides. Coming from AZ-104 the gap is usually source control and testing; coming from development it is usually infrastructure and monitoring.

Using Pass-IT

What language are Pass-IT questions in?

Questions in the app are currently in English. Translations of the sample questions on this page apply only to this preview. Check with Microsoft for the languages available for the official exam.

How long does my AZ-400 access last?

Access covers this certification for 12 months. You pay once, with no automatic renewal.

When does the money-back guarantee apply?

The guarantee refunds the Pass-IT purchase price for this certification. You need eligible paid access and a Readiness Score of at least 80% from your practice results when you take the exam. This score can only reach 80% after at least 50 answered questions and is not a validated probability of passing. Take the exam during your access period and submit official proof of failing within 14 days. Guarantee terms

About the AZ-400 exam

Where can I take the AZ-400 exam?

Pearson VUE online proctored or at authorized testing centers worldwide.

How long is the Designing and Implementing Microsoft DevOps Solutions exam?

The AZ-400 exam has 50 questions and a 100-minute time limit.

What happens if you fail AZ-400?

You can rebook after 24 hours, then wait 14 days between any later attempts. Five attempts at the same exam are allowed in a 12-month period.

Your preparation for AZ-400

$29.99one-time

12 months of access for AZ-400 · No automatic renewal

Buy AZ-400 access

Questions in the app are currently in English.

Try 20 questions for freeFree account required. No credit card.

Already have an account? Log in

Prefer a subscription? View subscriptions →

Money back if you fail with at least 80% Readiness, for eligible purchases under the guarantee terms.

Guarantee terms

The guarantee refunds the Pass-IT purchase price for this certification. You need eligible paid access and a Readiness Score of at least 80% from your practice results when you take the exam. This score can only reach 80% after at least 50 answered questions and is not a validated probability of passing. Take the exam during your access period and submit official proof of failing within 14 days.

Full guarantee terms →