PREP WITH PROOF
Menu
CERTIFICATION STUDY GUIDES / PRACTICAL GUIDE

AZ-400 Study Guide: Azure DevOps Pipelines, Approvals, and Rollback

Prepare for AZ-400 with a four-week DevOps study plan and a practical Azure Pipelines lab covering reusable artifacts, deployment checks, identity, and rollback.

THE QUICK ANSWER

For AZ-400, practice releasing one versioned artifact from commit to production. Trace how a pull request becomes an artifact, how Azure Pipelines checks protect access to a production environment, and how you would restore a known-good version. Build and release pipelines make up 50–55% of the Microsoft outline. Plan time for source control, security, instrumentation, and team processes as well.

Build a four-week AZ-400 study plan

In week one, take one small application and map how a work item reaches production. Set up a pull request policy that requires a reviewer and a passing validation build. Store a link from the work item to the pull request and verify that a failed test provides enough information for the author to fix the change. Repeat the workflow in a GitHub repository or compare the equivalent controls in GitHub and Azure Repos.

In week two, add continuous integration and a release pipeline. Give each build an identifier tied to its commit, run tests, and publish a versioned artifact. In week three, add deployment identities and approvals, then rehearse recovery. In week four, correlate deployment events with application metrics and write a short incident report. Review the official outline and mark every objective you actually practiced, including the ones outside your chosen pipeline.

Promote the same build across environments

A team ships a catalog API to test and production. The test stage passes for build 184, but production has a separate build command that resolves dependencies again. If a dependency changes between stages, the production package can differ from the package that passed integration tests. Publish one artifact for build 184 and have each stage consume that version. Record the commit, run ID, artifact identifier, environment, and deployment result together.

Externalize environment settings such as endpoint names and feature configuration. Keep credentials in the appropriate secret store or identity mechanism. This gives the deployment a stable artifact and a separate set of settings appropriate for each environment. Check that a failed test or missing artifact prevents promotion and that any replacement build receives its own identifier. A screenshot of a green pipeline does little for an incident if it omits the artifact actually deployed.

Assign pull request policies and deployment checks

Branch policies control the conditions under which changes can enter a protected branch. A production environment approval governs a later decision, when a particular run requests access to the production resource. In Azure Pipelines, resource owners configure approvals and checks on protected resources outside the pipeline YAML. Practice answering who can update the pipeline definition, who owns the environment, and who can approve the run.

Add the checks to a practice environment and queue a release. Record which resource paused the run and what evidence an approver would need, such as the artifact version and staging test result. If simultaneous releases could interfere with one another, test an exclusive lock and choose whether older waiting runs should proceed or give way to the latest. Note the consequence for a team that needs every update to be deployed in sequence.

Scope the deployment identity and test the boundary

Use a service connection scoped to the resources needed by the release. Where your connection type and organization support workload identity federation, compare its operational requirements with managing a long-lived secret. Confirm who can use the service connection and which resources that identity can modify. Give the test and production stages their own appropriately scoped access.

Run a controlled negative test in a sandbox. Give the test identity permission for the test resource and confirm it cannot deploy to the protected production resource. Record the failure in the run history, then inspect whether the failure occurred when accessing the service connection or after authentication when an Azure permission was evaluated. Those observations lead to different corrective actions.

Rehearse rollback and explain the recovery evidence

Assume production build 184 increases the error rate. Record the timestamp of the deployment and the change in application errors before deciding to restore build 183. If the app performs schema changes, check whether the prior binary remains compatible with the current schema. An incompatible database change may require a different recovery plan, such as a forward fix prepared for that migration.

A readiness drill can be entirely on paper. Draw a timeline from commit through recovery, then label the first place where each piece of evidence becomes available. Explain why a failed pull request build, a denied production check, and a production error spike require different actions. You should be able to identify the affected artifact and describe how you would confirm restored service with observable results.

KEEP THESE THREE THINGS

Your next steps

  1. Link each deployment to a tested artifact and commit.
  2. Practice branch policies, environment checks, and service connection permissions as separate decisions.
  3. Rehearse recovery with an explicit health signal and a schema compatibility check.

Sources & official resources

Linked resources checked on 2026-11-25. Technical behavior and provider guidance can change; check the documentation for the version you use.

About this guide and its recommendations

Published by Prep With Proof with AI-assisted drafting. Study routines and examples are editorial suggestions, not official exam instructions or claims of a learner's personal results. Cited provider facts are linked; ownership of recommended Prep With Proof products is disclosed. No competitor endorsement or guaranteed certification outcome is implied.

Suggest a correction →