Microsoft • AZ-400
Expert-level exam that measures your ability to design and implement processes, source control strategies, build and release pipelines, security and compliance plans, and instrumentation strategies for DevOps solutions.
Questions
622
Duration
150 minutes
Passing Score
700/1000
Difficulty
ExpertLast Updated
Jan 2025
The AZ-400 exam validates expert-level proficiency in designing and implementing DevOps solutions on Microsoft Azure, covering the full software delivery lifecycle from source control and CI/CD pipelines to security, compliance, and observability. The exam was last updated on July 26, 2024, and spans five major domains: processes and communications, source control strategy, build and release pipelines (the heaviest domain at 50–55%), security and compliance, and instrumentation. Candidates are assessed on both Azure DevOps and GitHub as delivery platforms, with a strong emphasis on YAML-based pipeline authoring, infrastructure as code using Bicep and Azure Resource Manager, and integration with Microsoft security tooling such as GitHub Advanced Security and Microsoft Defender for Cloud.
The certification leads to the Microsoft Certified: DevOps Engineer Expert credential, one of Microsoft's highest-tier role-based certifications. It reflects the breadth of skills required to bridge development and operations teams, automate software delivery pipelines, implement scalable IaC strategies, and embed security and monitoring throughout the development lifecycle. The exam content spans multiple Azure services including Azure Pipelines, Azure Repos, Azure Artifacts, Azure Boards, Azure Key Vault, Azure Monitor, Application Insights, and Azure App Configuration, making it one of the broadest Azure expert-level exams available.
This exam is aimed at experienced developers and infrastructure administrators who operate at the intersection of software engineering and cloud operations. Ideal candidates hold hands-on experience with both Azure DevOps and GitHub, have already earned either the Azure Administrator Associate (AZ-104) or Azure Developer Associate (AZ-204) certification, and work—or aspire to work—on cross-functional teams alongside developers, site reliability engineers, Azure administrators, and security engineers.
Typical job roles that benefit from this certification include DevOps Engineer, Release Engineer, Platform Engineer, Cloud Infrastructure Engineer, and Site Reliability Engineer. Candidates should be comfortable designing branching strategies, authoring multi-stage YAML pipelines, managing secrets and service connections, configuring deployment patterns such as blue-green and canary releases, and integrating security scanning tools into pipelines. A background in scripting, cloud-native tooling, and agile delivery methodologies is strongly recommended.
Microsoft does not impose formal prerequisites to register for the AZ-400 exam, but earning the resulting Microsoft Certified: DevOps Engineer Expert certification requires holding either the Microsoft Certified: Azure Administrator Associate (AZ-104) or Microsoft Certified: Azure Developer Associate (AZ-204) credential. These associate certifications ensure candidates have foundational competence in either Azure infrastructure management or Azure application development before attempting the expert-level exam.
Beyond formal certification requirements, candidates are strongly advised to have practical, hands-on experience implementing both Azure DevOps and GitHub solutions in production or near-production environments. Microsoft recommends proficiency in at least one of the two core disciplines (administration or development) along with experience designing CI/CD pipelines, managing Git repositories at scale, working with Azure Key Vault, and implementing Infrastructure as Code using Bicep or Azure Resource Manager templates. Familiarity with Kusto Query Language (KQL) for log analysis and with GitHub Advanced Security features is also beneficial given the breadth of the exam's security and instrumentation domains.
The AZ-400 exam is administered by Pearson VUE and can be taken via online proctoring or at an authorized testing center. The time limit is 150 minutes, and a passing score of 700 on a 1–1000 scale is required. The exam is available in ten languages: English, Japanese, Chinese (Simplified), Chinese (Traditional), Korean, German, French, Spanish, Portuguese (Brazil), and Italian; candidates taking a non-English version may request 30 additional minutes. Pricing varies by country and region.
The exam uses a variety of question formats typical of Microsoft expert-level exams, including multiple choice, multiple select, drag-and-drop, case studies, and lab-based or scenario-driven questions. Microsoft does not publish an exact question count, but the exam is structured around the five scored domains listed in the official study guide. A free Practice Assessment is available on Microsoft Learn (Assessment ID 56) that closely mirrors the style and difficulty of actual exam questions. The certification renews annually via a free online assessment on Microsoft Learn.
Earning the Microsoft Certified: DevOps Engineer Expert via AZ-400 positions professionals for senior-level roles including DevOps Engineer, Platform Engineer, Site Reliability Engineer, and Cloud Automation Architect. In the United States, certified Azure DevOps engineers typically command annual salaries ranging from $100,000 to $160,000 depending on experience, geography, and industry vertical. The certification serves as a strong differentiator in organizations that have standardized on the Microsoft Azure and GitHub ecosystem, which includes a large share of enterprise environments undergoing cloud-native transformation.
The DevOps Engineer Expert is one of Microsoft's most comprehensive expert-level credentials and is frequently cited by hiring managers as evidence of end-to-end delivery competence rather than narrow tool expertise. Unlike associate-level certifications, AZ-400 demonstrates proficiency that spans security engineering, infrastructure automation, release management, and observability—making certified professionals valuable contributors to platform, infrastructure, and application teams alike. The certification must be renewed annually via a free online assessment on Microsoft Learn, ensuring certified individuals stay current with the platform's evolving capabilities.
5 sample questions with correct answers and explanations. Start a practice session to test yourself across all 622 questions.
1. A team has a project that uses many packages from several different public feeds. To improve build reliability and centralize package governance, they want to consolidate all packages into a single Azure Artifacts feed that can cache packages from both public and other authenticated private feeds. Which feature of Azure Artifacts enables this?
Explanation
Upstream Sources is the feature designed for this exact scenario. It allows a single Azure Artifacts feed to act as an aggregator and cache for packages from other feeds. You can add public repositories (like nuget.org) and other private, authenticated Azure Artifacts feeds as upstream sources. When a package is requested, your feed transparently fetches it from the correct upstream source and saves a copy. This provides a single, reliable point of access for all your project's dependencies.
2. A security auditor for an online retailer needs to get a consolidated report of all security vulnerabilities and configuration recommendations for their entire application portfolio, which consists of numerous Azure App Services and Azure Functions. Which specific blade within which Azure service provides this unified view?
Explanation
The 'Compute & apps' blade in Microsoft Defender for Cloud (formerly Azure Security Center) is the correct answer. Defender for Cloud is Azure's centralized security posture management system. It continuously assesses your cloud resources and provides security recommendations. The 'Compute & apps' section specifically consolidates findings for resources like virtual machines, App Services, and Functions, making it the one-stop shop for the auditor's request. The other options are incorrect as they serve different purposes related to health, logs, or application performance, not centralized security posture assessment.
3. An administrator is hardening the network security for a self-hosted Azure DevOps agent running on a VM. The security policy requires denying all outbound internet access except for the specific communication needed by the agent. Which Network Security Group (NSG) rule should be created to allow this communication?
Explanation
The correct rule is an outbound rule allowing TCP traffic on port 443 (HTTPS) to the 'AzureDevOps' Service Tag. The agent initiates the connection, so the rule must be outbound. A Service Tag is a Microsoft-managed label for a group of IP address prefixes. Using the AzureDevOps service tag as the destination is the best practice because it ensures the rule automatically stays up-to-date with all the IP addresses used by the Azure DevOps service, while a lower priority 'Deny All' rule can block all other internet access.
4. A project manager for a private Azure DevOps project needs to assign permissions to two users. User1, a developer, needs to be able to create a new wiki from a code repository. User2, a technical writer, only needs to be able to edit pages in an existing wiki. Following the principle of least privilege, which security groups should User1 and User2 be added to?
Explanation
To create a 'code wiki' (a wiki published from a Git repository), a user needs permissions to create a new repository in the project. This permission is typically held by members of the 'Contributors' group and higher. However, provisioning the wiki itself is often considered an administrative task, making 'Project Administrators' the most certain group with this right. User2 only needs to edit existing wiki pages. The ability to contribute content, such as editing wiki pages or work items, is the core purpose of the 'Contributors' group. This follows the principle of least privilege by not granting them higher-level administrative rights. Therefore, assigning User1 to Project Administrators and User2 to Contributors correctly maps the required permissions.
5. A release pipeline deploys a .NET application to an Azure SQL Database. The database schema is managed as a Visual Studio database project. What is the file extension of the artifact that should be produced by the build and consumed by the 'Azure SQL Database deployment' task?
Explanation
The correct artifact is a DACPAC (.dacpac) file. A Visual Studio database project compiles into a DACPAC, which is a package containing the complete schema of the database (tables, views, stored procedures, etc.). The 'Azure SQL Database deployment' task in Azure Pipelines is specifically designed to consume this .dacpac file and compare it to the target database, generating and executing a script to bring the target's schema up-to-date.
One-time access to this exam