Lesson 1 of 1 Approaching AZ-400 Questions

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 groupWeightSkill areas
Design and implement processes and communications10-15%Traceability and flow of work; metrics and queries; collaboration and communication
Design and implement a source control strategy10-15%Branching strategies; repository configuration and management
Design and implement build and release pipelines50-55%Packages; testing; pipelines; deployments; infrastructure as code; pipeline maintenance
Develop a security and compliance plan10-15%Authentication and authorization; sensitive information; security scanning
Implement an instrumentation strategy5-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.

ConceptAzure DevOpsGitHub
Work trackingAzure BoardsGitHub Issues and GitHub Projects
Merge controlBranch policiesBranch protection rules and rulesets
AutomationAzure PipelinesGitHub Actions
Compute for automationAgents in agent poolsRunners in runner groups
Connection to AzureService connectionazure/login with a federated credential
Reusable automationYAML templatesReusable workflows and composite actions
Deployment controlEnvironments with checksEnvironments with protection rules
PackagesAzure ArtifactsGitHub Packages
Security scanningGitHub Advanced Security for Azure DevOpsGitHub Secret Protection and Code Security
Match the pairs

The same idea on both platforms

Exam skills 1.1.3 · 2.1.2 · 3.3.1

Pair each Azure DevOps feature with its GitHub equivalent, so that wrong-platform options stand out.

Log in to try this activity Interactive activities are free with an account.

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.

Sort into groups

When does it act?

Exam skills 2.1.2 · 3.3.8 · 4.3.3

Many AZ-400 options differ only in timing. Decide when each mechanism acts.

Log in to try this activity Interactive activities are free with an account.

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.

ItemStatusUse instead
Azure Deployment EnvironmentsRetires 22 February 2027Bicep or ARM with Azure DevOps or GitHub workflows
Azure Automation State ConfigurationRetires 30 September 2027Azure Machine Configuration
Global personal access tokensStop working 1 December 2026Organization-scoped tokens or Microsoft Entra tokens
Azure DevOps OAuthDeprecated; no new registrations since April 2025Microsoft Entra ID OAuth
Azure DevOps public projectsRetired; existing ones convert to private in 2027Private projects
GitHub Advanced Security as one GitHub purchaseSplit in 2025GitHub Secret Protection and GitHub Code Security
Windows Server 2019 hosted agent imageRetired 31 December 2025windows-2022 or windows-2025
Scale set agents for new designsSuperseded in guidanceManaged DevOps Pools
Match the pairs

Retired tools and what replaces them

Exam skills 3.5.4 · 3.5.5 · 4.1.3

Know which tool to recommend when a scenario asks for a long-term design.

Log in to try this activity Interactive activities are free with an account.
Worked example

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.

Check yourself

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.