AZ-401 study plan: pass in 4 weeks
You can prepare for AZ-401 in four weeks if you already build pipelines on GitHub or Azure DevOps and can read YAML, Bicep and basic KQL. The plan below gives pipelines two weeks, because they carry 35-40% of the exam, and fits the other four domains around them. If you have never written a pipeline, add a preparation week first.
Before week one
- Open the official study guide and tick each bullet you could explain to a colleague. The unticked ones are your plan.
- Get a free Azure subscription, a GitHub account with Copilot access if you can, and an Azure DevOps organization. Hands-on practice matters more here than reading, because the AI tooling changes quickly.
- Remember the exam is beta: there is no official Practice Assessment, so use the exam sandbox for the interface and your own labs for the content.
Week 1: process, communication and source control (25-35% combined)
| Day | Focus |
|---|---|
| 1 | Flow of work from plan to operate, Azure Boards, traceability from work item to commit |
| 2 | Success metrics: turn a business goal into measurable DevOps metrics |
| 3 | Documentation and collaboration: wikis, READMEs, code owners, change logs, MCP servers |
| 4 | Branch strategies: trunk-based, feature, release, Git flow, GitHub flow, worktrees |
| 5 | Branch policies and protection rules, including rules for Copilot-authored pull requests |
| 6 | Repositories: permissions, tags, Git hooks, Azure DevOps to GitHub migration, recovering data |
| 7 | Review and a short quiz; see the processes and source control guides |
Hands-on task: protect a main branch, require a review and a passing check, then have an agent open a pull request and watch the rules apply.
Week 2: pipelines, part one
Cover packages (feeds, upstream sources, SemVer and CalVer, artifact versioning), the testing strategy and quality gates, and the choice between Azure Pipelines and GitHub Actions. Learn runner and agent infrastructure trade-offs: hosted versus self-hosted, cost, connectivity, maintenance.
Hands-on task: write a multi-stage YAML pipeline with unit tests and a coverage gate, asking Copilot for the first draft and then correcting it. Noticing what the draft got wrong is the best exam preparation.
Week 3: pipelines, part two and security
Early week: triggers, job order and parallelism, templates, variable groups, environments with checks and approvals, GitHub Agentic Workflows. Then deployments (blue-green, canary, ring, feature flags, slot swaps, hotfix paths), infrastructure as code and pipeline maintenance (flaky tests, cost, retention). Read the pipelines guide.
Late week: security. Service principals versus managed identities, secretless authentication with federated credentials, GitHub Apps versus GITHUB_TOKEN versus personal access tokens, Key Vault integration, preventing secret leakage, and GitHub Advanced Security scanning. Use the security guide.
Hands-on task: replace a stored deployment secret with a federated credential, then add secret and dependency scanning.
Week 4: instrumentation, review and practice
- Days 1-2: dashboards and DORA-style measures (cycle time, lead time, time to recovery), Azure Monitor and Log Analytics integration, alerts for pipeline and Actions events.
- Day 3: AI agents in operations: Azure Copilot Observability Agent, Azure SRE Agent, investigating issues it raises. Read the instrumentation guide.
- Day 4: KQL practice, both written by hand and generated from natural language, and distributed tracing in Application Insights.
- Days 5-6: take the sample questions and a timed practice set; log every miss by domain.
- Day 7: rest, then re-read the outline once.
Checking progress
By the end of week two you should be able to sketch a deployment pipeline from memory, including where approvals and gates go. By week three you should explain why a secretless approach is preferred and what you would still use a secret for. If a domain is below your comfort level in week four, spend the remaining days there rather than reviewing what you know. The exam format guide lists what Microsoft has not published, so you do not plan around guesses.