Azure Storage Redundancy Explained
Storage redundancy questions appear frequently on AZ-900, and they're designed to test whether you understand what each option actually protects against — not just whether you've memorised the acronyms.
Locally-redundant storage (LRS) replicates your data three times within a single physical datacentre. It protects against hardware failure — a failed disk or server — but offers no protection if the entire datacentre goes offline.
Zone-redundant storage (ZRS) replicates your data across three availability zones within a single region. Availability zones are physically separate datacentres with independent power, cooling, and networking, so ZRS protects against a datacentre-level failure that LRS cannot survive.
Geo-redundant storage (GRS) replicates your data to a second, geographically distant paired region, in addition to the local redundancy in the primary region. This protects against a regional disaster — something that takes an entire region offline, which neither LRS nor ZRS can survive.
Geo-zone-redundant storage (GZRS) combines the two highest protection levels: zone-redundant storage in the primary region, plus geo-replication to a secondary region. This is the strongest protection Azure offers, surviving both a datacentre failure in the primary region and a full regional disaster.
The exam almost always signals which option is correct through specific language in the scenario. 'Survive a server failure' points to LRS. 'Survive a datacentre failure' or 'stay available if one building goes offline' points to ZRS. 'Survive a regional disaster' or 'a natural disaster affects the entire region' points to GRS or GZRS.
The four options side by side
| Option | Copies in the primary region | Copies in the secondary region | Protects against |
|---|---|---|---|
| LRS | 3, in one datacentre | None | Disk and server failure |
| ZRS | 3, across three availability zones | None | Datacentre failure |
| GRS | 3, in one datacentre | 3, in one datacentre | Regional disaster |
| GZRS | 3, across three availability zones | 3, in one datacentre | Datacentre failure and regional disaster |
Reading the secondary copy
With GRS and GZRS, the copy in the secondary region cannot normally be read. It becomes available only after a failover. If an application needs to read from the secondary region at any time, choose the read-access versions, RA-GRS or RA-GZRS.
Replication to the secondary region is asynchronous, so a small amount of the most recent data can be lost if the primary region fails suddenly. Replication between zones is synchronous.
Cost and choice
Each step up costs more, so the right choice depends on what the data is worth. LRS is the cheapest and suits data that can be recreated. ZRS suits applications that must stay available within one region. GRS and GZRS suit data that must survive a regional disaster, or that regulations require to be held in two locations.
Traps to watch for
- Redundancy is not backup. Every copy reflects the same deletions and overwrites.
- ZRS keeps data in one region, which can matter for data residency rules.
- GRS does not use availability zones in the primary region. GZRS does.
- Redundancy is chosen for the storage account. It is separate from the access tier (hot, cool, cold or archive).
A financial services company needs their data to remain accessible even if an entire Azure region becomes unavailable due to a natural disaster, and also wants the highest available protection against a single datacentre failure within the primary region. Which redundancy option should they choose?
Ready to test yourself on the full syllabus?