AZ-900 ยท Storage and data migration
Storage redundancy options
LRS, ZRS, GRS, GZRS and the read-access variants: how many copies, where they live and which failures each option survives.
Key points
- LRS: copies in one datacenter; cheapest; survives drive, server and rack failures, not datacenter loss.
- ZRS: synchronous copies across 3+ availability zones; survives a zone outage.
- GRS: LRS plus async copy to the paired secondary region (LRS there).
- GZRS: ZRS plus async copy to the secondary.
- Secondary readable only after failover; RA-GRS and RA-GZRS: at any time.
- Asynchronous geo-replication: latest writes can be lost.
Source: https://learn.microsoft.com/en-us/azure/storage/common/storage-redundancy
Practice questions
Which redundancy option keeps all copies of your data inside a single datacenter?
- Locally redundant storage (LRS)
- Zone-redundant storage (ZRS)
- Geo-redundant storage (GRS)
- Geo-zone-redundant storage (GZRS)
Show answer
Answer: A. Locally redundant storage (LRS)
Locally redundant storage replicates data within one physical datacenter in the primary region. ZRS spreads copies across availability zones, and GRS also copies data to a secondary region.
Which redundancy options copy your data to a secondary region?
- GRS
- GZRS
- RA-GZRS
- ZRS
- LRS
Show answer
Answer: A. GRS, B. GZRS, C. RA-GZRS
GRS, GZRS and their read-access variants such as RA-GZRS all replicate asynchronously to the paired secondary region. LRS and ZRS keep data only in the primary region.
With plain GRS, an application can read data from the secondary region at any time, even while the primary region is healthy.
Show answer
Answer: False
False. With GRS or GZRS the secondary copy is not readable unless a failover happens. Continuous read access to the secondary requires RA-GRS or RA-GZRS.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
