Topic 3 of 5
DR addresses the loss of an entire region or site. The AZ-305 tests when to use Azure Site Recovery (VM replication), when geo-redundant backup is enough, and how DR is designed for PaaS services — which do NOT use ASR.
Contents
ASR continuously replicates VMs to another region (or from on-premises to Azure) and orchestrates failover. Unlike backup (discrete points, RPO of hours), ASR keeps an almost-current replica: typical RPO of ~minutes (continuous replication for Azure VMs), typical RTO of minutes.
Backup ≠ DR: backup protects DATA against corruption/deletion with historical retention; ASR protects workload AVAILABILITY with a current replica. A complete strategy usually includes both.
Key concepts
Limits to remember
| Source → Target | Components | Use |
|---|---|---|
| Azure VM → another region | Just enable replication (extension agent) | Regional DR for IaaS — the most common scenario |
| Azure VM → zone (zone-to-zone) | Same, within the region | Zonal DR when data can't leave the region |
| VMware → Azure | ASR replication appliance on-prem | DR of a VMware datacenter to Azure (and migrations) |
| Hyper-V → Azure | Provider on the Hyper-V host (+ optional VMM) | DR from Hyper-V to Azure |
| Physical → Azure | Appliance (VMware-like process) | Physical servers to Azure |
Recovery plans
Test failover (DR drill)
| Service | DR mechanism |
|---|---|
| SQL Database / MI | Failover groups (endpoint that doesn't change) / active geo-replication |
| Cosmos DB | Multi-region replicas + service-managed failover (or multi-write) |
| Storage | GRS/GZRS + customer-initiated failover (RA-* for reading without failover) |
| App Service | Deploy in 2 regions + Front Door (no native replica) |
| AKS | Clusters in 2 regions + GitOps/IaC + geo-replicated registry (ACR Premium) |
| Key Vault | Automatic replication to the paired region (managed by Microsoft) |
| Event Hubs / Service Bus | Geo-disaster recovery (namespace alias; replicates METADATA, not messages) / geo-replication (Premium) |
Exam trap
If the question asks for DR of App Service or SQL Database and an option says "Azure Site Recovery" — it's wrong. ASR only replicates VMs. PaaS uses its own native mechanisms + IaC to recreate the application layer.
🛡️Árbol de decisión — Estrategia de DR
Backup+IaC · ASR · Hot Standby · Activo-Activo
Pregunta 1
¿El workload que proteger es IaaS (VMs) o PaaS (SQL DB, App Service, AKS, Cosmos)?
💡 IaaS usa Azure Site Recovery (ASR) para replicar VMs. PaaS usa sus mecanismos nativos — ASR no replica servicios PaaS. Esta es la trampa más común del examen.
| Strategy | Typical RTO / RPO | Cost |
|---|---|---|
| GRS backup + redeploy with IaC | RTO hours / RPO hours-days | $ |
| ASR (warm standby of VMs) | RTO minutes / RPO minutes | $$ |
| Hot standby (deployed infra + native data replication) | RTO minutes / RPO seconds-minutes | $$$ |
| Active-active multi-region | RTO ≈ 0 / RPO ≈ 0 | $$$$ |
| Requirement | Design |
|---|---|
| VMs with RTO/RPO of minutes in another region | Azure Site Recovery |
| Data can't leave the region but VM DR is required | ASR zone-to-zone |
| Ordered failover: DB → app → web with scripts | Recovery plan + Automation runbooks |
| Test DR without affecting production | Test failover on an isolated network |
| DR for SQL Database with a stable connection string | Failover group (not ASR) |
| Multi-region DR for App Service | 2 deployments + Front Door (not ASR) |
| Hours-long RTO acceptable, minimal budget | GRS backup + CRR + IaC redeploy |
| Migrate VMware to Azure along the way | ASR (or Azure Migrate, which uses it under the hood) |
Did you get this topic?
Test what you just learned
A 3-tier app runs on 12 Azure VMs in North Europe. DR requirements: RTO of 30 minutes, RPO of 5 minutes, orchestrated failover in order (SQL first, then app, then web) with automatic DNS reconfiguration, and quarterly drills without touching production. What do you design?
Original questions, each with a full explanation.
Start a mock examWant to practice?AZ-305 practice exam: how it works, outline and free demo
Sign in to save your progress.