How blue-green, canary, ring and progressive exposure differ in how fast they widen exposure and how each rolls back.
From Ultra Transcenders AZ-401 by Tony Rough
Every strategy answers the same question differently: how many users see a new version, and how quickly can that exposure be reversed. The exam expects you to match a requirement (instant rollback, measured comparison, per-user control) to the right pattern.
Microsoft’s guidance on safe deployment practices frames this as progressive exposure: a release reaches the users with the highest tolerance for risk first, then widens tier by tier as it proves itself. A typical tier model starts with internal users, moves to a small data centre with a broad mix of customers, then to larger scale units, and finishes with everyone else. Between tiers the release needs bake time; the guidance suggests a 24-hour day is usually enough to surface latent bugs, provided it includes a period of peak usage.
| Pattern | What changes between versions | Best fit | Rollback |
|---|---|---|---|
| Blue-green | Two identical environments; traffic switches from one to the other in one step | Zero-downtime release with instant fallback | Switch traffic back to the old environment |
| Canary | A small share of servers or traffic gets the new version first, then more | Validating a release on real load before full rollout | Stop increasing and route traffic away from the canary |
| Rings (tiers) | Groups of users or scale units receive the release in sequence | Large estates where blast radius must be capped | Stop the rollout at the current ring |
| Rolling | Instances are replaced in batches on a fixed set of servers | VM or node fleets without spare capacity for a second environment | Redeploy the previous version, batch by batch |
| Feature flag | Code ships dark and is switched on by configuration | Separating deployment from release, per-user targeting | Turn the flag off, no redeploy |
| A/B testing | Two or more variants run side by side and are measured | Choosing between designs on evidence | Allocate all users to the winning variant |
| User opt-in | Feature is present but each user chooses to enable it | Letting risk-tolerant users adopt early | Users opt out |
Several patterns are normally combined: a release goes to ring 0, a feature inside it sits behind a flag that is only on for that ring, and the flag might only expose an opt-in option. Azure Pipelines deployment jobs and GitHub Actions workflows both support tiered processes; the mechanics for each target follow later in this chapter. Figure 11.1 compares how blue-green, canary and ring rollouts widen exposure and how each is rolled back.
Common trap: Treating blue-green and canary as the same thing - blue-green moves all traffic at once between two complete environments, while canary moves a small, increasing share and watches health before continuing.
This note is one section of Ultra Transcenders AZ-401: Designing and Implementing Microsoft Agentic DevOps Solutions, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.
Free to read with Kindle Unlimited. Opens Amazon in a new tab.
About the book · AZ-401 terms in the glossary · All AZ-401 study notes
How the Azure DevOps MCP server runs locally or remotely, signs in and limits which tools an agent can call.
What stops the Copilot cloud agent doing harm: its branch, firewall, workflow approval, reviewer rules and who can assign it work.
How a Markdown agentic workflow compiles to a lock file, runs read-only and writes back only through declared safe outputs.
How the branching models differ, and which fits a team's release cadence and its use of coding agents.
How to create Azure SRE Agent, scope its managed identity and choose run modes and response plans.
How workload identity federation lets a workflow sign in to Azure with no stored secret, and which subject claims to trust.
How the two package platforms compare on feeds, upstream sources, permissions and billing.