AZ-400 DevOps Engineer Expert
Exam Crash Course
Three-part intensive. All seven exam domains. The critical decision maps, exam-day cheats, five hard scenario questions, and the ten must-memorise rules to pass.
Domain 1: Continuous Integration — The Highest-Weight Domain
Build once, promote one immutable artefact. The same binary — no rebuild — travels from CI through staging to production. Any answer suggesting "rebuild for each environment" is wrong.
YAML template types: Step template = reuse steps · Job template = reuse job definitions · Stage template = reuse full deployment stages · Variable template = share variable sets.
Templates live in a separate shared repository. They cannot be shared cross-repo from the same pipeline file.
Quality gates must fail the pipeline. Warn-only gates are anti-patterns. A test failure, a coverage miss, or a critical CVE must block the merge — not just generate a report.
Domain 2: Continuous Delivery — Strategy Map
| Scenario keyword | Strategy | Key property |
|---|---|---|
| Instant rollback / zero downtime | Blue/Green | Two environments, traffic switch |
| Gradual / percentage of users | Canary | SLI-gated progressive exposure |
| Cohort / insider ring / staged | Ring-based | User group sequencing |
| Toggle feature without redeploy | Feature flags | Decoupled release |
| No dual environment / rolling update | Rolling | In-place sequential update |
Blue/green needs two identical environments simultaneously. Not one. And rollback is a traffic switch — no redeploy required.
Canary progression must be based on telemetry thresholds — not calendar time or team availability.
Domain 3: Source Control — The Two-Answer Domain
| Scenario | Branching model |
|---|---|
| Multiple deploys per day, cloud-native SaaS, high frequency | Trunk-based |
| Quarterly releases, versioned enterprise product, major versions | GitFlow |
Trunk-based still requires PR gates. Short-lived branches + mandatory build validation + minimum reviewers. "No gates" in trunk-based is wrong.
PR governance requirements: mandatory build validation + minimum reviewer count + required comment resolution + work item link.
Domain 4: Security and Compliance — Shift Everything Left
SAST = static analysis of source code. No running app needed. Runs at PR time.
DAST = dynamic analysis against a running app. First possible point: after deployment to test environment.
SCA = dependency/CVE scanning. Runs at PR time. Critical CVE = fail the build.
All secrets come from Key Vault. Variable group with Key Vault backing = the canonical pipeline answer. Secrets in YAML, env files, wikis, or plaintext variables are always wrong.
Visibility-only scans (warn but never fail) = DevSecOps anti-pattern. Security gates must have teeth.
Domain 5: Instrumentation Strategy
| You need to… | Use |
|---|---|
| Trace a request across microservices | Application Insights (distributed tracing) |
| Monitor availability from external locations | Application Insights (availability tests) |
| Track custom application events | Application Insights (custom events) |
| Monitor VM CPU / memory / disk | Azure Monitor (platform metrics) |
| Query logs with KQL | Log Analytics workspace (Azure Monitor) |
| Create alert rules and action groups | Azure Monitor |
| Mark deployments on metric charts | Release annotations (App Insights or Azure Monitor) |
"Azure Monitor handles distributed tracing." Wrong — that is Application Insights.
Alert quality principle: alerts should be SLO-linked and fire only when user impact is at genuine risk. Threshold-based alerts on raw metrics produce noise. More alerts ≠ better monitoring.
Release annotations are the fastest way to correlate a deployment to an incident. Place them at every deployment in every environment.
Domain 6: SRE Strategy — The Budget Model
| Budget state | Team action |
|---|---|
| Burn rate > 1× sustainable — budget at risk | Freeze risky releases. Fix reliability first. |
| Burn rate < 0.5× — budget healthy | Safe to increase release velocity. |
| Budget depleted before period end | All feature work stops. Reliability sprint only. |
"SLA should be higher than SLO." Always wrong: SLA ≤ SLO. The SLA is the customer-facing commitment; the SLO is the internal target. The SLO must be harder to maintain than the SLA.
Toil = manual, repetitive work that scales with system load and must be automated. MTTR = Mean Time to Restore. CFR = Change Failure Rate. Both are DORA metrics.
Post-incident review: blameless · structured · produces tracked corrective actions with named owners and due dates in the backlog.
Domain 7: Communication and Collaboration
Azure Boards hierarchy (Scrum): Epic → Feature → User Story → Task / Bug. Epic = multi-month goal. Feature = spans sprints. Story = fits in a sprint. Task = sub-unit of work.
| Ceremony | Purpose | Who attends |
|---|---|---|
| Sprint Review | Demo completed work to stakeholders. Inspect the product increment. | Team + stakeholders |
| Sprint Retrospective | Inspect and improve the team process. What to start/stop/continue. | Team only |
| Daily Standup | Yesterday / today / blockers. Time-boxed to 15 minutes. | Development team |
| Sprint Planning | Select and decompose backlog items into the sprint. | Team + Product Owner |
Sprint Review ≠ Sprint Retrospective. Review = what was built. Retro = how to improve. These appear in the exam as a deliberate confusion trap.
DORA metrics for leadership dashboards: Deployment Frequency · Lead Time for Changes · Change Failure Rate (CFR) · Mean Time to Restore (MTTR).
Traceability chain: Work item → Commit → Build → Artefact → Release. Every layer must be linked. This chain enables incident investigation, compliance evidence, and release audit.
Five Hard Scenario Questions
Click "Show answer" after committing to a choice. These represent the highest-difficulty question types on the AZ-400.
Ten Exam-Day Cheats — Memorise Cold
These rules consistently select the correct answer when two options look equally valid.
Exam Question Type Tactics
Scenario questions: Read the full scenario before looking at options. Identify the core requirement in the last sentence. Options are written to distract — the correct answer resolves the core requirement with the best governance and safety.
Multi-select questions: The question will specify "choose two" or "select all that apply". Do not over-select. Partial credit may not apply — select exactly as many as specified.
Two valid-looking options: Apply the elimination hierarchy → automate > shift-left > immutable artefact > Key Vault > least privilege > rollback-safe. The option satisfying more of these wins.
Do not choose an answer because it uses newer service names (e.g., "GitHub Actions" vs "Azure Pipelines"). The AZ-400 tests the principle, not brand preference. Both are equivalent in exam context.