Business continuity is 15-20% of AZ-305. Almost every question reduces to three numbers: the RPO (data you can lose), the RTO (time to recover) and the SLA (availability target), plus a budget. Match the recovery tool to what it restores, then choose the cheapest option that still meets the numbers.
Key terms
- RPO: maximum tolerable data loss, measured in time. RTO: maximum tolerable downtime. SLA: Microsoft’s financially backed availability commitment for a service.
- High availability (HA) keeps the service running through a local fault (zone, host). Disaster recovery (DR) restores it after a region loss. Backup protects against deletion, corruption and ransomware, and is not a substitute for either HA or DR.
- Composite SLA: services in series multiply (99.95% x 99.99% = about 99.94%). Redundant paths in parallel improve it:
1 - (1 - A)^n. Adding a dependency in the request path always lowers the composite.
| Layout | Typical VM SLA |
|---|---|
| Single VM, Premium SSD or Ultra disks | 99.9% |
| Availability set (fault and update domains) | 99.95% |
| Availability zones (2 or more zones) | 99.99% |
| Multi-region active-active | Higher still, tested through Traffic Manager or Front Door |
Azure paired regions and zones
- Most regions have 3 availability zones: physically separate datacentres with independent power, cooling and networking. Zone-redundant services replicate across zones automatically. Zonal resources are pinned to one zone and you build redundancy yourself.
- Paired regions (for example East US and West US) get sequential platform updates and prioritised recovery, and are the replication target for GRS and for many default DR choices. Some newer regions have no pair.
- Availability sets protect against host and rack failures inside one datacentre: fault domains (shared power and network) and update domains (planned maintenance, up to 20). Use zones in preference when the region supports them. A VM can be in a set or a zone, not both.
Backup and disaster recovery
Site Recovery vs Backup
| Azure Site Recovery (ASR) | Azure Backup | |
|---|---|---|
| Goal | Keep workloads running after an outage (failover) | Restore data to a point in time |
| Replication | Continuous, RPO of seconds to minutes | Scheduled snapshots, RPO of hours or a day |
| RTO | Minutes (failover and run recovery plan) | Hours (restore) |
| Protects against | Region or site failure | Deletion, corruption, ransomware, bad change |
| Cost | Per protected instance, plus target storage and compute only at failover | Per protected instance plus storage |
You usually need both. A frequent trap: Site Recovery faithfully replicates corruption and deletion, so it can’t replace backup.
Azure Site Recovery
- Scenarios: Azure VM to another region, VMware or Hyper-V or physical to Azure (using the configuration server or Hyper-V site), and Azure to on-premises.
- Recovery Services vault holds the replication configuration. Recovery plans orchestrate failover order for multi-tier apps (groups, scripts, manual steps, Automation runbooks).
- Test failover runs in an isolated network with no impact to production. Planned failover (no data loss), unplanned failover (accepts data loss), failback reverses replication.
- Crash-consistent recovery points every 5 minutes; app-consistent points at a configured interval (for example hourly) for databases. Retention up to 15 days.
- For Azure VM to Azure DR, the target region, resource group, VNet and cache storage account are chosen at enablement. The mobility service extension is installed automatically. Zone-to-zone DR within a region is also supported.
- Pair with Traffic Manager or Front Door to redirect users, and keep IP addressing decisions (same or different IP) in the plan. Use Azure Automation or a recovery plan to reattach load balancers and public IPs.
- Azure Migrate replication shares technology but is for migration, not DR.
Azure Backup: compute
| Workload | Solution |
|---|---|
| Azure VMs | Backup extension, snapshot then vault copy, application-consistent for Windows (VSS) and Linux (pre/post scripts). Enhanced policy allows multiple backups per day |
| On-premises files, folders and system state | MARS agent (Microsoft Azure Recovery Services agent) directly to the vault |
| On-premises VMs, Hyper-V, VMware, SQL, SharePoint, Exchange | Azure Backup Server (MABS) or DPM, with local disk plus cloud tier |
| SQL Server and SAP HANA in Azure VMs | Workload-aware backup (full, differential, log), 15-minute log RPO |
| AKS | Azure Backup for AKS (persistent volumes and cluster state, backup vault) |
- Vault types: Recovery Services vault (VMs, MARS, MABS, SQL/HANA in VM, Azure Files) and Backup vault (blobs, managed disks, PostgreSQL, AKS, Kubernetes). A vault stores only items in its own region for restore and supports Cross Region Restore with GRS.
- Vault redundancy: LRS, ZRS or GRS (default GRS). Choose before the first backup.
- Instant restore snapshots are kept locally 1 to 5 days for fast recovery. Policy retention: daily, weekly, monthly, yearly, up to 99 years.
- Security: soft delete (14 days, extendable), multi-user authorization (Resource Guard), immutable vaults, MFA for critical operations, and encryption with CMK. These counter ransomware.
- Central management: Backup Center / Business Continuity Center, Azure Policy to auto-enable backup, Backup Explorer reports.
Backup and recovery: databases
| Database | Built-in protection |
|---|---|
| SQL Database | Automatic full (weekly), differential (12 or 24 hours), log (5 to 10 min) backups. Point-in-time restore (PITR) 1-35 days (default 7). Long-term retention (LTR) up to 10 years via weekly/monthly/yearly. Geo-restore from geo-redundant backups (RPO up to 1 hour). Backup storage redundancy: LRS, ZRS or GRS/GZRS |
| SQL Managed Instance | Same pattern: PITR, LTR, geo-restore |
| Cosmos DB | Periodic (default, 4-hour interval, 2 copies, request support to restore) or Continuous (PITR to any second within 7 or 30 days, self-service) |
| PostgreSQL and MySQL Flexible Server | Automatic backups, PITR up to 35 days, optional geo-redundant backup, LTR for PostgreSQL |
| SQL Server on VM | Azure Backup for SQL in VMs, or native backups to blob storage |
- Restores to a new database (not in place). Dropped databases can be restored within retention.
- Use LTR for compliance retention of years; PITR covers recent operator error.
Backup and recovery: unstructured data
| Data | Protection |
|---|---|
| Blobs | Soft delete (blobs and containers), versioning, point-in-time restore, operational backup (continuous, in place, no copy) or vaulted backup (copies to a Backup vault, protects against account deletion, cross region) |
| Azure Files | Share snapshots (up to 200 per share, incremental) managed by Azure Backup, soft delete on shares, vaulted backup option |
| Managed disks | Azure Backup for disks (incremental snapshots) |
| Data Lake | Blob protections, replication and snapshots (hierarchical namespace limits some features) |
| On-premises copy | Azure File Sync cloud tiering and Azure Backup of the share |
Object replication copies blobs asynchronously to another account or region and can be used as a lightweight DR or locality copy. Immutable storage protects against tampering.
Hybrid and meeting recovery objectives
Work backwards from the numbers:
| Requirement | Likely design |
|---|---|
| RPO near zero, RTO minutes, region loss | Active-active or hot standby, synchronous or near-synchronous replication, Traffic Manager or Front Door |
| RPO seconds to minutes, RTO under an hour | ASR with recovery plans, SQL failover group |
| RPO hours, RTO a day, cost sensitive | Backup with geo-redundant vault, restore to the DR region |
| Cold standby | Infrastructure as code redeployment plus restore |
Strategies: backup and restore, pilot light, warm standby and active-active, ordered by rising cost and falling recovery time. Test failovers regularly and document runbooks. For on-premises workloads, ASR to Azure replaces a secondary datacentre.
High availability
Compute
| Need | Design |
|---|---|
| Survive datacentre failure in a region | Availability zones: spread VMs or scale set instances across zones, zone-redundant Standard Load Balancer or Application Gateway v2 |
| Survive rack or host failure only, region without zones | Availability set |
| Elastic and self-healing | Virtual Machine Scale Sets with zone spreading, autoscale and automatic instance repair |
| Stateful clustering | Windows Server Failover Cluster with Azure shared disks (zone-redundant shared disks on ZRS), or SQL Always On |
| PaaS compute | App Service and Functions Premium with zone redundancy, AKS with node pools across zones, Container Apps zone redundancy |
| Planned maintenance | Update domains, maintenance configurations, scheduled events |
| Region failure | Multi-region deployment behind Front Door (global, L7) or Traffic Manager (DNS) |
- Proximity placement groups trade availability for latency, so avoid them when HA is the requirement.
- Capacity reservations guarantee VM capacity in a zone for DR.
- Mix: place a stateless web tier across zones, and keep state in zone-redundant data stores.
- Azure Load Balancer Standard is zone-redundant by default for new frontends. Basic is retired.
Relational data
| Service | HA and DR options |
|---|---|
| SQL Database | Zone-redundant configuration (General Purpose, Business Critical, Hyperscale) for zone failures. Active geo-replication (up to 4 readable secondaries, manual failover) and auto-failover groups (a read-write and a read-only listener endpoint that don’t change on failover, group of databases, automatic policy). SLA 99.99%, 99.995% with zone redundancy |
| SQL Managed Instance | Auto-failover groups between instances in paired or other regions. Zone redundancy for Business Critical and General Purpose |
| SQL on VMs | Always On availability groups (sync within a region, async across), Failover Cluster Instance with shared storage, distributed availability groups across regions |
| PostgreSQL and MySQL Flexible Server | Zone-redundant HA (standby in another zone, synchronous), same-zone HA, cross-region read replicas for DR, geo-redundant backup |
- Failover group vs geo-replication: pick failover groups when the application needs one stable connection string and automatic or group failover; geo-replication is the lower-level primitive for single databases.
- Failover group failover can lose recent data (async). Business Critical zone-redundant keeps synchronous replicas across zones.
- Hyperscale supports geo-replicas and named replicas (named replicas are not DR targets).
Semi-structured and unstructured data
- Cosmos DB: add regions for reads and automatic failover (priority list), or multi-region writes for active-active. Availability zones in a region for zone redundancy. SLA 99.99% single-region, 99.999% multi-region reads (and writes with multi-write).
- Storage accounts: ZRS for zone failures, GZRS/RA-GZRS for zone and region. Customer-managed account failover promotes the secondary to primary (RPO from last sync time, with data loss possible, account becomes LRS afterwards until reconfigured). Microsoft-managed failover only in major disasters.
- Azure Files: ZRS and GZRS options on standard shares, ZRS on premium. Azure File Sync across servers.
- Blob object replication for active DR copies, and Front Door or Traffic Manager to route readers.
- Event Hubs and Service Bus: zone redundancy by default in supported regions, geo-replication (and geo-disaster recovery pairing, metadata only) for namespaces.
- Key Vault replicates automatically to the paired region (read-only during failover). Azure Cache for Redis / Managed Redis use zone redundancy and geo-replication on the Enterprise or Premium tiers.
Traffic redirection for DR
| Service | Level | Detail |
|---|---|---|
| Traffic Manager | DNS, global | Priority, weighted, performance, geographic, multivalue and subnet routing. Failover limited by DNS TTL |
| Front Door | L7 reverse proxy, global | Health probes, instant failover, TLS offload, WAF, caching |
| Azure Load Balancer cross-region | L4 global | Static anycast IP for TCP/UDP |
| Application Gateway | L7 regional | Zone-redundant v2. Not global |
Exam checklist
- Restore after deletion or ransomware = Backup. Keep running after region loss = Site Recovery. Often both.
- SLA ladder for VMs: single premium disk 99.9%, availability set 99.95%, zones 99.99%.
- Composite SLA: multiply in series; adding services lowers it; redundancy raises it.
- SQL DR with stable endpoint: auto-failover group. Zone failure: zone-redundant tier. Years of retention: LTR.
- Cosmos DB continuous backup gives self-service PITR; multi-region plus multi-write for active-active.
- Storage: ZRS (zone), GZRS (zone plus region), RA for reading the secondary. Failover is asynchronous so expect data loss.
- Recovery Services vault vs Backup vault: VMs and files vs blobs, disks, PostgreSQL, AKS.
- Protect backups: soft delete, immutable vault, multi-user authorization.
- Cost vs RTO: backup and restore (cheap, slow) < pilot light < warm standby < active-active.