Reading AZ-400 Scenarios
This lesson describes the exam and a method for separating decisive facts from background across two platforms.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the skill groups, format and pass mark of the exam.
- Map common concepts between Azure DevOps and GitHub.
- Identify hard requirements, timing and qualifiers in a scenario.
- Recognize tools that are retired or changing.
What the exam covers
Exam AZ-400 earns the Microsoft Certified: DevOps Engineer Expert certification. Microsoft requires a candidate to hold at least one of two associate certifications as well: Azure Administrator Associate or Azure Developer Associate. At the time of writing, the Azure Developer Associate page states that the certification and its renewal assessment are retired, although the DevOps Engineer Expert page still lists it. Candidates who do not already hold it should plan on the Azure Administrator Associate, which is earned with Exam AZ-104, and should confirm the current rule on the certification page.
The prerequisite explains the character of the exam. AZ-400 assumes that the candidate already understands Azure resources such as virtual machines, App Service and storage, and it asks how those resources are built, tested, released and observed by a team. Microsoft groups the skills measured into five functional groups. The following table lists them with their official weights, as published in the study guide for skills measured as of July 27, 2026.
| Skill group | Weight | Skill areas |
|---|---|---|
| Design and implement processes and communications | 10-15% | Traceability and flow of work; metrics and queries; collaboration and communication |
| Design and implement a source control strategy | 10-15% | Branching strategies; repository configuration and management |
| Design and implement build and release pipelines | 50-55% | Packages; testing; pipelines; deployments; infrastructure as code; pipeline maintenance |
| Develop a security and compliance plan | 10-15% | Authentication and authorization; sensitive information; security scanning |
| Implement an instrumentation strategy | 5-10% | Monitoring configuration; analysis of metrics |
The third group is as heavy as the other four together, so pipeline design deserves the largest share of study time. A score of 700 or greater on a scale of 1 to 1,000 is required to pass. Microsoft lists 100 minutes for associate and expert exams without labs and 120 minutes for those that may contain labs, and it does not state which applies to a given exam, so confirm the time when you register. Microsoft does not publish the number of questions; this site's practice exams use 50. The certification expires unless it is renewed with a free online assessment.
Two platforms in one exam
The exam treats Azure DevOps and GitHub as equal parts of the Microsoft DevOps toolset, and it frequently asks for the equivalent feature on each platform. A candidate who knows only one platform will lose marks, because the options often mix the vocabulary of both. A scenario about a GitHub repository whose answer options mention branch policies is using a wrong-platform distractor, since branch policies belong to Azure Repos.
The following table pairs the main concepts. These pairs are explained in later lessons, and it is worth returning to this table as you progress.
| Concept | Azure DevOps | GitHub |
|---|---|---|
| Work tracking | Azure Boards | GitHub Issues and GitHub Projects |
| Merge control | Branch policies | Branch protection rules and rulesets |
| Automation | Azure Pipelines | GitHub Actions |
| Compute for automation | Agents in agent pools | Runners in runner groups |
| Connection to Azure | Service connection | azure/login with a federated credential |
| Reusable automation | YAML templates | Reusable workflows and composite actions |
| Deployment control | Environments with checks | Environments with protection rules |
| Packages | Azure Artifacts | GitHub Packages |
| Security scanning | GitHub Advanced Security for Azure DevOps | GitHub Secret Protection and Code Security |
The same idea on both platforms
A method for reading scenarios
Most scenarios contain more information than the decision needs. Read the final sentence first, so that you know which decision is being asked for, and then read the scenario while collecting the following facts.
- The platform: where the code is stored and where the pipelines run. This fact alone eliminates many options.
- Hard requirements: statements that use must, or that give a limit, such as no stored credentials or no inbound firewall rules. An option that fails one of these is wrong.
- Who performs the action: a question about what an approver or a contractor needs is usually about access levels, whereas a question about what a pipeline needs concerns identities and service connections.
- When something happens: compile time or run time, before a merge or after it, before a push or after it. Many AZ-400 questions separate options by timing alone.
- Deciding qualifiers: minimize cost, minimize administrative effort, minimize downtime, or least privilege. These rank the options that remain.
The word timing deserves particular attention. Push protection stops a secret before it enters the repository, whereas secret scanning finds a secret afterwards. A template expression is resolved before a pipeline runs, whereas a runtime expression is resolved during it. A branch policy acts before the merge, whereas a CI trigger acts after it. If two options seem identical, ask when each one acts.
When does it act?
Question formats
The exam uses single-answer and multiple-answer questions, drag-and-drop ordering and matching, and hot-area items, in which a candidate selects values in a code snippet or a table. AZ-400 frequently shows a YAML pipeline with blanks and asks for the correct keyword, so the syntax in this study guide matters, and reading alone is not sufficient preparation. The hands-on labs on this site are written to give that familiarity.
Case studies describe one organization across several tabs, and several questions then refer to it. Some series state a goal and propose a solution, and each question in the series proposes a different solution. Judge each proposed solution strictly against the stated goal, because a candidate cannot go back after answering.
Recognizing a retired or changing tool
The DevOps toolset changes quickly, and skills measured can lag behind product decisions. Azure Deployment Environments and Azure Automation State Configuration both appear in the skills measured although both have announced retirement dates. You must therefore be able to answer questions about them, while knowing that they should not be selected for new long-term designs when a qualifier asks for one. The following table collects the changes most likely to affect an answer. Status was checked on Microsoft and GitHub documentation in November 2026.
| Item | Status | Use instead |
|---|---|---|
| Azure Deployment Environments | Retires 22 February 2027 | Bicep or ARM with Azure DevOps or GitHub workflows |
| Azure Automation State Configuration | Retires 30 September 2027 | Azure Machine Configuration |
| Global personal access tokens | Stop working 1 December 2026 | Organization-scoped tokens or Microsoft Entra tokens |
| Azure DevOps OAuth | Deprecated; no new registrations since April 2025 | Microsoft Entra ID OAuth |
| Azure DevOps public projects | Retired; existing ones convert to private in 2027 | Private projects |
| GitHub Advanced Security as one GitHub purchase | Split in 2025 | GitHub Secret Protection and GitHub Code Security |
| Windows Server 2019 hosted agent image | Retired 31 December 2025 | windows-2022 or windows-2025 |
| Scale set agents for new designs | Superseded in guidance | Managed DevOps Pools |
Retired tools and what replaces them
Separating decisive facts from background
A company stores 120 repositories on GitHub Enterprise Cloud and has 300 developers in four countries. A team plans to deploy a web application to Azure App Service from GitHub Actions. The security team requires that no long-lived credentials are stored in GitHub. Which approach should you recommend?
The number of repositories, the number of developers and the four countries are background, because none of them affects how a workflow signs in to Azure. The decisive facts are the platform, which is GitHub Actions, and the hard requirement, which is no long-lived credentials.
The recommendation is a Microsoft Entra application or user-assigned managed identity with a federated credential that trusts the repository, used through the azure/login action with id-token: write in the workflow's permissions. A service principal secret stored as a GitHub secret fails the hard requirement, however well it is rotated. A publish profile is also a stored credential. A system-assigned managed identity cannot be used, because a GitHub-hosted runner is not an Azure resource that can hold one.
A scenario about a GitHub repository offers an option to configure a branch policy. What should this suggest?
Show answer
Branch policies belong to Azure Repos, so the option uses the wrong platform's vocabulary. GitHub uses branch protection rules and rulesets.
Exam Tips
Remember for the exam
- Build and release pipelines are 50-55% of the exam, so spend the most time there.
- Identify the platform first; wrong-platform vocabulary is a common distractor.
- When two options look alike, ask when each one acts.
- Expect YAML snippets with blanks, and practise the syntax in the labs.
- Azure Deployment Environments and Automation State Configuration are in scope but retiring.