Microsoft AZ-400 Practice Exam Questions & Answers

5 Free Questions · Last reviewed: September 7, 2026 · Prepared & Reviewed by the ValidExamDumps Editorial Team

Exam Facts

Microsoft AZ-400 Exam Details

Key details for this exam, checked against the published exam outline

628 Practice Questions (Our Bank)
120 minutes Exam Duration
700 out of 1000 Passing Score
USD 165 Exam Fee
Exam Code
AZ-400
Full Name
Designing and Implementing Microsoft DevOps Solutions
Issuing Body
Microsoft
Question Format (Our Bank)
Multiple Choice, Hotspot, Drag & Drop, Order List, Case Studies
Delivery
Online proctored or at a test center
Eligibility
No prerequisites, though experience administering and developing in Azure with implementation of both GitHub and Azure DevOps solutions is expected.
Practice Questions

Free AZ-400 Practice Questions

Each question shows the correct answer and an explanation of why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our AZ-400 exam preparation team, who also write the explanation shown with each one. How we research and review these pages

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:

Two resource groups

Four Azure virtual machines in one resource group

Two Azure SQL databases in other resource group

You need to recommend a solution to deploy the resources.

Solution: Create a main template that has two linked templates, each of which will deploy the resource in its respective group.

Does this meet the goal?

Correct Answer: A
Explanation

To deploy your solution, you can use either a single template or a main template with many related templates. The related template can be either a separate file that is linked to from the main template, or a template that is nested within the main template.

You have an Azure subscription.

The development department at your company plans to build web apps that will use multiple Azure resources. You need to recommend a development solution that meets the following requirements:

* Provides a development environment for each developer

* Supports the use of custom sandbox environments for testing

* Ensures that the environments can be embedded into CI/CD pipelines

* Minimizes administrative effort

What should you include in the recommendation?

Correct Answer: C

Your company is building a new solution in Java.

The company currently uses a SonarQube server to analyze the code of .NET solutions.

You need to analyze and monitor the code quality of the Java solution.

Which task types should you add to the build pipeline?

Correct Answer: A

After you answer a question in this section, you will NOT be able to return to it As a result, these questions will not appear in the review screen.

You use Azure Pipelines to build and test a React js application

You have a pipeline that has a single job.

You discover that installing JavaScript packages from npm lakes approximately five minutes each time you run the pipeline.

You need to recommend a solution to reduce the pipeline execution time.

Solution: You recommend enabling pipeline caching.

Does this meet the goal?

Correct Answer: A
Explanation

npm-cache is a command line utility that caches dependencies installed via npm, bower, jspm and composer.

It is useful for build processes that run [npm|bower|composer|jspm] install every time as part of their build process. Since dependencies don't change often, this often means slower build times. npm-cache helps alleviate this problem by caching previously installed dependencies on the build machine.


https://www.npmjs.com/package/npm-cache

You have an Azure solution that contains a build pipeline in Azure Pipelines. You experience intermittent delays before the build pipeline starts. You need to reduce the time it takes to start the build pipeline. What should you do?

Correct Answer: B
Get Full Access

628 questions covering all exam domains, starting from $20

Study Guide

What the Microsoft AZ-400 Exam Covers

Exam domains verified against: Official Microsoft AZ-400 exam guide, last checked September 2026.

Domain 1: Design and implement processes and communications 10% - 15%

Structure workflow and feedback mechanisms using GitHub Flow, GitHub issues, and Azure Boards. Implement dashboards to track cycle times, lead time, and time to recovery across development, testing, security, and operations metrics. Document projects using wikis and Markdown, automate release notes from Git history, and configure webhooks and integrations with Microsoft Teams.

Domain 2: Design and implement a source control strategy 10% - 15%

Choose branching strategies including trunk-based, feature branch, and release branch patterns. Implement pull request workflows with branch policies and protection rules. Manage large files with Git LFS, optimize repositories with Scalar, configure permissions and tags, and recover or remove specific data using Git commands.

Domain 3: Design and implement build and release pipelines 50% - 55%

Select automation solutions like GitHub Actions and Azure Pipelines. Design package feeds, dependency versioning with SemVer and CalVer, and quality gates including security and governance. Build testing strategies with local, unit, integration, and load tests. Develop YAML pipelines with job parallelism, create reusable templates and task groups, implement deployment strategies like blue-green and canary releases, and manage infrastructure as code using Bicep and Azure Resource Manager.

Sample questions from this domain above: Q2Q3Q4Q5

Domain 4: Develop a security and compliance plan 10% - 15%

Implement authentication using service principals, managed identities, GitHub Apps, and personal access tokens. Configure secrets management with Azure Key Vault and secretless authentication via workload identity federation. Design scanning strategies for dependencies, code, secrets, and licensing. Integrate GitHub Advanced Security with Microsoft Defender for Cloud and automate container scanning with CodeQL analysis.

Sample question from this domain above: Q1

Domain 5: Implement an instrumentation strategy 5% - 10%

Configure Azure Monitor, Application Insights, and VM/Container Insights for telemetry collection. Set up GitHub and Azure Pipelines alerting for pipeline events. Analyze performance metrics including CPU, memory, disk, and network indicators. Use Application Insights distributed tracing and Kusto Query Language for log analysis.

FAQ

AZ-400 Exam FAQ

Common questions about the exam itself

Does the AZ-400 exam require AZ-104 or AZ-204 certification first?
No. The AZ-400 exam has no formal prerequisites, though Microsoft expects candidates to have hands-on experience administering and developing in Azure, with strong skills in at least one of those areas, plus experience implementing both GitHub and Azure DevOps solutions.
How difficult is the AZ-400 exam compared to other Azure certifications?
The AZ-400 is an Expert-level certification that tests scenario-based decision making rather than memorization. The exam heavily focuses on three domains: pipelines, infrastructure as code, and DevSecOps together accounting for roughly 70% of content. Most candidates report it is more challenging than Associate-level exams.
What is the hardest part of AZ-400 for most candidates?
The Develop a Security and Compliance Plan domain, covering secrets management, authentication strategies, and security scanning, trips up many candidates. This requires both theoretical understanding of security concepts and practical knowledge of GitHub Advanced Security, Azure Key Vault, and Defender for Cloud integration.
How much study time do candidates typically need for AZ-400?
Most successful candidates spend 40 to 80 hours preparing for the AZ-400 exam. Time varies based on prior DevOps experience, familiarity with Azure Pipelines and GitHub Actions, and existing Azure certifications like AZ-104 or AZ-204.
What happens on exam day for the AZ-400 test?
You have 120 minutes to answer 40 to 60 questions delivered online with a proctor or at a test center. The questions include single choice, multiple choice, drag-and-drop, and case analysis scenarios. Budget time to review the candidate agreement and tutorial before the actual questions begin.
How many times can you retake the AZ-400 exam and how long must you wait between attempts?
Microsoft allows multiple retakes. If you do not pass, you must wait 24 hours before scheduling your next attempt. Exam vouchers are region-specific and non-transferable, so plan retake costs accordingly.
How long is the Azure DevOps Engineer Expert certification valid after passing AZ-400?
Microsoft does not publish an expiration period for the AZ-400 certification on their official exam page. Check your certification dashboard on Microsoft Learn after passing to see if renewal requirements apply to your specific credential.
What job role does the AZ-400 certification prepare you for?
The AZ-400 earns you the Azure DevOps Engineer Expert certification, which aligns with roles combining development and operations responsibilities. Target positions include DevOps Engineer, Release Engineer, Infrastructure Engineer, or Platform Engineer working with Azure and GitHub technologies.
How does AZ-400 relate to AZ-104 and AZ-204 in the certification path?
AZ-104 (Azure Administrator Associate) and AZ-204 (Azure Developer Associate) are commonly taken before AZ-400 as they build foundation skills, but neither is required. AZ-400 sits at the Expert level and assumes you already know core Azure administration and development concepts.
Can you sit the AZ-400 exam in languages other than English?
Yes. Microsoft offers AZ-400 in 10 languages including Japanese, Simplified and Traditional Chinese, Korean, German, French, Spanish, Portuguese (Brazil), and Italian. Register through your local test center or exam provider to select your preferred language.