Chapter 3
Design Business Continuity Solutions
Domain 3 of the AZ-305 exam · Official weight 15–20% · Skills measured 17 April 2026
Business continuity is the part of the AZ-305 exam where the architect proves they can keep the company running — and bring it back — when things go wrong. The domain has two functional groups and seven objectives: four on backup and disaster recovery, three on high availability.
The exam does not ask you to configure a backup policy step by step. It asks you to recommend the design that meets stated recovery objectives, at a stated cost, for a stated workload. Every scenario in this chapter, and every question in the question bank, is built that way: requirements first, recommendation second, trade-off third.
Two ideas run through the whole domain.
First, high availability and disaster recovery are not the same thing. High availability keeps a workload running through a component or datacenter failure, usually inside one region. Disaster recovery brings a workload back in a different region after a regional outage. It accepts some downtime and some data loss.
Second, every recovery design is a negotiation between RPO, RTO, and cost. A design that promises zero data loss and zero downtime exists — and it is expensive. Your job as the architect is to match the promise to the business requirement, not to buy the most expensive promise for every workload.
Business continuity is the ability of an organisation to keep operating, or to resume operating within an agreed time, after a disruption. It covers high availability (staying up), disaster recovery (coming back), and backup (getting data back).
The exam loves to test the boundary between backup and replication. If the scenario mentions accidental deletion, corruption, or ransomware, the answer is a backup — replication copies the corruption too. If the scenario mentions a regional outage, the answer is replication and failover — a backup alone cannot meet a short RTO.
A recovery design is only as good as its last successful test. An untested recovery plan is a hope, not a design. Microsoft recommends running disaster-recovery drills regularly, and Azure Site Recovery supports test failovers that do not disturb production replication. Build the test into the design, not around it.
The company runs its storefront in one Azure region. A regional outage takes the region down for a day. Which capability brings the storefront back in a second region — high availability, backup, or disaster recovery? Answer: disaster recovery. High availability protects against failures inside a region; a backup restores data but does not, by itself, restart the application in another region. Disaster recovery (replication plus orchestrated failover) is the capability that returns the workload in a second region.

3.1 Recovery objectives: RPO, RTO, and the design that meets them
Objective: Recommend a recovery solution for Azure and hybrid workloads that meets recovery objectives
Every business continuity design starts with two numbers the business must supply. Without them, there is no design — only guessing.
Recovery Point Objective (RPO) is the maximum amount of data, measured in time, that the business can afford to lose. An RPO of 1 hour means the most recent hour of data may be lost. Recovery Time Objective (RTO) is the maximum time the business can tolerate being down after a disruption. An RTO of 4 hours means the workload must be restored and working within 4 hours. Recovery Time Actual (RTA) and the related Maximum Tolerable Downtime (MTD) describe what actually happened and the absolute limit beyond which the business suffers unacceptable harm; RTO must always be shorter than MTD.
RPO and RTO are independent. A workload can demand a 15-minute RPO and a 4-hour RTO, or a 4-hour RPO and a 15-minute RTO. Do not assume a tight RPO implies a tight RTO, and never answer a question by averaging the two. Read each number separately and match each to a different mechanism: RPO is met by replication or backup frequency; RTO is met by automation, pre-provisioned capacity, and failover orchestration.
The cheaper the recovery, the longer and lossier it is. Daily backup gives an RPO of up to 24 hours and an RTO measured in hours. Continuous replication gives an RPO measured in seconds or minutes and an RTO measured in minutes — but the secondary region runs, or stands ready to run, at full cost. The architect's skill is tiering: give the payment system near-zero RPO/RTO, give the internal reporting system a daily backup, and spend the savings where they matter.
The company's order database has an RPO of 5 minutes and an RTO of 1 hour. Its marketing archive has an RPO of 24 hours and an RTO of 48 hours. Which workload needs continuous replication, and which can use daily backup? Answer: the order database needs continuous replication (for example, an auto-failover group or Azure Site Recovery), because a daily backup would lose up to 24 hours of orders against a 5-minute RPO. The marketing archive can use daily backup, because its 24-hour RPO and 48-hour RTO are both met by a daily backup with a restore measured in hours.
3.1.1 From objectives to a recovery tier
A practical way to design is to sort workloads into tiers, then assign a mechanism per tier:
| Tier | Typical RPO / RTO | Mechanism | Example at the company |
|---|---|---|---|
| Tier 1 — mission-critical | RPO seconds–minutes, RTO minutes–1 hour | Continuous replication, customer-managed (manual) failover for RTO < 1 hour (automatic failover only when RTO ≥ 1 hour — its grace period cannot be set below one hour), multi-region active-active where justified | Payment processing, order database |
| Tier 2 — business-critical | RPO 15 min–1 hour, RTO 1–4 hours | Azure Site Recovery, geo-replication, failover groups | Storefront web tier, customer portal |
| Tier 3 — important Tier | RPO up to 24 hours, RTO 4–24 hours Typical RPO / RTO | Azure Backup daily, geo-redundant backups, point-in-time restore Mechanism | Internal reporting, content management Example at the company |
| Tier 4 — low impact | RPO up to 24 hours, RTO days | Daily backup, archive storage, manual restore | Marketing archives, old course material |
3.1.2 Active-active, active-passive, and backup-and-restore
| Pattern | How it works | RPO / RTO | Cost | When to recommend it |
|---|---|---|---|---|
| Active-active | Both regions serve traffic at once, usually behind Azure Front Door or Traffic Manager | Near zero / near zero | Highest — two full deployments | Only when the business genuinely cannot tolerate minutes of downtime |
| Active-passive (hot standby) | Secondary region is replicated and ready, but takes no traffic until failover | Seconds–minutes / minutes | High — secondary capacity is reserved | The usual Tier 1 and Tier 2 answer |
| Active-passive (cold standby) | Secondary is provisioned on failover from templates or backups | Minutes–hours / hours | Low — little standing capacity | Tier 3 workloads with a generous RTO |
| Backup and restore | No secondary at all; rebuild from backups in another region | Up to 24 hours / hours to days | Lowest | Tier 4, and as a last-resort layer under every other pattern |
When a scenario says "minimise cost" alongside a modest RTO, the answer is almost never active-active. Look for cold standby or backup-and-restore. When a scenario says "zero data loss" or "RPO of zero", only synchronous replication or a planned failover qualifies — asynchronous replication always carries some lag.
3.1.3 Paired regions and the Well-Architected Framework
Azure regions are organised into paired regions: each region has a designated partner region, and platform updates are applied to only one region of a pair at a time, so a bad update cannot take down both. Geo-redundant storage replicates to the paired region, and it is the natural secondary for disaster recovery designs. The Azure Well-Architected Framework (Reliability pillar) and the Cloud Adoption Framework are assumed knowledge for AZ-305: a design that ignores paired regions, or that places a secondary in a region with no pairing relationship and no data-residency justification, is a weaker design.
Azure paired regions are region pairs chosen by Microsoft for disaster recovery. Updates are sequenced across a pair, and geo-redundant storage replicates to the paired region. Choosing the paired region as the secondary is the default recommendation unless a business requirement (such as data residency or latency) says otherwise.
Disaster recovery is a system design, not a single service. A replicated VM is useless if its DNS still points at the dead region, its database is not replicated, and nobody knows the failover runbook. Recommend the whole chain: replication, DNS and traffic routing (Azure Front Door or Traffic Manager), database failover, and a tested recovery plan that sequences the tiers in the right order.
The company wants its storefront back within 2 hours of a regional outage, with no more than 15 minutes of data lost, and wants to keep costs down. Which pattern fits best — active-active, active-passive hot standby, or backup-and-restore? Answer: active-passive hot standby (for example, Azure Site Recovery with a recovery plan). Active-active is more than the requirement justifies and costs the most. Backup-and-restore cannot meet a 15-minute RPO. Hot standby with continuous replication meets both numbers at a moderate cost.
Symptom–cause–fix: recovery objectives
| Symptom | Likely cause | Fix |
|---|---|---|
| Failover succeeds but the application is unusable | DNS/traffic routing was not part of the recovery plan | Add Azure Front Door or Traffic Manager with health probes, and test the full failover including DNS |
| Recovery meets RTO but loses too much data | Backup or replication frequency is coarser than the RPO | Shorten the interval: hourly snapshots, continuous replication, or a geo-replication feature with a smaller RPO |
| Failover works in drills but is slow in a real outage | Secondary capacity was not reserved; VMs must be created from scratch | Use hot standby for Tier 1, or pre-provision capacity; measure RTA in drills |
| Different tiers recover in the wrong order | No sequenced recovery plan | Build an Azure Site Recovery recovery plan that starts databases before application tiers |
3.2 Azure Site Recovery and hybrid disaster recovery
Objective: Recommend a recovery solution for Azure and hybrid workloads that meets recovery objectives
Azure Site Recovery (ASR) is Azure's disaster-recovery orchestration service. It replicates workloads from a primary site to a secondary location and orchestrates failover and failback. It protects Azure VMs (region to region), on-premises VMware and Hyper-V VMs, and physical servers, replicating them into Azure.
Azure Site Recovery replicates machines continuously to a secondary location, keeps recovery points, and orchestrates failover through recovery plans. It is a replication and orchestration service — it is not a backup service, and it does not protect against accidental deletion or corruption of data.
ASR is the exam's default answer for "regional outage, short RTO, multi-tier application". Azure Backup is the default answer for "accidental deletion, corruption, ransomware, long retention". If the scenario mentions both, recommend both — they are complementary, and the exam frequently tests whether you know they solve different problems.
ASR replicates without intercepting application data: for Azure-to-Azure replication, data is stored in Azure Storage in the target region and VMs are created from it at failover. A recovery plan groups machines and sequences their failover — databases first, then application servers, then web servers — and can run scripts and manual steps between groups. Without a recovery plan, a multi-tier application fails over in a random order and may come up broken.
The company replicates its on-premises VMware VMs to Azure with ASR. The primary datacenter floods. What happens to the replicated VMs — do they start automatically? Answer: no, not automatically unless failover is triggered. Replication keeps the data current in Azure, but failover is an explicit action (planned, unplanned, or test failover) that creates the Azure VMs from the replicated data. That is why the recovery plan and the decision-maker for invoking failover must be defined in advance.
3.2.1 Recovery points: crash-consistent and application-consistent
| Recovery point | What it captures | Frequency |
|---|---|---|
| Crash-consistent | Disk state as if the machine had crashed — no in-memory data, no in-flight transactions | Every 5 minutes by default for Azure-to-Azure replication |
| Application-consistent | Disk data plus data in memory and transactions in process, using VSS on Windows or a script on Linux | Configurable, 1–12 hours (minimum 1 hour); default every 4 hours for Azure-to-Azure replication; Disabled by default for VMware-to-Azure modernised replication (must be set explicitly) |
For databases, always fail over to an application-consistent recovery point where one is available; a crash-consistent point may leave the database needing crash recovery, and can lose in-flight transactions.
3.2.2 Failover types
| Failover type | When to use it | Data loss |
|---|---|---|
| Planned failover | Expected outage, maintenance, or a drill with the primary still available | Zero — the source is shut down first and all pending data is replicated |
| Unplanned failover | Real disaster; the primary is unavailable | Minimal, depending on replication frequency — the latest available recovery point is used |
| Test failover (drill) | Regular validation | None — runs in an isolated network without affecting production or ongoing replication |
| Failback | Primary is healthy again | Replicate back, then fail over to the primary |
ASR provides continuous replication for Azure VMs and VMware VMs, and replication as frequently as every 30 seconds for Hyper-V. The default recovery-point retention in a replication policy is 24 hours. ASR also offers a High Churn option for Azure VMs with data churn up to 100 MB/s.
Failback is the return of a workload to its original primary site after a failover. It is a planned operation: re-protect the failed-over machines so they replicate back to the original site, then fail over again. A disaster-recovery design without a failback plan strands the workload in the secondary region.
The exam's favourite ASR trap is the vault location: for Azure-to-Azure replication, the Recovery Services vault lives in the target region, not the source region. A second trap is the recovery-point choice: for a database workload, an application-consistent point is the right choice even though it is older than the latest crash-consistent point.
Hybrid disaster recovery has a networking prerequisite that candidates forget: the secondary site must be reachable, addressable, and sized. For on-premises to Azure, that means capacity in the target region, a virtual network that mirrors the on-premises addressing plan (or a plan to re-IP), and DNS that can be updated. ASR replicates the disks; it does not redesign your network for you.
The company's finance database runs on a VM protected by ASR. An unplanned failover is triggered. Which recovery point should the team choose — the latest crash-consistent point from 2 minutes ago, or the application-consistent point from 40 minutes ago? Answer: the application-consistent point, for a database. It captures in-memory data and in-flight transactions, so the database comes up clean. The crash-consistent point is newer but is equivalent to a crash; it risks losing transactions and requiring database crash recovery. The RPO cost (40 minutes) is the price of consistency — and it should have been agreed with the business in advance.

Step by step — build the recovery plan (no screenshot): Follow these clicks in the portal — they build the plan the diagram above shows.
- Open the Recovery Services vault in the target region, then select Recovery Plans (Site Recovery) and select +Recovery Plan.
- In Create recovery plan, type the plan name.
- Choose the Source (the on-premises VMware site) and the Target (Azure), and select Resource Manager for the deployment model.
- In Select items virtual machines, select the machines to add to the plan, then select OK. All the machines start in Group 1.
- Select OK to create the plan.
- In Recovery Plans, right-click the plan and select Customize. Select +Group twice to add Group 2 and Group 3. Leave the database VMs in Group 1, move the application servers into Group 2, and move the web servers into Group 3.
- In Group 2, add a script step that runs the script to update the connection string. In Group 3, add a manual action for the approval step. Select Save to save the plan.
- To prove it works without touching production, select the plan and select Test Failover. It runs in an isolated test network and does not stop replication.
Symptom–cause–fix: Site Recovery
| Symptom | Likely cause | Fix |
|---|---|---|
| Failover VMs start but cannot talk to each other | Target virtual network does not mirror the source addressing or subnets | Map networks in the replication settings; test in the isolated test-failover network |
| Replication health shows warnings | Data churn exceeds the configured throughput, or the target storage is throttled | Enable High Churn (up to 100 MB/s) or scale the target; check the replication policy |
| Test failover succeeds but real failover loses data | Team used the latest crash-consistent point for a database | Use application-consistent points for databases and set the snapshot frequency to match the RPO |
| Failover completes but users cannot reach the app | DNS still points at the primary region | Integrate Azure Traffic Manager or Front Door, or include a DNS update step in the recovery plan |
Walkthrough: Enable ASR replication and build a recovery plan
The company replicates its on-premises VMware VMs to Azure. This walkthrough enables replication and builds the recovery plan the recovery-plan diagram above shows — databases first, then application servers, then web servers.
- In the Azure portal, create a Recovery Services vault in the target region (the region the VMs will fail over to), then open the vault and select Site Recovery and Enable replication.
- Under Source, select the source location and the replication settings (the source VMware environment, the process server, and the target virtual network that mirrors the source addressing).
- Under Target settings, select the target resource group, virtual network, and storage, then select the replication policy (recovery-point retention 24 hours by default, crash-consistent points every 5 minutes). Application-consistent snapshots are Disabled by default for VMware-to-Azure replication, so set a frequency explicitly — 1–12 hours, minimum 1 hour — if the workload needs them. (For Azure-to-Azure replication the default is one application-consistent snapshot every 4 hours.) In the captured policy in Screenshot S-09 the "Disable app consistency frequency" toggle is on, so that capture takes no application-consistent snapshots at all: crash-consistent every 5 minutes only.
- Select the virtual machines to replicate and select Enable replication. Wait until replication health shows Healthy.
- In the vault, select Recovery Plans and select Create. Name the plan, add the database VMs to Group 1, the application servers to Group 2 (with a script step to update the connection string), and the web servers to Group 3 (with a manual approval step).
- Run a test failover on the plan. It runs in an isolated test network and does not touch production or stop replication. Fix anything the test exposes before a real failover is ever needed.
Table 3.1 — Site Recovery blade
| Section | What to look at |
|---|---|
| Replication policy | Recovery-point retention; snapshot frequencies |
| Recovery plan editor | Group 1: database VMs; Group 2: application servers + script step; Group 3: web servers + manual approval; Test failover button |

Azure CLI — the same steps (partial):
The vault and the recovery plan have az commands (in the site-recovery extension, which the CLI installs automatically the first time you run one). Enabling replication for on-premises VMware has no single verified az command.
That means deploying the appliance, creating the fabric and replication policy, and enabling replication per VM. Do those steps in the portal as above. Then create the plan from the fabric and protected-item IDs that setup produces.
az backup vault create --name rsv-prod --resource-group rg-prod --location canadacentral
az site-recovery recovery-plan create --name rp-prod --resource-group rg-prod
--vault-name rsv-prod --groups '[{group-type:Boot,replication-protected-items:[{id:
<protected-item-id>,virtual-machine-id:<vm-id>}]}]' --primary-fabric-id
<primary-fabric-id> --recovery-fabric-id <recovery-fabric-id>
--failover-deployment-model ResourceManager
Expected output:
{
"name": "rp-prod",
"properties": {
"failoverDeploymentModel": "ResourceManager",
"friendlyName": "rp-prod",
"primaryFabricFriendlyName": "<primary-fabric-name>",
"provisioningState": "Succeeded",
"recoveryFabricFriendlyName": "<recovery-fabric-name>"
},
"type": "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans"
}
Why this, not that:
| Option | Cost | Scale | Security | Operations | Pick it when |
|---|---|---|---|---|---|
| Azure Site Recovery (recommended) | $25 per protected instance per month to Azure; first 31 days free | Continuous replication; recovery plans sequence tiers | Replica storage and transfer bill separately | Test failovers without disturbing production | Regional outage, short RTO, multi-tier app |
| Azure Backup | $5–$10 per protected VM per month, plus storage | Daily (or hourly) recovery points | Immutable vault and multi-user authorisation protect the copies | Restore measured in hours | Accidental deletion, corruption, ransomware |
| Both together | ASR fee plus Backup fee | Replication for DR, backup for data loss | Each covers a failure the other does not | Two policies to operate | Production workloads (the complete design) |
Worked cost example: Price it in the Azure pricing calculator under Azure Site Recovery, region Canada Central. Protecting the three tiers in the walkthrough (database, application, web) is 3 × $25 = $75.00 a month after the first 31 days free, at time of writing (November 2026).
Replica storage in the target region and replication data transfer bill separately, at standard storage and bandwidth rates. The failover VMs themselves are only billed when they run — during a test failover or a real one.
For comparison, backing up the same three VMs with Azure Backup (50–500 GB each) would be 3 × $10 = $30.00 a month plus storage. What drives the ASR bill is the number of protected instances, not the size of their disks. Free tier: Azure Site Recovery is free for the first 31 days per protected instance, then billed per instance. Practise with a test VM and disable replication when you are done.
A full multi-VM drill is not a free-tier exercise. Even in the free 31 days, the replica storage, storage transactions and data transfer still bill.
3.3 Backup and recovery for compute
Objective: Recommend a backup and recovery solution for compute
Compute backup means protecting virtual machines, their disks, and the stateful parts of platform services. The core service is Azure Backup. It is delivered through a Recovery Services vault for traditional workloads: Azure VMs, SQL Server in VMs, Azure Files, and on-premises machines via the MARS agent. And through a newer Backup vault for modern workloads: Azure Blobs, managed disks, Azure Database for PostgreSQL, and AKS.
Azure Backup is the managed backup service that takes scheduled, policy-based backups of Azure and on-premises workloads into a vault, with retention, restore, and ransomware protections (soft delete, immutability, multi-user authorisation). It protects against data loss; it does not keep a workload running during an outage — that is high availability or disaster recovery.
Vault choice is a reliable exam discriminator. Azure VM backups live in a Recovery Services vault. Blob, disk, and PostgreSQL backups live in a Backup vault. Site Recovery configuration also lives in a Recovery Services vault. If a question asks where to back up an Azure VM and offers a Backup vault, that option is wrong.
Azure VM backup is agentless in the common case: the Azure Backup extension takes a snapshot of the managed disks. Instant Restore keeps those snapshots locally for a configurable period (the default is 2 days, and the retention range depends on snapshot frequency) so a restore can start from the snapshot before the data is copied to the vault. This is what makes a VM restore fast enough to matter for a short RTO.
The company backs up a VM daily. A developer deletes a critical file at 10:00 and the last backup ran at 02:00. Can Azure Backup restore the file as it was at 09:59? Answer: no. Azure Backup restores to a recovery point — the state at 02:00. Anything changed after the last backup is lost unless a more frequent schedule (for example, an enhanced policy with backups every 4 hours) was in place. That gap is exactly the RPO, and it is why backup frequency must be set from the RPO.
3.3.1 Policies, frequency, and retention
| Setting | Verified value |
|---|---|
| Standard VM backup frequency | Once a day |
| Enhanced policy (hourly) | Backups every 4, 6, 8, 12, or 24 hours; minimum RPO 4 hours |
| MARS agent (on-premises / file backup) | Up to 3 scheduled backups per day |
| Daily recovery point retention | 7 days minimum, 9,999 days maximum |
| Weekly / monthly / yearly retention | Weekly up to 5,163 weeks; monthly up to 1,188 months; yearly up to 99 years |
| Maximum recovery points per protected instance | 9,999 |
| Instant Restore snapshot retention | Default 2 days; up to 30 days at a 12-hour RPO, less at higher snapshot frequency |
The VM and its Recovery Services vault must be in the same region for backup. Backups are incremental after the first full backup: only changed blocks are transferred, which keeps daily backups fast and cheap.
3.3.2 What to restore, and where
Azure Backup for VMs supports restoring the whole VM, restoring individual disks, and file-level recovery (mounting a recovery point and copying individual files without restoring the whole VM). A VM can be restored to the same region, and with cross-region restore enabled, to a secondary region — which is how a backup helps after a regional outage, at the cost of a restore measured in hours rather than the minutes of replication-based failover.
For on-premises machines, the Microsoft Azure Recovery Services (MARS) agent backs files and folders (and system state) directly to a vault. For larger hybrid estates, Azure Backup Server (MABS) or System Center Data Protection Manager (DPM) backs up to local disk first and then to Azure. For containers, Azure Backup for AKS (in a Backup vault) protects persistent volumes and cluster state.
Cross-region restore lets you restore a VM backup to the paired secondary region. It must be enabled on the vault; it is not on by default. It is the backup-based answer to a regional outage when the RTO allows a restore measured in hours.
Two traps recur. First, a backup does not make a VM highly available: a daily backup with a 24-hour RPO cannot meet a 15-minute RPO, however long the retention is. Second, file-level recovery is the answer when only a file is lost — restoring the whole VM is slower and risks overwriting good data.
Ransomware protection is a design requirement, not a feature checkbox. A backup that a compromised administrator can delete is not a backup. Layer the protections. Soft delete keeps deleted backup data — 14 days by default, extendable to 180 days. Immutability means recovery points cannot be deleted or shortened before retention ends. Once locked, the lock cannot be reversed, even by Microsoft support. Multi-user authorisation (MUA) through a Resource Guard requires a second approver — ideally in a different tenant — for destructive operations such as disabling soft delete or stopping protection.
The company's security team requires that even a compromised Global Administrator cannot delete VM backups. Which two controls, together, meet that requirement? Answer: an immutable vault (immutability locked) plus multi-user authorisation through a Resource Guard in a separate tenant. Immutability stops the deletion itself; MUA stops the attacker disabling the protection first. Soft delete alone is not enough, because it can be disabled by a privileged account without a second approver.
Symptom–cause–fix: compute backup
| Symptom | Likely cause | Fix |
|---|---|---|
| Backups fail after a resource-group lock is applied | Azure Backup cannot delete older restore points under the lock | Remove or scope the lock, or plan retention so the limit is not hit |
| Restore is slow for a large VM | File-level restore is being used for a full-VM problem, or Instant Restore snapshots have expired | Use Instant Restore within its window; restore the full VM from the vault for large restores |
| Cross-region restore is unavailable | It was never enabled on the vault | Enable cross-region restore on the vault before the outage — it applies to recovery points created after it is enabled, and archive-tier recovery points are never eligible for cross-region restore |
| On-premises backup jobs miss their window | MARS agent schedule is limited to 3 backups per day | Use Azure Backup Server for more frequent or larger hybrid workloads |
Walkthrough: Create a Recovery Services vault backup policy
The company backs up a production VM daily and must be able to restore a file quickly and survive a regional outage. This walkthrough creates the vault and the policy that delivers both.
- In the Azure portal, create a Recovery Services vault in the same region as the VM, then open the vault and select Backup.
- Under Backup goal, select Azure as where the workload is running and Virtual machine as what to back up, then select Backup.
- Select Backup policy, then Create new. Name the policy, set the backup frequency to Daily, and set the time.
- Under Retention range, set daily retention (for example, 30 days), and add weekly, monthly, and yearly retention as the compliance requirement demands.
- Under Instant Restore, set the snapshot retention (the default is 2 days; up to 30 days at a 12-hour RPO) so a restore can start from the local snapshot.
- Select OK, then select the VM and select Enable Backup. Open the vault's Properties and enable Cross Region Restore so the VM can be restored to the paired secondary region.
Table 3.2 — Recovery Services vault blade
| Section | What to look at |
|---|---|
| Backup policy editor | Daily frequency; retention: daily, weekly, monthly, yearly; Instant Restore snapshot retention |
| Vault Properties | Cross Region Restore enabled |


Azure CLI — the same steps:
az backup vault create --name rsv-prod --resource-group rg-prod --location canadacentral az backup vault backup-properties set --name rsv-prod --resource-group rg-prod --cross-region-restore-flag true az backup policy get-default-for-vm --resource-group rg-prod --vault-name rsv-prod > policy.json az backup policy create --name pol-daily --resource-group rg-prod --vault-name rsv-prod --backup-management-type AzureIaasVM --workload-type VM --policy policy.json az backup protection enable-for-vm --resource-group rg-prod --vault-name rsv-prod --vm <vm-name> --policy-name pol-daily
Edit policy.json before creating the policy: set the daily schedule time, the daily retention (for example, 30 days), the weekly, monthly, and yearly retention, and the Instant Restore snapshot retention (the default is 2 days).
Expected output (illustrative — vault create): The block below shows the output of the vault-create command, not of the policy/enable commands that follow it; the policy commands return the policy and the protected-item records.
{
"name": "rsv-prod",
"properties": {
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"resourceGroup": "rg-prod",
"type": "Microsoft.RecoveryServices/vaults"
}
Why this, not that:
| Option | Cost | Scale | Security | Operations | Pick it when |
|---|---|---|---|---|---|
| Daily backup + Instant Restore (recommended) | $10 per instance per month (50–500 GB), plus $0.0224 per GB per month LRS storage | RPO 24 hours (4 hours on an enhanced policy); restore from the local snapshot | Cross-region restore must be enabled on the vault | Fastest VM restore | Production VM, daily RPO, short RTO |
| Weekly / monthly / yearly retention | Same instance fee; storage grows with retention | RPO up to a week; long compliance retention | Vaulted copies, immutable when locked | Retention, not recovery speed | Compliance archive (7-year requirement) |
| Azure Site Recovery instead of backup | $25 per instance per month | RPO minutes; failover in minutes | Replicates the bad delete too | No recovery points for logical errors | Regional outage — not a substitute for backup |
Worked cost example: Price it in the Azure pricing calculator under Azure Backup, region Canada Central. One production VM holding 200 GB of data sits in the 50–500 GB band, so the protected-instance fee is $10.00 a month, at time of writing (November 2026).
Backup storage on LRS is $0.0224 per GB per month, so the first full backup of 200 GB is about $4.48 a month. Later backups are incremental (only changed blocks) — roughly $14.48 a month before retention growth. Keeping the same backups on GRS doubles the storage line to $0.0448 per GB.
What drives the bill is the instance size band and the retained gigabytes: a 30-day daily retention holds about 30 recovery points, so set retention to the compliance requirement, not forever.
Free tier: Azure Backup bills per protected instance and per gigabyte stored; there is no free tier for VM backup. Practise the policy steps on a small test VM and stop protection when you are done, or study the table if you have no budget for a protected instance.
3.4 Backup and recovery for databases
Objective: Recommend a backup and recovery solution for databases
Database backup design splits into two worlds: platform databases (Azure SQL Database, Azure SQL Managed Instance, Azure Database for PostgreSQL/MySQL) where backups are largely automatic, and databases on VMs (SQL Server, SAP HANA) where Azure Backup must be configured explicitly.
Point-in-time restore (PITR) restores a database to any moment inside its retention window by replaying transaction log backups on top of full and differential backups. It protects against accidental data changes and corruption — the classic "someone deleted the wrong rows" scenario.
Know the Azure SQL numbers cold: automated backups run full backups weekly, differential backups every 12–24 hours, and transaction log backups every 5–10 minutes. PITR retention is 7 days by default, configurable from 1 to 35 days (Basic tier: 1–7 days). Long-term retention (LTR) extends full backups to 10 years in Blob Storage for compliance. If a scenario needs 7 years of retention, PITR alone is the wrong answer — LTR is required.
A database backup strategy must answer three different failures with three different mechanisms. Accidental change needs point-in-time restore. A deleted database needs deleted-database restore, and LTR for older copies. A regional disaster needs geo-restore from geo-redundant backups, or active geo-replication / failover groups for a short RTO. One mechanism cannot cover all three.
The company's Azure SQL Database is on the Standard tier with the default 7-day PITR retention. A developer discovers on day 10 that a table was dropped on day 1. Can PITR recover it? Answer: no — day 1 is outside the 7-day window. The fix is to raise PITR retention (up to 35 days on Standard) and, for compliance-scale retention, add an LTR policy. The discovery delay is a design input: retention must cover the longest plausible time between a bad change and its discovery, not just the change itself.
3.4.1 Azure SQL Database and Managed Instance
| Capability | What it does | Key numbers |
|---|---|---|
| Automated backups / PITR | Full weekly, differential 12–24 h, log every 5–10 min; restore creates a new database | Retention 1–35 days (Basic 1–7), default 7 days |
| Long-term retention (LTR) | Copies full backups to Blob Storage weekly, monthly, yearly | Up to 10 years |
| Deleted database restore | Restores a deleted database from its automated backups | Within the retention period |
| Geo-restore | Restores from geo-redundant backups to any region | RPO about 1 hour; restore time depends on database size |
| Active geo-replication | Up to 4 readable secondaries in other regions, asynchronous replication, manual failover | RPO typically under 5 seconds |
| Auto-failover groups | Primary + secondary as one group, single listener endpoint, automatic failover after the grace period — or customer-managed (manual) failover when the RTO is under 1 hour | Grace period default 1 hour; RPO typically under 5 seconds |
| Backup storage redundancy | PITR/LTR backup storage can be locally, zone, or geo-redundant | Geo-redundant is the default for most tiers |
Geo-restore is the backup-based answer to a regional disaster: it restores the database from the geo-redundant backup copy in another region, but the RPO is about an hour and the restore takes hours for large databases. Active geo-replication and failover groups are replication-based and meet a much tighter RPO (typically under 5 seconds, asynchronous). A planned failover in a failover group waits for the secondary to synchronise and loses no data; a forced failover promotes the secondary immediately and may lose the replication lag.
Auto-failover group — a group of databases on a primary server and a secondary server in another region that fail over together, behind a single read/write listener endpoint that does not change when failover happens. Applications keep the same connection string. The automatic (Microsoft-managed) failover policy has a grace period (default 1 hour) so a transient blip does not trigger a failover. The grace period cannot be set below one hour. So automatic failover cannot meet a sub-hour RTO. Customer-managed (manual) failover is the recommended policy when the RTO is under an hour.
3.4.2 Databases on VMs and open-source PaaS
For SQL Server on Azure VMs, Azure Backup provides workload-aware backup: full, differential, and log backups with point-in-time restore, stored in a Recovery Services vault. SAP HANA on Azure VMs is backed up the same way. For Azure Database for PostgreSQL Flexible Server (and MySQL), backup is provided through a Backup vault with point-in-time restore and long-term retention, and geo-redundant backup options — the vault type is the discriminator the exam tests.
Cosmos DB has its own backup model. The default is periodic backup. Continuous backup adds point-in-time restore, with tiers of 7, 30, or 35 days.
The 7-day tier is the default and carries no backup-storage charge. The 30- and 35-day tiers are charged for backup storage. Restore is self-service, to any point in the window, and across regions.
When a scenario asks for a database backup with a 7-year compliance retention, reach for LTR (Azure SQL) or the equivalent long-term retention in the Backup vault (PostgreSQL). When it asks for recovery from a bad data change discovered an hour ago, reach for PITR. When it asks for survival of a regional outage with minutes of data loss, reach for geo-replication or a failover group — not a backup.
Test the restore, not the backup. A backup job that reports success but has never been restored is unverified. For databases, the restore test must include the application: restore to a new database, point a test copy of the application at it, and confirm the data is consistent. Azure SQL PITR restores to a new database by design, so the test does not disturb production.
The company needs its Azure SQL order database to survive a regional outage with less than 5 seconds of data loss and automatic failover, without changing the application connection string. Which feature fits?
Answer: Answer: an auto-failover group. It replicates asynchronously with a typical RPO under 5 seconds, fails over automatically after the grace period, and provides a stable listener endpoint so the connection string does not change. (If the RTO were under an hour, the same group would use customer-managed failover instead — automatic failover cannot start until the 1-hour grace period passes.) Geo-restore would take hours and lose about an hour of data; PITR does not help in a regional outage at all.
Symptom–cause–fix: database backup
| Symptom | Likely cause | Fix |
|---|---|---|
| PITR cannot reach the date of the bad change | Retention is shorter than the discovery delay | Raise PITR retention to 35 days and add LTR for compliance horizons |
| Failover group fails over during a brief network blip | Grace period is too short (or zero) | Set a grace period (default 1 hour) so transient outages do not trigger failover |
| Secondary lags far behind the primary | Secondary is under-provisioned relative to the primary's write load | Size the secondary to match the primary's compute; monitor replication lag |
| Restore of a deleted database fails | The database was deleted outside the retention window | Recover from LTR backups; if none exist, the data is unrecoverable — set LTR before the incident |
3.5 Backup and recovery for unstructured data
Objective: Recommend a backup and recovery solution for unstructured data
Unstructured data in Azure means Blob Storage (objects, images, course videos, backups themselves), Azure Files (SMB/NFS file shares), and Azure Data Lake Storage Gen2 (Blob Storage with a hierarchical namespace). The design question is always the same: which failure are you protecting against — accidental deletion, corruption, ransomware, or regional loss?
Unstructured data is data without a fixed schema: files, images, videos, and objects stored in Blob Storage, Azure Files, or Data Lake Storage. Its backup design uses storage-native protections (versioning, soft delete, snapshots) plus Azure Backup, rather than database backup mechanisms.
Storage redundancy is not a backup. GRS protects against losing a region; it faithfully replicates a deletion or ransomware encryption to the secondary region within minutes. If the scenario mentions accidental deletion or ransomware, you need versioning, soft delete, immutable storage, or Azure Backup — not a different redundancy option.
Layer the protections, because each one covers a different failure. Soft delete recovers recently deleted blobs and containers. Versioning keeps every version of a blob so an overwrite can be undone. Blob snapshots capture a point-in-time copy. Immutable storage (time-based retention, locked) prevents modification or deletion for a fixed period. Azure Backup for Blobs (in a Backup vault) provides policy-based, vaulted backups with retention up to 10 years and cross-region restore. No single layer covers all four failures.
The company stores course videos in Blob Storage with GRS. A compromised account deletes the videos. Does GRS recover them? Answer: no. GRS replicates the deletion to the secondary region. Recovery needs blob soft delete (to undelete the blobs), versioning (to restore the previous version), or an Azure Backup for Blobs vaulted backup. Redundancy protects availability; it does not protect against deletion.
3.5.1 The storage-native protections
| Protection | What it does | Key facts |
|---|---|---|
| Blob soft delete | Retains deleted blobs and containers for a configurable period so they can be undeleted | Configure a retention period; also available for containers |
| Blob versioning | Automatically keeps a previous version whenever a blob is modified or deleted | Restore any earlier version; pairs with soft delete |
| Blob snapshots | Manual or policy-based point-in-time read-only copy of a blob | Incremental; used by backup and by applications |
| Immutable storage (time-based retention) | Blobs cannot be modified or deleted until the retention interval expires; a locked policy cannot be shortened | WORM (write once, read many) — the ransomware defence |
| Point-in-time restore (Blob) | Restores a container's blobs to an earlier state | Requires versioning, soft delete, and change feed enabled |
| Azure Files snapshots / share snapshots | Point-in-time copy of a file share | Used by Azure Backup for Files |
| Azure Backup for Blobs | Policy-based backup to a Backup vault, operational + vaulted tiers | Retention up to 10 years; cross-region restore; protects against deletion and ransomware |
| Azure Backup for Files | Backs up Azure file shares to a Recovery Services vault | Daily snapshots with retention policies |
3.5.2 Choosing the design
| Requirement | Recommend |
|---|---|
| Recover a file deleted yesterday | Azure Files snapshot or blob soft delete / versioning |
| Survive ransomware encrypting the blobs | Immutable storage (locked) plus Azure Backup for Blobs with vaulted backups |
| Keep course material for 7 years for compliance | Azure Backup for Blobs with vaulted retention, or immutable storage with a matching retention interval |
| Survive a regional outage with read access during the outage | RA-GRS or RA-GZRS (readable secondary) plus a failover plan; backup alone is too slow for a short RTO |
| Lowest cost for rarely-accessed archive data | Cool/cold/archive tiers with GRS, plus backup only where retention policy requires it |
Immutable storage — Blob Storage with a time-based retention policy that makes blobs write-once, read-many (WORM). While the policy is active, blobs cannot be modified or deleted. A locked policy cannot be shortened or removed, even by the subscription owner, and can be lengthened at most five times; an unlocked policy can be shortened, lengthened, or deleted freely. Lock the policy in production.
The exam distinguishes operational backup (snapshots held in the storage account, fast restore, short retention) from vaulted backup (copies held in a Backup vault, offsite, long retention, protected from a compromised production identity). When the scenario mentions ransomware or a compromised administrator, the answer is the vaulted tier.
For Azure Files, remember the vault: file shares are backed up by Azure Backup into a Recovery Services vault, not a Backup vault — unlike blobs, which use a Backup vault. That asymmetry is deliberate in the product and is exactly the kind of detail the exam tests.
The company must keep student assignment files for 7 years, protect them from ransomware, and be able to restore a single file deleted last week. Which combination meets all three? Answer: Azure Backup for Blobs (or for Files, depending on the store) with a vaulted backup and 7-year retention, plus soft delete and versioning for fast single-file recovery. The vaulted backup gives the 7-year retention and the ransomware isolation; soft delete/versioning gives the quick single-file restore without a vault restore.
Symptom–cause–fix: unstructured data
| Symptom | Likely cause | Fix |
|---|---|---|
| Deleted blobs are gone despite GRS | GRS replicates deletions; soft delete was never enabled | Enable blob soft delete and versioning; restore from a vaulted backup if available |
| Ransomware encrypted the blobs and the backups | Backups were in the same account with no immutability | Move to vaulted backups with immutability and MUA; lock the immutable policy |
| Restore takes too long for a single file | Team is restoring the whole container from the vault | Use soft delete/versioning for single files; reserve vault restores for large-scale loss |
| Secondary region data is unreadable during an outage | GRS (not RA-GRS) was chosen | Use RA-GRS or RA-GZRS where read access to the secondary is required |
3.6 High availability for compute
Objective: Recommend a high availability solution for compute
High availability for compute is about surviving failures inside a region: a host fails, a rack loses power, a datacenter goes dark, a deployment goes wrong. The tools, in increasing order of protection, are: a single well-chosen VM, an availability set, availability zones, Virtual Machine Scale Sets (VMSS), and multi-region deployment behind a global load balancer.
Availability zone — a physically separate datacenter (or group of datacenters) inside an Azure region, with independent power, cooling, and networking. A region with zones has at least three. Availability set — a logical grouping that spreads VMs across fault domains (racks sharing power/network) and update domains (groups rebooted together during maintenance) inside one datacenter.
Memorise the VM SLA ladder — the exam asks it constantly. A single VM with Premium SSD or Ultra Disk is 99.9%. Two or more VMs in an availability set (or the same dedicated host group) is 99.95%. Two or more VMs across two or more availability zones is 99.99%. A single VM with Standard SSD is 99.5%, and with Standard HDD is 95%. If the scenario demands 99.99%, only zones (or multi-region) qualify.
You cannot combine an availability set and availability zones for the same VM — it is one or the other. Availability sets are the legacy answer for regions without zones; zones are the modern answer and should be recommended wherever the region supports them. A zone-redundant VMSS gives you zones plus automatic scaling and self-healing in one construct.
The company needs its web tier to survive the loss of an entire datacenter in its region, with a 99.99% SLA, at the lowest cost that meets the requirement. Which deployment fits? Answer: two or more VMs spread across two or more availability zones (or a zone-redundant VMSS) behind a load balancer. An availability set only reaches 99.95% and only survives a rack failure, not a datacenter loss. Multi-region would also work but costs far more than the requirement justifies.
3.6.1 The compute HA ladder
| Construct | Protects against | SLA | Notes |
|---|---|---|---|
| Single VM, Premium SSD / Ultra Disk | Host failure only (and only via Azure's host recovery) | 99.9% | About 8.8 hours of downtime a year |
| Single VM, Standard SSD | Host failure only | 99.5% | |
| Single VM, Standard HDD | Host failure only | 95% | Never recommend for production |
| 2+ VMs in an availability set | Rack failure, planned maintenance | 99.95% | Fault domains + update domains, one datacenter |
| 2+ VMs across 2+ availability zones | Datacenter loss | 99.99% | About 53 minutes of downtime a year |
| Zone-redundant VMSS | Datacenter loss, plus auto-scale and self-healing | 99.99% | Best answer for stateless web tiers |
| Multi-region (active-active or active-passive) | Regional outage | Up to 99.99%+ (composite) | Needed only when a regional outage must not cause downtime |
3.6.2 Load balancing, scale sets, and platform compute
A highly available compute tier is useless without a load balancer that notices a failure. Use Azure Load Balancer (layer 4, inside a region, zone-redundant) for VM tiers.
Use Application Gateway (layer 7, with a web application firewall) for HTTP workloads. Use Azure Front Door or Traffic Manager (global) for multi-region routing. Health probes are the mechanism: a load balancer only sends traffic to instances that answer the probe, so a failed VM is removed from rotation automatically.
VMSS in Flexible orchestration mode can spread instances across zones and fault domains, scale on metrics, and replace unhealthy instances automatically.
For platform compute, the HA story is simpler. App Service in Standard tier or higher carries a 99.95% SLA. It supports deployment slots and zone redundancy in supported tiers.
Azure Kubernetes Service (AKS) should use zone-redundant node pools spread across zones, with multiple replicas and pod disruption budgets. Azure Functions on the Premium plan supports availability zones at 99.95%.
Composite SLA — the availability of a chain of services is the product of their SLAs. Two 99.9% services in sequence give about 99.8%. This is why the exam's multi-tier scenarios need every tier to be highly available: one single-instance tier drags the whole application's SLA down, and the composite SLA is what the business actually experiences.
The classic composite-SLA trap: a web tier across zones (99.99%) in front of a single-instance database (99.9%) is a 99.9% application at best. When a scenario gives an end-to-end availability target, check every tier — the weakest tier sets the ceiling.
Stateless first. High availability is dramatically easier when the compute tier holds no state: any instance can serve any request, a failed instance is simply replaced, and scaling is a number, not a migration. Push state into the data tier (a zone-redundant database, a geo-redundant store) and keep the compute tier disposable. A stateful VM that cannot be replaced without data loss is a single point of failure wearing a load balancer.
The company's storefront is a VMSS across zones behind a load balancer, but the application stores user sessions in memory on each VM. A VM fails and users lose their carts. What is the design flaw? Answer: state in the compute tier. Sessions should live in a shared, highly available store (for example, Azure Managed Redis with high availability, or a database), so any VM can serve any user after a failure. The VMSS and zones did their job — the application design defeated them.
Symptom–cause–fix: compute HA
| Symptom | Likely cause | Fix |
|---|---|---|
| One zone fails and the app is down | Only one VM, or all VMs in the failed zone | Spread 2+ instances across 2+ zones; use a zone-redundant load balancer |
| Maintenance reboots all VMs at once | No availability set or zones; all VMs share an update domain | Use availability sets (update domains) or zones; use VMSS with rolling upgrades |
| Load balancer keeps sending traffic to a dead VM | Health probe is misconfigured or missing | Configure a probe that reflects real application health, not just a TCP port |
| App survives host failure but loses user data | State held on the VM's local disk or memory | Externalise state to a zone-redundant data service |
3.7 High availability for relational data
Objective: Recommend a high availability solution for relational data
Relational HA is about the database staying available and consistent when a node, a zone, or (for DR) a region fails. In Azure the answer depends on the service: Azure SQL Database and Azure SQL Managed Instance have built-in HA; SQL Server on VMs needs an availability group; Azure Database for PostgreSQL/MySQL has zone-redundant HA options.
High availability for relational data means the database service continues to accept reads and writes through the failure of a compute node, a storage node, or a whole datacenter, with no data loss (synchronous replication inside a region) and automatic failover. It is distinct from disaster recovery, which tolerates a small amount of data loss across regions.
Inside a region, replication is synchronous and the RPO is zero. Across regions, replication is asynchronous and the RPO is small but not zero (typically under 5 seconds for Azure SQL geo-replication). If a question promises zero data loss across regions with asynchronous replication, it is wrong.
Azure SQL Database HA is built in. It needs little configuration. The General Purpose tier keeps a remote storage replica and fails over in seconds. The Business Critical tier keeps four replicas in an availability group (one primary, three secondaries) forming a four-replica quorum, with fast failover. Zone redundancy adds replicas across availability zones for datacenter-level survival. The architect's decision is the tier and the zone-redundancy setting, not building the replication by hand.
The company's Azure SQL Database is in the General Purpose tier without zone redundancy. A datacenter in the region fails. Will the database stay available? Answer: not necessarily — the database may fail over within the datacenter or region, but without zone redundancy there is no guarantee its replicas are in a different datacenter. Enable zone redundancy (and choose Business Critical for the fastest failover) when datacenter-level survival is required.
3.7.1 Azure SQL: tiers and failover
| Option | What it provides | When to recommend |
|---|---|---|
| General Purpose, zone-redundant | Remote storage replica, failover across zones | Standard production HA |
| Business Critical, zone-redundant | Local SSD replicas, fastest failover, readable secondaries | Mission-critical, low-latency failover |
| Hyperscale, zone-redundant + HA replicas | Up to 100 TB class scale, named replicas, fast restore | Very large databases needing HA and scale |
| Auto-failover group (cross-region) | Customer-managed (manual) or automatic regional failover, stable listener | Regional DR with a tight RPO (see §3.4) |
| Active geo-replication | Up to 4 readable secondaries, manual failover | Regional DR plus read scale-out |
Local failover inside a region is automatic and typically completes in well under a minute for Business Critical, with zero data loss because replication is synchronous. Cross-region failover is the disaster-recovery story from §3.4 — do not confuse the two in an exam answer.
3.7.2 SQL Server on VMs and open-source databases
For SQL Server on Azure VMs, the HA answer is an Always On availability group: one primary replica and up to eight secondaries, synchronous commit inside a region (zero data loss, automatic failover with a listener) and asynchronous commit across regions (DR). The VMs themselves should sit in availability zones, and the listener should be an Azure Load Balancer (or a distributed network name) so clients connect to the current primary without reconfiguration. Failover Cluster Instances (FCI) with shared storage are the alternative for instance-level HA, but availability groups are the more common exam answer because they also provide readable secondaries.
For Azure Database for PostgreSQL Flexible Server, enable zone-redundant HA: a standby server in another zone with synchronous replication and automatic failover. For MySQL Flexible Server, the same zone-redundant HA model applies. In both cases, cross-region disaster recovery is provided by geo-redundant backup and read replicas — a separate decision from in-region HA.
Always On availability group — a SQL Server feature that replicates databases to secondary replicas. Synchronous-commit replicas in the same region give zero data loss and automatic failover; asynchronous-commit replicas in another region give disaster recovery with a small data-loss window.
Watch for the "readable secondary" distractor: a readable secondary offloads reporting reads, but it is not a failover target unless it is configured as one. And a failover group is not a substitute for in-region HA — a database needs both zone redundancy (for a datacenter failure) and a failover group (for a regional failure) if both risks matter.
The connection string is part of the HA design. Applications should connect through the failover-group listener or the availability-group listener, never to a single server name. If the application hard-codes the primary server, failover will succeed and the application will still be down.
The company runs SQL Server on two VMs in different availability zones, with an Always On availability group in synchronous-commit mode and a listener. One VM's datacenter loses power. What happens?
Answer: Answer: the secondary replica in the surviving zone is promoted automatically, the listener redirects connections, and no committed data is lost because synchronous commit waits for the secondary to harden each transaction. The application experiences a brief interruption (seconds) while failover completes.
Symptom–cause–fix: relational HA
| Symptom | Likely cause | Fix |
|---|---|---|
| Database is down after a zone failure | Zone redundancy was not enabled | Enable zone redundancy (or deploy the availability group across zones) |
| Failover succeeds but the app cannot connect | App connects to a server name, not the listener | Use the failover-group or availability-group listener endpoint |
| Replication lag grows on the secondary | Secondary is under-provisioned for the write load | Size the secondary to match the primary; monitor lag |
| Failover is slow for a large database | General Purpose tier with remote storage | Move to Business Critical (local replicas) for faster failover |
Walkthrough: Create an auto-failover group
The company's order database must survive a regional outage with less than 5 minutes of data loss and a failover a named engineer triggers in minutes. This walkthrough creates the failover group that delivers it — with the customer-managed (manual) failover policy, which Microsoft recommends, because automatic failover cannot start until its 1-hour grace period passes.
- In the Azure portal, open the Azure SQL Database (or its logical server) and select Failover groups under Settings.
- Select Add group, name the group, and select the secondary server in the paired region (create one if it does not exist).
- Under Read-write failover policy, select Customer managed (the recommended policy): after a regional outage, the named on-call engineer triggers failover as soon as the outage is confirmed, so failover starts in minutes rather than waiting out a grace period. The portal still shows a grace period of 1 hour — it applies only if a forced failover with data loss is ever invoked; with a customer-managed policy it does not start failover by itself. Do not select Automatic here: automatic (Microsoft-managed) failover cannot be set below a 1-hour grace period, Microsoft initiates it only in extreme circumstances, and it cannot meet a sub-hour RTO.
- Under Read-write listener, confirm the listener endpoint that applications will connect through, and select Create.
- Update the application connection string to use the failover-group listener, not the primary server name, and test failover from the group blade before relying on it.
Table 3.3 — SQL failover group blade
| Section | What to look at |
|---|---|
| Primary server | az305-sql-ha1; Canada Central |
| Secondary server | az305-sql-ha2; Central US |
| Read-write failover policy | Customer managed; grace period 1 hour |
| Read-write listener endpoint | For applications to; connect through |

Azure CLI — the same steps:
az sql failover-group create --name fg-prod --partner-server sql-secondary --resource-group rg-prod --server sql-prod --failover-policy Manual --add-db enrolments
Expected output:
{
"failoverPolicy": "Manual",
"gracePeriod": 1,
"name": "fg-prod",
"partnerServers": [
{ "id": "/subscriptions/<subscription-id>/resourceGroups/rg-prod/providers/
Microsoft.Sql/servers/sql-secondary" }
],
"readWriteEndpoint": {
"failoverPolicy": "Manual",
"failoverWithDataLossGracePeriodMinutes": 60
}
}
Why this, not that:
| Option | Cost | Scale | Security | Operations | Pick it when |
|---|---|---|---|---|---|
| Auto-failover group (recommended) | Secondary bills like the primary; no separate group fee | Customer-manag ed (manual) failover — the on-call engineer triggers it in minutes; RPO typically under 5 seconds | One listener endpoint — apps never re-point | Test failover before relying on it | Regional outage, under 5 seconds of data loss, failover in minutes by a named decision-maker |
| Active geo-replication | Same secondary cost; manual failover | Up to 4 readable secondaries; RPO typically under 5 seconds | One listener per secondary | Failover is a manual decision | Read scale-out plus manual DR |
| Zone-redundant deployment only | No secondary-region cost | Survives a datacentre loss; RPO zero in-region | — | No cross-region protection | Datacentre failure is the only DR risk |
Free tier: A failover group needs two SQL servers, and the secondary bills like the primary. A free-offer database cannot join a failover group at all.
The free offer excludes failover groups and locks all free databases in the subscription to a single region. Geo-redundant backup storage requires switching the free-offer behaviour from auto-pause to billable ("Continue using for additional charges") instead of auto-pause. Practise on two small paid General Purpose databases with auto-pause disabled and delete both when you are done, or study the table instead.
3.8 High availability for semi-structured and unstructured data
Objective: Recommend a high availability solution for semi-structured and unstructured data
Semi-structured data is Cosmos DB and Azure Table Storage (and, in the wider sense, JSON documents in Cosmos DB's APIs); unstructured data is Blob Storage and Azure Files. Their HA mechanisms are built into the services — the architect chooses the configuration, not the replication protocol.
Semi-structured data is data with a flexible schema — JSON documents, key-value pairs, wide-column rows — stored in services such as Cosmos DB and Table Storage. Unstructured data is files and objects in Blob Storage and Azure Files. Both are replicated by the platform; the architect's job is to pick the redundancy and distribution that matches the availability target.
Cosmos DB is the exam's favourite semi-structured HA topic. Memorise: single-region accounts carry a 99.99% availability SLA; single-region with availability zones, 99.995%; multi-region with multi-region writes, 99.999% for reads and writes. RPO is 0 with Strong consistency, under 15 minutes with Session, Consistent Prefix, or Eventual consistency, and bounded by K and T with Bounded Staleness.
Consistency is the dial that trades availability and latency against data loss. Strong consistency gives an RPO of 0 but the highest latency and the lowest write availability across regions. Relaxed consistency (Session, Consistent Prefix, Eventual) gives a small RPO (under 15 minutes in a region outage) with lower latency and higher availability. Session consistency is the usual default: a session always reads its own writes, which is what most applications actually need.
The company's global product catalogue runs on Cosmos DB in two regions with Session consistency and multi-region writes. One region fails. What do users experience? Answer: reads and writes continue against the surviving region with automatic failover, and the availability SLA is 99.999%. Data loss is bounded by the relaxed consistency model — under 15 minutes of writes in the worst case — rather than zero, which is the price of Session consistency versus Strong.
3.8.1 Cosmos DB
| Configuration | Availability SLA | RPO in a region outage |
|---|---|---|
| Single region, any consistency | 99.99% | 0 (Strong) / under 15 min (relaxed) |
| Single region with availability zones | 99.995% | 0 in a zone outage (replicas across zones) |
| Multi-region, single write region | Read 99.999%, write 99.99% (99.995% with availability zones) | 0 (Strong) / under 15 min (relaxed) |
| Multi-region, multi-region writes | 99.999% reads and writes | 0 (Strong) / under 15 min (relaxed); RTO 0 for relaxed consistency with multi-region writes |
Cosmos DB keeps at least three replicas of data in each region (a four-replica quorum), giving an RTO and RPO of 0 for an individual node outage without any application change. Automatic failover moves the write region to the highest-priority surviving region. For conflict handling with multi-region writes, choose a conflict-resolution policy (last-writer-wins or a custom stored procedure) — without one, conflicting writes are resolved by the service default and the application may be surprised.
3.8.2 Blob, Files, and Table Storage
| Service | HA mechanism | Key numbers |
|---|---|---|
| Blob Storage | Redundancy: LRS, ZRS, GRS, RA-GRS, GZRS, RA-GZRS | LRS 11 nines durability; ZRS 12 nines; GRS/GZRS 16 nines. RA-GRS read availability 99.99% |
| Azure Files | ZRS for premium shares (zone-redundant); GRS for standard | Premium file shares support ZRS; standard shares use LRS/GRS |
| Table Storage | Same redundancy options as Blob Storage (same account) | Durability follows the account's redundancy |
For read availability during a regional outage, the answer is RA-GRS or RA-GZRS: the secondary endpoint is readable at all times, so the application can fail over reads without waiting for a storage failover.
For write availability, there is no readable-secondary trick. Writes must wait for a failover to the secondary region (an account failover, initiated by Microsoft or by the customer).
The RPO is the replication lag. It is typically under 15 minutes for block blobs.
With Geo Priority Replication (an opt-in feature for block blobs), it is guaranteed at or under 15 minutes. The SLA guarantees Last Sync Time ≤ 15 minutes for 99.0% of the billing month.
Read-access geo-redundant storage (RA-GRS) — GRS plus a readable secondary endpoint. Applications can read from the secondary region while the primary is healthy, and can keep reading during a primary-region outage. Writes still go to the primary until a failover.
The most common trap in this section is confusing durability with availability. Durability (11–16 nines) is the probability that data is not lost over a year. Availability (99.9%–99.99%) is the probability that the service answers requests. GRS gives 16 nines of durability but only 99.9% write availability without read access — a design that needs to serve reads during an outage needs RA-GRS, not just GRS.
For Azure Files used as shared application storage, zone redundancy is the HA answer inside a region (premium file shares support ZRS), and Azure File Sync can extend an on-premises file server into Azure with cloud tiering. A file share on a single VM's disk is not highly available, however large the VM.
The company serves course images from Blob Storage. The requirement is that images stay readable during a primary-region outage, with no more than 15 minutes of staleness. Which redundancy fits? Answer: RA-GRS (or RA-GZRS if zone protection in the primary region is also wanted). The read-access variant keeps the secondary readable during the outage; plain GRS would hide the secondary until a failover. The 15-minute staleness matches the typical GRS replication lag.
Symptom–cause–fix: semi-structured and unstructured HA
| Symptom | Likely cause | Fix |
|---|---|---|
| Cosmos DB writes fail during a regional outage | Single write region and no automatic failover configured | Enable multi-region writes or automatic failover with a priority-ordered region list |
| Application reads stale data after failover | Consistency level is too relaxed for the workload | Raise the consistency level (for example, Session to Bounded Staleness or Strong) and accept the latency cost |
| Blobs unreadable during a regional outage | GRS without read access | Switch to RA-GRS or RA-GZRS |
| File share unavailable after a zone failure | Standard share on LRS, or a share hosted on a VM disk | Use premium file shares with ZRS, or Azure Files with geo-redundancy |
3.9 Testing, governance, and cost
Business continuity designs fail in the same three places: they are never tested, nobody owns them, and nobody watches the bill. Close the design with all three.
Disaster-recovery drill (test failover) — a rehearsal of the recovery plan in an isolated network that validates RTO and RPO without affecting production. Azure Site Recovery supports test failovers that do not disturb ongoing replication.
The exam expects you to recommend regular testing — at least a drill per quarter is a defensible cadence — and to include the drill in the design, with measured RTA recorded against the RTO. A design that mentions ASR but no testing is incomplete.
Govern the design with Azure Policy and monitoring: policies that require backup on VMs and storage accounts, require zone redundancy or geo-redundancy where the tier demands it, and deny unencrypted or unprotected deployments. Monitor with Azure Monitor and Azure Backup reports (Log Analytics workbooks): backup job success, replication health, RPO lag, and failover-group status are all metrics, and a design without alerting is a design that fails silently.
The company's ASR replication is healthy, but no failover has ever been tested. Is the RTO met? Answer: unknown — and therefore not met. The RTO is a promise about a real failover, and only a measured test failover (recording the recovery time actual) proves it. Schedule a test failover, measure it, and fix whatever is slow before the real outage.
Cost control
- Replicate only what the RPO requires: continuous replication for Tier 1, backup for Tier 3.
- Use cold standby and infrastructure-as-code so the secondary can be built on failover instead of running idle.
- Tier storage: archive old backups, use cool/cold tiers for infrequently restored data, and set retention to the compliance requirement — not forever.
- Remember that the secondary region's storage, and the egress of replicated data, are real costs; a design that replicates everything everywhere is the most expensive way to meet a modest RPO.
Sources checked during writing (Microsoft Learn, November 2026): Azure Site Recovery overview; Azure Backup support matrix for the MARS agent and for Azure VM backups; SLA for Virtual Machines; Azure Storage data redundancy; Azure SQL Database automated backups and point-in-time restore; Azure Cosmos DB high availability; Azure Backup vaults. All limits, SLAs, and retention figures in this chapter were verified against Microsoft documentation, not taken from memory.
Hands-on lab 3 — Back up the file share and restore it
Scenario
The company's course authors share their work on an Azure Files share called course-content. Last month an author deleted a folder by mistake. The team discovered — too late — that nobody had ever tested a restore.
The business has set its recovery objectives. A file share must be recoverable to any point in the last 30 days (RPO: one day), and a single deleted file must be back within an hour (RTO: one hour).
You are the solutions architect. In this lab you will create a Recovery Services vault, protect the file share with a daily backup policy, trigger an on-demand backup, delete a file, and restore it from the recovery point.
This is the hands-on version of Chapter 3. A backup that has never been restored is a hope, not a recovery solution. The restore test is the lab.
RPO (recovery point objective) is how much data you can afford to lose, measured in time. A daily backup means an RPO of up to one day. RTO (recovery time objective) is how long you can afford to be down while you restore. A policy's schedule sets your RPO. Your tested restore procedure sets your RTO.
Objectives covered
This lab maps to the Chapter 3 exam objectives in the official AZ-305 study guide (skills measured 17 April 2026):
| Objective | What you practise in this lab |
|---|---|
| Recommend a recovery solution for Azure and hybrid workloads that meets recovery objectives | Mapping a daily schedule and 30-day retention to the stated RPO and RTO |
| Recommend a backup and recovery solution for compute | Understanding what the vault protects and what it does not (see the note in step 2) |
| Recommend a backup and recovery solution for databases | Seeing why file-share backup is not a database backup — and what you would use instead |
| Recommend a backup and recovery solution for unstructured data | Protecting an Azure Files share with Azure Backup and restoring a single file |
| Recommend a high availability solution for semi-structured and unstructured data | Noting where backup ends and high availability begins (redundancy is not a restore point) |
Prerequisites
- A free Azure account (or Azure free trial credits). The vault itself is free; backup storage and the protected instance are billable, so delete everything the same day (see Cost alert).
- The Azure CLI installed, or Azure Cloud Shell in the portal (Cloud Shell already has the Azure CLI installed). Sign in first with
az login. - A resource group for this lab: rg-lab3. All resources go in it, so one delete at the end removes everything.
Names must be unique. The storage account name is globally unique across Azure, lowercase letters and numbers only, 3–24 characters. Replace <unique> with a short string of your own, for example your initials plus a number (for example stcclab3hs7).
Steps
- Create the resource group. In the portal, search for Resource groups, select Create, name it
rg-lab3, pick a region near you (for example Canada Central), and select Review + create, then Create. Or with the CLI:
az group create --name rg-lab3 --location canadacentral
- Create the storage account and the file share. In the portal, create a storage account named
stcclab3<unique>(Standard, LRS) inrg-lab3, then open it, select File shares, select Add file
share, and name it course-content. Or with the CLI:
az storage account create --name stcclab3<unique> --resource-group rg-lab3 --location canadacentral --sku Standard_LRS --kind StorageV2 az storage share create --name course-content --account-name stcclab3<unique>
This lab deliberately does not back up a virtual machine. A VM backup is the classic Azure Backup scenario, but even the smallest VM bills by the hour, and Site Recovery replication needs a real on-premises server to replicate. The file-share backup teaches the same vault, policy, recovery-point, and restore mechanics at a fraction of the cost. The exam tests the mechanics, not the size of the workload.
- Put a file in the share that you can afford to lose. Create a small text file on your computer and upload it:
echo "the company AZ-305 course notes - do not lose" > lesson-01.txt az storage file upload --share-name course-content --source lesson-01.txt --path lesson-01.txt --account-name stcclab3<unique>
In the portal, open the share and confirm lesson-01.txt is listed.
- Create the Recovery Services vault. In the portal, search for Recovery Services vaults, select Create, choose
rg-lab3, name itrsv-lab3, pick the same region as the storage account, and select Review + create, then Create. The vault must be in the same region as the file share. Or with the CLI:
az backup vault create --resource-group rg-lab3 --name rsv-lab3 --location canadacentral
- Create the backup policy (portal). Open the vault, select Backup, set Where is your workload running? to Azure and What do you want to back up? to Azure File Share (Azure Storage). Select the storage account
stcclab3<unique>, select thecourse-contentshare, and when the policy step appears, create a new policy namedprod-daily: daily backup, retain daily recovery points for 30 days. Select Enable Backup. This step is portal-only in this lab because the CLI policy command needs a JSON policy file whose schema is easy to get wrong; the portal shows you the schedule and retention you are actually choosing, which is the design decision the exam tests. - Trigger an on-demand backup — do not wait for the schedule. The first scheduled backup runs tonight; you want a recovery point now. In the portal, open the vault, select Backup items, select Azure Storage (Azure Files), open
course-content, and select Back up now, keeping the default retention. Or with the CLI (replaceDD-MM-YYYYwith a date 30 days from today):
az backup protection backup-now --vault-name rsv-lab3 --resource-group rg-lab3 --container-name stcclab3<unique> --item-name course-content --backup-management-type AzureStorage --workload-type AzureFileShare --retain-until DD-MM-YYYY
Wait for the backup job to finish: in the portal, open the vault, select Backup jobs, and wait until the job shows Completed. A recovery point does not exist until the job completes. Checking the job status is part of the lab, not optional.
- List the recovery points. Run:
az backup recoverypoint list --vault-name rsv-lab3 --resource-group rg-lab3 --container-name stcclab3<unique> --backup-management-type azurestorage --item-name course-content --workload-type azurefileshare -o table
Note the recovery point name (a long number) from the output — you need it in the next step.
- Delete the file, as the careless author did. In the portal, open the
course-contentshare and deletelesson-01.txt. Or with the CLI:
az storage file delete --share-name course-content --path lesson-01.txt --account-name stcclab3<unique>
Confirm the share is now empty. This is the moment the lab becomes real. The file is gone from the share, and the only copy is the recovery point.
- Restore the single file from the recovery point. In the portal, open the vault, select Backup items, open
course-content, select the recovery point from step 7, select Restore, choose Restore files, picklesson-01.txt, choose Original location, set Resolve conflict to Overwrite, and select Restore. Or with the CLI, replacing<rp-name>with the recovery point name from step 7:
az backup restore restore-azurefiles --vault-name rsv-lab3 --resource-group rg-lab3 --container-name stcclab3<unique> --item-name course-content --rp-name <rp-name> --resolve-conflict Overwrite --restore-mode OriginalLocation --source-file-type File --source-file-path lesson-01.txt
Wait for the restore job to complete, then open the share and confirm lesson-01.txt is back with its original content.
- Write down your RPO and RTO from what you just measured. A daily backup means the RPO is up to 24 hours. Time how long steps 6 to 9 took from "file deleted" to "file restored" — that elapsed time, plus the time to notice the deletion, is your honest RTO for a single file. If it is under the one-hour target, the design meets the business requirement; if it is not, say so and say what you would change (a second daily backup, or a snapshot policy for faster operational recovery).
Expected result
You have a Recovery Services vault protecting the course-content file share on a daily policy with 30-day retention. You have an on-demand recovery point you created yourself. You have a file you deleted and then restored from that recovery point, with the restore job showing completed. You also have a measured restore time you can defend against the one-hour RTO.
Screenshot — capture this: the vault Backup items blade showing the course-content share as protected with the prod-daily policy; and the file share listing showing lesson-01.txt present again after the restore, with the restore job status Completed.
Lab evidence: capture your own screenshot of the finished result — the protected backup item and the restored file in the share — and keep it as proof you completed the lab. A screenshot of a backup policy alone is not evidence; the restored file is.
The restore job fails with an error about the recovery point. What do you check first? Answer: whether the backup job in step 6 actually completed before you deleted the file. If you deleted the file while the backup was still running, the recovery point may not contain it — or may not exist at all. Check Backup jobs first, then re-list the recovery points.
Cost alert
| Resource created | Cost |
|---|---|
Resource group rg-lab3 | Free — a resource group is a container, not a billable resource. |
Storage account stcclab3<unique> (Standard LRS) | A few cents — LRS storage billed per GB, and the lab stores one small file. |
File share course-content | No separate charge — billed as part of the storage account. |
Recovery Services vault rsv-lab3 | Free — the vault itself is not billed. |
| Protected file share (backup) | Billable — Azure Backup charges per protected instance plus backup storage. For one tiny share this is a few dollars per month if left running, which is why you delete it the same day. |
| Recovery point storage | Billable — the snapshot copy of the share is billed as backup storage until you delete the backup item. |
Clean up — delete everything the same day you finish. Deleting the resource group deletes the vault, the storage account, and the share. But stop protection first, so no backup job starts while you are deleting. In the portal, open the vault, select Backup items, open course-content, select Stop protection, choose Delete backup data, and confirm. Or with the CLI, before deleting the resource group:
az backup protection disable --vault-name rsv-lab3 --resource-group rg-lab3 --container-name stcclab3<unique> --item-name course-content --backup-management-type AzureStorage --workload-type AzureFileShare --delete-backup-data true
Then delete the resource group:
az group delete --name rg-lab3 --yes --no-wait
In the portal: open Resource groups, select rg-lab3, select Delete resource group, type the name to confirm, and select Delete. Check the group is gone before you close the portal — and check your cost view the next day to confirm nothing is still billing.
Worked cost estimate
All figures below are at time of writing (November 2026), in US dollars, for the Canada Central region. They come from the Azure Backup pricing page, the Azure Blob Storage pricing page, and the Azure pricing calculator. Prices change by region and over time, so run the same steps in the calculator before you quote a price to anyone.
Two figures are deliberately not printed here: the per-GB price of Azure Files storage and the per-GB price of file-share snapshot storage. Both are billed inside the storage account and vary by tier and redundancy, so the calculator steps below tell you where to read them instead of printing a number that may be wrong for your account.
Worked example: you run the lab in one day, then stop protection and delete rg-lab3 the same day. Usage assumptions: one storage account holding one file share (course-content) with one file under 1 MB, one on-demand backup, one recovery point, and a daily policy with 30-day retention that never runs a second time because you delete everything the same day.
Pricing Calculator steps:
- Add Azure Backup, workload Azure Files, region Canada Central, and enter 1 protected instance with a total backed-up size under 250 GB.
- Add Storage Accounts, kind StorageV2, performance Standard, redundancy LRS, region Canada Central, and enter 0.01 GB of Azure Files storage. Read the per-GB file-share storage price from this step and use it for the recovery-point snapshot line as well, because Azure Files backup keeps its snapshots in your own storage account.
- Read the monthly total, then divide by 30 for the one-day cost, because the lab resources exist for one day, not one month.
| Resource | Tier | Monthly cost |
|---|---|---|
Resource group rg-lab3 | - | $0.00 |
Storage account stcclab3<unique> | Standard LRS | A few cents at most (one file under 1 MB; read the per-GB Azure Files price in the calculator step above) |
File share course-content | - | $0.00 (no separate charge; billed as part of the storage account) |
Recovery Services vault rsv-lab3 | - | $0.00 (the vault itself is not billed) |
| Protected file share (backup) | 1 instance, under 250 GB | $3.30 per month (60 percent of the $5.50 Azure Files protected-instance price in Canada Central; instances over 250 GB pay the full $5.50) |
| Recovery point storage | Snapshot in your storage account | A few cents at most (one snapshot copy of a file under 1 MB; billed as snapshot storage in the storage account until you delete the backup item) |
| Total | About $3.30 per month if left running; about $0.11 for one day, plus a few cents of storage |
What drives the bill: the protected-instance fee is the driver, and it is fixed per storage account, not per share. An Azure Files protected instance is defined as the storage account holding the backed-up shares. So protecting a second share in the same account adds no second instance fee, while protecting a share in a different storage account adds another $3.30 a month.
The second driver is retention: every daily recovery point keeps a snapshot copy, so 30 days of daily backups of a share that changes every day costs roughly 30 times the snapshot storage of one backup.
What would make it jump: leaving protection running for a full month (the $3.30 fee repeats every month), growing the share past 250 GB (the fee rises from $3.30 to the full $5.50), keeping 30 days of snapshots of a large or fast-changing share, or switching the storage account to geo-redundant storage, which roughly doubles the storage part of the bill.
Try it further Scenario: the auditors want proof that a restore never has to touch the live share. The company's rule is that a restore test must leave the original files exactly as they are, so a bad restore can never make things worse. In this challenge you restore lesson-01.txt a second time, but to a different file share in the same storage account, and compare the two copies. This step is portal-only for the restore itself, because the portal shows you the destination share and folder you are actually choosing. 1. Create the destination share in the same storage account. This is the same command as Lab 3 step 2, with a different share name:
az storage share create --name course-content-restore --account-name stcclab3<unique>
- List the recovery points again, exactly as in Lab 3 step 7, and note the recovery point name:
az backup recoverypoint list --vault-name rsv-lab3 --resource-group rg-lab3 --container-name stcclab3<unique> --backup-management-type azurestorage --item-name course-content --workload-type azurefileshare -o table
- In the portal, open the vault, select Backup items, open
course-content, select the recovery point from step 2, and select Restore. Choose full share recovery, and set the destination to Alternate Location: select storage accountstcclab3<unique>, select file sharecourse-content-restore, set the folder name torestored-copy, set Resolve conflict to Overwrite, and select Restore. This restores the whole share into the destination share, instead of touching the original share. 4. Wait for the restore job to complete: in the portal, open the vault, select Backup jobs, and wait until the job shows Completed. 5. Open thecourse-content-restoreshare in the portal and confirm it contains a folder namedrestored-copywithlesson-01.txtinside it. Open the file and confirm its content matches the original:the company AZ-305 course notes - do not lose. 6. Open the originalcourse-contentshare and confirmlesson-01.txtis still there, unchanged. That is the whole point of an alternate-location restore: the original was never touched. Expected result: the destination share holdsrestored-copy/lesson-01.txtwith the original content, the restore job shows Completed, and the original share is untouched. Screenshot — capture this: thecourse-content-restoreshare listing showing therestored-copyfolder withlesson-01.txtinside it, and the restore job status Completed. Lab evidence: capture your own screenshot of the restored copy in the alternate share and the completed restore job, and keep them with the Lab 3 evidence. A restore that overwrites the only copy proves nothing about safety; a restore to a second location proves the original survives. Cost note: one more restore of a file under 1 MB adds a few cents of snapshot storage at most, and no second protected-instance fee, because the destination share is in the same storage account. Stop protection and delete the backup data first, then deleterg-lab3as in the Lab 3 cleanup when you finish.
Case study 3 — Exam week must not fail
The company runs its whole platform in Canada Central. It has never had a regional outage, which is exactly why nobody has tested what would happen during one. The next exam season starts in 10 weeks. The company's largest corporate customer has just added a clause to its contract: if the practice-exam service is unavailable for more than 4 hours during an exam week, the customer can cancel the contract and claim a refund of the year's fees.
The board has asked for a business continuity design that makes that clause unreachable. They also want proof, in the form of a tested failover, before exam season starts.
This case study is the recovery design for the platform built in Case study 1. It does not redesign the application. It answers one question: when something fails, what comes back, how fast, how much data is lost, and what does it cost to be able to say so honestly.
Business requirements
- Exam week is untouchable. During the three exam weeks each year, the practice-exam service must be back within 1 hour of any failure, with no more than 5 minutes of student data lost.
- The contract clause must be unreachable. The corporate customer's 4-hour limit must be met with margin, not exactly: the design target is recovery within 1 hour for the exam service and within 4 hours for everything else.
- Ordinary weeks are cheaper. Outside exam weeks, a 4-hour recovery time and a 1-hour data-loss limit are acceptable for the storefront and the back-office tools.
- Accidents must be recoverable. A deleted course, a corrupted database, or a ransomware event must be recoverable to a point before the damage, even if the platform itself never goes down.
- Proof before exam season. A full failover drill must succeed at least once before the next exam season, without disturbing production, and the result must be written down with the measured recovery time.
- No second datacentre to run. The company will not buy, rent, or operate a second physical datacentre. The secondary site must be Azure itself.
- Keep student data in Canada. Recovery copies, backups, and the secondary region must all stay inside Canada.
- Keep the continuity bill under $1,100 a month. Backup, replication, and standby capacity together must stay under $1,100 a month in a normal month.
Technical requirements and constraints
- Workloads: 12 Azure VMs and PaaS services in Canada Central (App Service, Azure SQL Managed Instance, Cosmos DB, Blob Storage, Container Apps, Service Bus); one on-premises file server with 2 TB of course material; the on-premises SQL Server is already migrated (see Case study 2).
- Recovery objectives: practice-exam service RPO 5 minutes, RTO 1 hour; storefront RPO 1 hour, RTO 4 hours; back-office tools RPO 24 hours, RTO 24 hours; course material archive RPO 24 hours, RTO 48 hours.
- Data volumes: 420 GB enrolment database; 3 TB of video files; 2 TB of on-premises course material; about 50 GB of daily change across the estate.
- Network: the secondary region must be reachable from the office VPN, and DNS must move to the secondary region without manual edits to student bookmarks.
- Compliance: financial records must be retained for 7 years; backup copies must be protected against deletion by a compromised administrator account.
- Team: four engineers, no dedicated disaster-recovery specialist. The design must be operable by the existing team and testable in a working day.
- Existing gaps: there is no recovery plan today, no failover has ever been tested, and backups have never been restored.
- Change rate: the exam database changes fast during exam weeks (about 5 GB an hour at peak) and slowly otherwise.
Recommended architecture Recovery tiers first, services second
The design sorts every workload into a tier, then assigns a mechanism per tier. Tiering is the whole design. Giving the archive the same recovery as the exam service would waste the budget. Giving the exam service the archive's recovery would breach the contract.
| Tier | Workloads | RPO / RTO | Mechanism |
|---|---|---|---|
| Tier 1 - mission-critical Tier | Practice-exam service, enrolment database Workloads | RPO 5 min, RTO 1 hour RPO / RTO | Continuous replication, customer-managed (manual) failover Mechanism |
| Tier 2 - business-critical | Storefront web tier, customer portal | RPO 1 hour, RTO 4 hours | Azure Site Recovery, geo-replication, failover groups |
| Tier 3 - important | Back-office tools, reporting | RPO 24 hours, RTO 24 hours | Azure Backup daily, geo-redundant backups, point-in-time restore |
| Tier 4 - low impact | Course material archive, old marketing data | RPO 24 hours, RTO 48 hours | Daily backup, archive storage, manual restore |
High availability and disaster recovery are not the same thing. High availability keeps a workload running through a component or datacentre failure, usually inside one region. Disaster recovery brings a workload back in a different region after a regional outage, accepting some downtime and some data loss. This case study is about disaster recovery. The availability design (zones, scale sets) is in Case study 1, and it does not protect against a regional outage on its own.
Tier 1 - the practice-exam service
Database: Azure SQL Managed Instance failover group, Canada Central to Canada East. The enrolment database runs on Azure SQL Managed Instance (General Purpose, 4 vCores) in Canada Central — the same choice as Case study 1, because the database uses SQL Agent jobs, which Azure SQL Database cannot run. An instance failover group replicates it continuously to a secondary in Canada East, the paired region for Canada Central. Four vCores is the smallest standalone size. A 2-vCore instance is only possible inside an instance pool (Microsoft Learn, "Resource Limits - Azure SQL Managed Instance", footnote 1), and an instance pool starts at 8 vCores. So the secondary is priced at the 4-vCore rate in the cost estimate below.
Practice note: the S-11 capture shows the secondary in Central US only, because Canada East (and East US) were blocked on the trial subscription — Canada East in this design is the architect's choice of the paired region, not a region the capture session could create a secondary in. The design choice stands; the practice limitation is recorded here so nobody mistakes the capture for the design. The failover group gives one listener endpoint, so the application connects to the group name and does not need a connection-string change at failover. Failover is customer-managed (manual). The on-call duty engineer — named in the tested runbook — triggers failover immediately on a confirmed regional outage, so the 1-hour RTO is met by a human decision in minutes. Automatic (Microsoft-managed) failover is not used here. Its grace period cannot be set below one hour, so it cannot meet a 1-hour RTO, and Microsoft initiates it only in extreme circumstances. The 5-minute RPO is met because geo-replication is continuous, not a daily backup.
Web tier: warm standby behind Azure Front Door. One App Service instance (P1v3, Linux) runs in Canada East, and Front Door health-probes both regions. When the primary origin fails its probe, Front Door sends traffic to the secondary. DNS is the reason this works. Students use the Front Door hostname, so no bookmark or DNS record has to change at failover. A design that replicated the application but left DNS pointing at the dead region would fail the RTO even though the replication worked.
Attempts store: Cosmos DB, multi-region writes in Canada Central and Canada East. Cosmos DB replicates the practice-exam attempts to the secondary region continuously, with the same account and the same endpoint. So the attempts store fails over with the application instead of needing a separate recovery step.
Tier 2 - the storefront and the VMs
Azure Site Recovery (ASR) replicates the 12 VMs from Canada Central to Canada East. ASR is the exam's default answer for a regional outage with a short RTO and a multi-tier application, and it is the right one here. It replicates continuously, keeps recovery points, and orchestrates failover through a recovery plan. The Recovery Services vault lives in the target region (Canada East), not the source region. That is the vault-location fact the exam tests. The recovery plan sequences the failover: Group 1, database VMs first, waiting for healthy; Group 2, application servers, running a script to update the connection string; Group 3, web servers last, then a manual approval step. Without a recovery plan, a multi-tier application fails over in a random order and may come up broken.
Recovery points: application-consistent for the database VMs. For databases, the team fails over to an application-consistent recovery point, even though it is older than the latest crash-consistent point. A crash-consistent point is the disk state as if the machine had crashed. It can lose in-flight transactions and leave the database needing crash recovery. The application-consistent point captures in-memory data and in-flight transactions, so the database comes up clean. The RPO cost of choosing it is agreed with the business in advance, not discovered during an outage. The replication policy enables application-consistent snapshots explicitly — hourly, the minimum frequency (the configurable range is 1–12 hours). The VMware-to-Azure modernised default is Disabled, so the default policy creates none and this must be set explicitly. For Azure-to-Azure replication the default is one application-consistent snapshot every 4 hours. (The S-09 capture shows the "Disable app consistency frequency" toggle on, so that captured policy takes no application-consistent snapshots at all.)
Tier 3 and Tier 4 - backup
Azure Backup protects the VMs, the file server, and the unstructured data. Backup and replication solve different problems, and this design uses both. ASR protects against a regional outage, and Azure Backup protects against accidental deletion, corruption, and ransomware. Replication cannot help with those events, because replication copies the corruption too. Daily backups run for the VMs and the back-office data, with a 30-day retention. The course material archive is also backed up daily. Its 24-hour RPO cannot be met by a weekly backup, which would lose up to 7 days. The archive copies go to Blob Storage in the Cool tier.
The 7-year financial retention is a separate mechanism. SQL Database long-term retention keeps weekly database backups for 7 years, and backup copies are stored geo-redundantly so a regional outage does not destroy the backups as well as the data. Immutable vaults and soft delete are enabled on the Recovery Services vault, so a compromised administrator account cannot delete the backups. This is the direct answer to technical constraint 5. A backup that an attacker can delete is not a backup.
The exam loves to test the boundary between backup and replication. If the scenario mentions accidental deletion, corruption, or ransomware, the answer is a backup - replication copies the corruption too. If the scenario mentions a regional outage, the answer is replication and failover - a backup alone cannot meet a short RTO. If the scenario mentions both, recommend both.
The failover drill
A test failover runs in an isolated test network in Canada East, without touching production and without interrupting ongoing replication. The drill is run once before exam season and once a quarter after that. Each drill records the measured recovery time actual (RTA) against the RTO.
The first drill is expected to be slower than the target. That is the point of drilling. The recovery plan is updated after every drill with what was slow, and the drill is not signed off until the measured RTA is
inside the RTO for Tier 1. An untested recovery plan is a hope, not a design.
Monitoring the recovery posture
Azure Monitor alerts on replication health (ASR replication lag, failover-group replication lag, backup job failures) rather than only on the application. A replication that silently stopped three weeks ago is discovered by an alert on the first day, not by a failed failover on exam day. The Log Analytics workspace keeps 90 days of replication-health data so a trend can be shown to the auditor.

The company's enrolment database runs on a VM protected by ASR, with application-consistent snapshots taken hourly (the minimum frequency). An unplanned failover is triggered at 15:00. The latest crash-consistent point is from 14:57; the latest application-consistent point is from 14:00. Which recovery point should the team choose, and what does the choice cost? Answer: the application-consistent point from 14:00, for a database. It captures in-memory data and in-flight transactions, so the database comes up clean. The crash-consistent point is newer but is equivalent to a crash. It risks losing transactions and requiring database crash recovery. The cost is up to an hour of data (14:00 to 15:00) — the price of consistency, agreed with the business in advance when the hourly snapshot frequency was set.
Why this design (and what was rejected)
- Active-active across both regions - rejected. Active-active would give near-zero RPO and RTO, but it means running two full deployments at full cost, with write conflicts to resolve between regions. The requirement is a 1-hour RTO for one service and 4 hours for the rest, not zero downtime. So active-active buys more than the business asked for at the highest price. Active-passive hot standby meets every stated number for less.
- Backup and restore only, with no replication - rejected. A daily backup gives an RPO of up to 24 hours, which breaches the 5-minute RPO for the practice-exam service by a factor of nearly 300. Backup-and-restore is the right answer for Tier 4 and as a last-resort layer under every other pattern, but it cannot be the Tier 1 answer.
- A second physical datacentre - rejected. Business requirement 6 rules it out directly: no second datacentre to buy, rent, or operate. The secondary region in Azure is the second site, and it is also the cheaper one, because standby capacity is billed only for what runs.
- Manual failover with a runbook and no recovery plan - rejected. A runbook that says "a person will do these 40 steps" has never been tested, depends on one person being available, and has no sequencing. The ASR recovery plan sequences the tiers, runs the scripts, and can be test-failed over without disturbing production. The runbook becomes the document that describes the plan. It is not the plan itself.
- Geo-redundant storage alone as the disaster recovery design - rejected. GRS replicates blobs to the paired region, which protects the video files, but it does not restart the application, move DNS, fail over the database, or sequence the tiers. Storage replication is one component of a recovery design, not the design. Recommending it alone would leave the exam service down with its data safe in another region - the worst kind of partial success.
Cost estimate
All figures are Canada Central list prices, pay-as-you-go, at time of writing (November 2026), using a 730-hour month. Use the Azure Pricing Calculator with these inputs before committing, because prices vary by region and change over time. The first 31 days of ASR protection are free per instance, so the first month is cheaper than the steady state shown here.
Step 1 - Replication: the price of being able to fail over.
| Resource | Pricing Calculator input | Monthly cost |
|---|---|---|
| Azure Site Recovery, to Azure Resource | 12 protected instances at $25 per instance per month (after the first 31 days free) Pricing Calculator input | $300.00 Monthly cost |
| SQL failover group, secondary replica | Managed Instance, General Purpose 4 vCores in Canada East, billed at the same rate as the primary — Azure Retail Prices API, Canada Central: $0.730644/hour × 730 hours = $533.37/month (same price basis as Case study 1, base only — the secondary itself is not zone-redundant; Case study 1 specifies zone redundancy for the primary instance only, so no zone-redundancy add-on applies to this cross-region secondary. A failover-group secondary matches the primary's size and is billed like the primary). A 2-vCore secondary cannot be priced instead: Microsoft Learn ("Resource Limits - Azure SQL Managed Instance", footnote 1) states a 2-vCore instance is only possible inside an instance pool, and an instance pool starts at 8 vCores, so the standalone minimum is 4 vCores. | $533.37 |
| ASR target-region replica storage | Managed disks for the 12 replicated VMs in Canada East (storage only; compute is billed only at failover or test failover) - allowance, confirm in the calculator | about $60.00 |
| Replication subtotal | about $893.37 |
Step 2 - Backup: the price of being able to go back in time.
| Resource | Assumption and maths | Monthly cost |
|---|---|---|
| Azure Backup, protected instances | 12 VMs holding 50 to 500 GB each, at $10 per instance per month | $120.00 |
| Azure Backup storage, geo-redundant | 2,000 GB of retained backups at $0.0528/GB/month — Azure Retail Prices API, Canada Central, November 2026 ("Backup", meter "Standard GRS Data Stored"); a planning figure, derived as 30 days x ~50 GB/day of change (1,500 GB) plus one full copy of the 420 GB database (~420 GB) = ~1,920 GB, rounded to 2,000 GB. The 3 TB of video and 2 TB of on-premises material are protected as file/blob snapshots in their own storage, not counted in this vaulted-backup figure | $105.60 |
| Backup subtotal | $225.60 |
Step 3 - Standby and routing: the price of being reachable after failover.
| Resource | Assumption and maths | Monthly cost |
|---|---|---|
| Azure Front Door, Standard | Base fee $35; 200 GB out to Zone 1 at $0.0825/GB = $16.50; 5 million requests at $0.009 per 10,000 = $4.50 | $56.00 |
| App Service, P1v3 (Linux), secondary region | 1 instance, warm standby — $0.168/hour × 730 hours (Azure Retail Prices API, Canada Central, November 2026) | $122.64 |
| Cosmos DB, multi-region writes, 1,000 RU/s | 1,000 RU/s provisioned in each of 2 regions (Canada Central + Canada East) at the multi-region-write rate: 20 x 100 RU/s x $0.0176/hour x 730 hours = $256.96/month (Azure Retail Prices API, Canada Central, "100 Multi-master RU/s" $0.0176/hour, verified 7 November 2026; the book's single-region figure is $64.24 — 10 x 100 RU/s x $0.0088/hour x 730 hours — multi-region writes multiply by the number of regions and double the per-RU rate) | $256.96 |
| Blob Storage, geo-redundant Hot | 1,000 GB at $0.04/GB/month (GRS Hot, first tier, Azure Retail Prices API, Canada Central, November 2026) | $40.00 |
| Log Analytics workspace | 10 GB ingested; first 5 GB free; 5 GB at $2.30/GB | $11.50 |
| Key Vault, Standard | Estimated operations, well under 1M/month | about $1.00 |
| Standby and routing subtotal | about $488.10 |
Step 4 - Add it up.
Replication about $893.37 + backup $225.60 + standby and routing about $488.10 = about $1,607 a month. That is about $507 over the $1,100 budget in business requirement 8. The design as drawn does not meet the budget, and the honest statement is that it does not — by nearly half the budget again.
The earlier price-alignment pass had priced the Managed Instance secondary at a 2-vCore rate ($266.69), which made the total look like about $1,323, about $223 over budget. That 2-vCore price was never deployable standalone: Microsoft Learn states a 2-vCore instance is only possible inside an instance pool, and an instance pool starts at 8 vCores. At the correct standalone minimum of 4 vCores the secondary alone is $533.37, and the $1,323 total is withdrawn. The corrected total is about $1,607, about $507 over budget.
Three levers exist if the bill must come down. First, run the secondary App Service instance on a B1 (Linux) plan (about $13 a month) instead of P1v3 outside exam weeks, scaling it back to P1v3 for exam season. That saves about $110. On its own that leaves the bill at about $1,497, so it does not close the gap alone. Second, drop the ASR replica storage allowance by replicating fewer disks (only the system and data disks the application needs, not every attached disk). That saves up to about $60.
Third, move the Tier 3 backups from geo-redundant to locally redundant storage, which cuts the backup storage line from $105.60 to $49.20 (2,000 GB at the LRS rate of $0.0246/GB, Azure Retail Prices API, Canada Central, November 2026). But that means a regional outage destroys the backups as well as the data, so it should only be done for workloads whose backups already exist in a second form.
The first two levers together bring the bill to about $1,437; all three together bring it to about $1,381 — still about $281 over budget. No combination of the three levers closes the gap. Meeting the $1,100 budget needs a bigger redesign (for example, fewer ASR-protected instances, a cold-standby secondary, or single-region Cosmos DB writes for the attempts store outside exam weeks), costed in the Pricing Calculator before launch. The binding constraint is the same as in Case study 1: SQL Agent jobs force Managed Instance, whose standalone minimum is 4 vCores, so the failover-group secondary alone costs $533.37 a month before anything else is priced.
What the model answer must say. A candidate earns full marks by naming the 4-vCore minimum, stating the corrected total (about $1,607) and the gap (about $507) plainly, and recommending the replication design plus a budget revision (raise the continuity budget to about $1,381 with all three levers, or about $1,607 as drawn) or a named requirement to relax (for example, fewer ASR-protected instances, or a cold standby instead of a warm one). A candidate who claims the design fits $1,100, or that the three levers close the gap, has missed the 4-vCore minimum and is marked down.
What drives the bill. ASR protection for 12 instances ($300), the Managed Instance secondary replica ($533.37), and the Cosmos DB multi-region writes line ($256.96) together are about $1,090 — more than two-thirds of the total. All three are fixed monthly charges that do not fall when the system is idle. That is the nature of disaster recovery: you pay for the ability to recover, not for recovering.
The usage-based lines - Front Door transfer, backup storage, Log Analytics - are small by comparison. The exam-season spike that worries the business barely moves this bill, because the standby capacity is already running.
What a cheaper design would cost - and what it would lose. A backup-and-restore-only design (no ASR, no failover group, cold standby) would cost about $334 a month: backup $225.60, Front Door $56, Blob GRS $40.00, Log Analytics $11.50, Key Vault $1. But its RPO would be up to 24 hours and its RTO measured in hours to days. That breaches the 5-minute RPO and the 1-hour RTO for the exam service and makes the contract clause reachable. The $1,273 a month difference between the two designs is the price of the contract clause, stated plainly so the board can decide with the number in front of it.
Free-tier / first-month position. The first month is cheaper than the steady state. Every ASR protected instance is free for its first 31 days, so the $300 ASR line is $0 in month one. The first 5 GB of Log Analytics ingestion is free each month. Nothing else in this design has a free tier that matters at production scale, and the design should be budgeted at the steady-state $1,607 from month two onward.
Follow-up questions
The company's archived webinar recordings (2 TB) have an RPO of 7 days and an RTO of 5 days. The live enrolment database has an RPO of 5 minutes and an RTO of 1 hour. Which workload needs continuous replication, and which can use a weekly backup?
A) Both need continuous replication, because both hold student data B) The enrolment database needs continuous replication; the webinar archive can use weekly backup C) The enrolment database can use weekly backup; the webinar archive needs continuous replication D) Both can use weekly backup, because a restore measured in hours meets any RTO customer-managed failover group or Azure Site Recovery), because a weekly backup would lose up to 7 days of enrolments against a 5-minute RPO. The webinar archive can use weekly backup, because its 7-day RPO and 5-day RTO are both met by a weekly backup with a restore measured in hours — a weekly backup gives an RPO of up to 7 days, which is exactly the archive's limit. A is wrong because it spends replication money on an archive that does not need it - tiering is the skill being tested. C is wrong because it reverses the two workloads and would breach the enrolment database's RPO by days. D is wrong because a weekly backup's RPO is up to 7 days no matter how fast the restore is; restore speed fixes RTO, not RPO, and the two numbers are independent.
Correct answer: B Explanation: The enrolment database needs continuous replication (for example, a
An administrator's account is compromised, and the attacker tries to delete the company's backups before encrypting the live data. Which design feature most directly stops the attacker from destroying the backups?
A) Storing the backups in the same region as the live data, for faster restore B) Enabling immutable vaults and soft delete on the Recovery Services vault C) Replicating the live VMs with Azure Site Recovery D) Increasing the backup frequency from daily to hourly retention period, and soft delete keeps deleted backup items recoverable for 14 days, so a compromised administrator account cannot destroy the backups - which is exactly the attack this question describes. A is wrong because storing backups in the same region makes them easier, not harder, to destroy alongside the live data; geo-redundant storage is the better choice. C is wrong because ASR replicates live data, including corrupted or encrypted data - replication copies the damage, so it is not a defence against ransomware. D is wrong because more frequent backups give the attacker more backup copies to delete, not fewer; frequency improves RPO, not protection against deletion.
Correct answer: B Explanation: Immutable vaults prevent backup data from being deleted or modified for a
The company replicates its VMs to Canada East with Azure Site Recovery. Where should the Recovery Services vault live, and why does it matter?
A) In Canada Central, the source region, so it is close to the VMs being protected B) In Canada East, the target region, so it survives the loss of the source region C) In a third region, so neither a source nor a target outage can reach it D) On-premises, so it is under the company's physical control region, because the vault holds the replication metadata and the recovery plan that must be available when the source region is gone; a vault in the source region would be lost in exactly the outage it exists to recover from. A is wrong because it puts the recovery control plane in the region that is expected to fail. C is wrong because ASR does not work that way - the vault is a property of the target region's replication setup, and a third region adds cost and complexity for no recovery benefit. D is wrong because an on-premises vault cannot orchestrate Azure-to-Azure replication and would itself be a single point of failure in the office.
Correct answer: B Explanation: For Azure-to-Azure replication, the Recovery Services vault lives in the target
A ransomware event encrypts the live enrolment database at 14:00. The last clean backup is from 06:00, and replication has been copying the encrypted data to the secondary region since 14:05. Which recovery action restores the database, and why?
A) Fail over to the secondary region with Azure Site Recovery, because replication is continuous B) Restore the database from the 06:00 backup, because replication copied the encryption C) Fail over to the latest crash-consistent recovery point, because it is the newest available D) Wait for the next scheduled backup and restore from that restoring from it returns the database to a clean state; the data loss is the 8 hours between 06:00 and 14:00, which is the price of the backup interval and should have been agreed against the RPO in advance. A is wrong because ASR replication has been copying the encrypted data since 14:05 - failing over to the secondary region would bring up an encrypted database, not a clean one. C is wrong for the same reason: the newest recovery point is also encrypted, and newest does not mean clean when the damage is replicated. D is wrong because the next scheduled backup would back up the encrypted database, producing a clean-looking backup of encrypted data, and waiting only makes the outage longer.
Correct answer: B Explanation: The 06:00 backup is the last copy of the data before the encryption, so
Chapter 3 addendum — Business continuity
Common mistakes and exam traps — Business continuity
- Treating RTO and RPO as interchangeable. The exam gives a workload an RPO of 15 minutes and an RTO of 4 hours, and offers a design that meets one number as if it meets both. RPO is the maximum data loss measured in time, while RTO is the maximum downtime after a disruption, and they are independent: a workload can demand a tight RPO with a loose RTO, or the reverse. The correct principle is to read each number separately and match each to a different mechanism — RPO to replication or backup frequency, RTO to automation, pre-provisioned capacity, and failover orchestration.
- Using backup where replication is needed, or replication where backup is needed. The exam describes an accidental deletion and offers Azure Site Recovery, or a regional outage and offers Azure Backup. Replication copies the corruption and the deletion too, so it cannot undo them; a backup restores data but does not restart an application in another region within minutes. The correct principle is to name the failure first: deletion, corruption, or ransomware means backup, while a regional outage with a short RTO means replication and failover.
- Choosing active-active because it sounds safest. The exam pairs a modest RTO with "minimise cost" and offers active-active as the answer. Active-active runs two full deployments and is the most expensive pattern, justified only when the business genuinely cannot tolerate minutes of downtime. The correct principle is to tier the design: active-passive hot standby for Tier 1 and 2, cold standby or backup-and-restore for Tier 3 and 4, and to spend the savings where the RPO and RTO actually demand it.
- Believing an availability set survives a datacentre failure. The exam says an application "must survive the loss of a whole datacentre" and offers an availability set. An availability set spreads VMs across fault and update domains inside one datacentre, so it protects against a rack failure and planned maintenance — not a datacentre loss. The correct principle is to read the failure scope in the requirement: a datacentre failure needs availability zones (99.99% VM SLA) or a multi-region design, and an availability set only reaches 99.95%.
- Recommending GRS when the requirement is to keep reading during an outage. The exam says blobs must stay readable during a primary-region outage and offers geo-redundant storage. GRS hides the secondary copy until a failover, so nothing can be read from it while the primary is down. The correct principle is that read availability during an outage needs RA-GRS or RA-GZRS, which expose a readable secondary endpoint at all times.
- Confusing durability with availability. The exam cites 16 nines of durability for GRS and treats it as proof the application will stay up. Durability is the probability that stored data is not lost over a year; availability is the probability that the service answers requests, and GRS without read access gives only 99.9% write availability. The correct principle is to check both numbers separately: durability answers "will the data survive?", availability answers "can anyone reach it right now?".
- Putting the Site Recovery vault in the source region. The exam asks where the Recovery Services vault belongs for Azure-to-Azure replication and offers the source region as the natural home. The vault must be created in any region except the source region — in practice, the target region — because a vault in the region that just failed cannot orchestrate the failover out of it. The correct principle is that the control plane for recovery lives where the recovery happens, not where the failure happens.
- Failing a database over to the newest crash-consistent recovery point. The exam offers a crash-consistent point from 2 minutes ago against an application-consistent point from 40 minutes ago, and the newer one looks obviously better. A crash-consistent point is the disk state as if the machine had crashed: it captures no in-memory data and no in-flight transactions, so a database failed over to it needs crash recovery and can lose committed work. The correct principle is that for databases, the application-consistent point is the right choice even though it is older — and the RPO cost of that choice should have been agreed with the business in advance.
- Trusting soft delete alone against a compromised administrator. The exam requires that even a compromised Global Administrator cannot delete VM backups, and offers soft delete as the answer. Soft delete retains deleted backup data for a window, but a privileged account can disable it without a second approver. The correct principle is to layer the controls: a locked immutable vault stops the deletion itself, and multi-user authorisation through a Resource Guard stops the attacker disabling the protection first.
- Putting a free-tier database in an auto-failover group. The exam describes a free-offer Azure SQL Database that must survive a regional outage and offers a failover group. A free-tier database cannot be part of a failover group at all: the free offer also locks all free databases in the subscription to a single region, and geo-redundant backup storage requires switching the free-offer behaviour from auto-pause to billable ("Continue using for additional charges"). The correct principle is to check tier limitations before recommending a feature — the cheapest tier often excludes exactly the capability the scenario demands.
Architect's decision checklist — Business continuity
Use this checklist on exam day. If you cannot answer an item from the scenario, the scenario probably has not given you that fact — and the exam is testing whether you notice it is missing.
| Check | Why it matters |
|---|---|
| [ ] RPO and RTO: read separately, in numbers? | A tight RPO does not imply a tight RTO. Match RPO to replication/backup frequency and RTO to automation and pre-provisioned capacity. |
| [ ] Failure type: deletion, outage, or disaster? | Deletion or corruption = backup or PITR; component or datacentre failure = high availability; regional outage = disaster recovery. |
| [ ] Tier: which recovery tier is this workload? | Tier 1 = continuous replication; automatic failover only if RTO ≥ 1 hour — a 1-hour RTO needs customer-managed failover; Tier 3 = daily backup; Tier 4 = daily backup. Over-protecting Tier 4 wastes the budget Tier 1 needs. |
| [ ] Recovery plan: are the tiers sequenced, with DNS included? | A replicated VM is useless if DNS still points at the dead region and the database fails over after the web tier. Sequence databases first, then app, then web. |
| [ ] Testing: has a test failover ever run, with RTA measured? Check | An untested plan is a hope, not a design; only a measured test failover proves the RTO. Why it matters |
| [ ] Database retention: does PITR cover the discovery delay? | Retention must cover the longest plausible time between a bad change and its discovery, not just the change itself; LTR covers compliance years. |
| [ ] Regional DR for databases: failover group, geo-replication, or geo-restore? | Failover group = customer-managed (manual) failover for a sub-hour RTO — the automatic (Microsoft-managed) policy needs a grace period of at least 1 hour — RPO typically under 5 seconds, stable listener; geo-restore = backup-based, RPO about 1 hour, restore measured in hours. |
| [ ] Vault type: Recovery Services or Backup vault? | VMs, SQL in VMs, and Azure Files go in a Recovery Services vault; blobs, managed disks, and PostgreSQL go in a Backup vault. |
| [ ] Cross-region restore: enabled on the vault before the outage? | It is not on by default; enable it before the outage — it applies to recovery points created after it is enabled, and archive-tier recovery points are never eligible for cross-region restore. |
| [ ] Compute HA: weakest tier sets the ceiling? | A zone-redundant web tier (99.99%) in front of a single-instance database (99.9%) is a 99.9% application at best — composite SLA is the product of the tiers. |
| [ ] State: does the compute tier hold any state? | Sessions in VM memory die with the VM; externalise state to a zone-redundant store so any instance can serve any user after a failure. |
| [ ] Ransomware: immutability plus a second approver? | Soft delete alone can be disabled by a privileged account; locked immutability plus multi-user authorisation is the combination that holds. |
End-of-chapter check questions
The company's payment database has an RPO of 0 and an RTO of 15 minutes. Which design meets it?
A) Daily Azure Backup B) Synchronous replication with automatic failover in the region, plus a cross-region failover group C) Weekly backup to archive storage D) GRS storage without read access
A developer deletes a table in Azure SQL Database. The deletion is discovered 3 days later. The database has the default PITR retention. What should you do?
A) Use geo-restore B) Restore to a point in time before the deletion, creating a new database C) Fail over the auto-failover group D) Restore from the secondary region's GRS copy
Which service orchestrates the sequenced failover of a multi-tier application to a second region?
A) Azure Backup B) Azure Site Recovery with a recovery plan C) Azure Traffic Manager alone D) Azure Policy
Two VMs in an availability set carry which VM SLA?
A) 99.9% B) 99.95% C) 99.99% D) 99.999%
The company needs its blobs readable during a primary-region outage. Which redundancy should you recommend?
A) LRS B) ZRS C) GRS D) RA-GRS
A Cosmos DB account in two regions with multi-region writes carries which availability SLA?
A) 99.9% B) 99.99% C) 99.995% D) 99.999%
A 7-year retention requirement for Azure SQL backups is met by which feature?
A) PITR with 35-day retention B) Long-term retention (LTR), up to 10 years C) Geo-restore D) Active geo-replication
A compromised administrator must not be able to delete VM backups. Which combination is strongest?
A) Soft delete only B) Immutable vault (locked) plus multi-user authorisation via a Resource Guard C) A longer retention policy D) Cross-region restore
SQL Server on VMs needs zero-data-loss failover inside a region. Which feature should you recommend?
A) Log shipping B) Always On availability group in synchronous-commit mode C) Azure Backup daily D) Active geo-replication
What is the default recovery-point retention in an Azure Site Recovery replication policy, and how often are crash-consistent points created for Azure-to-Azure replication?
A) 7 days; every hour B) 24 hours; every 5 minutes C) 30 days; every 30 seconds D) 24 hours; every 24 hours
Answer key
Chapter 3 addendum — based on the official Microsoft AZ-305 exam objectives (skills measured April 17, 2026). Unofficial study material — not affiliated with or endorsed by Microsoft.
Want the full Microsoft Azure Solutions Architect Expert (AZ-305) package?
This guide is free to read. Get the downloadable PDF guidebook plus the full 700-question AZ-305 practice exam with 3 months of online access.
Get AZ-305 Full Access — $10