AZ-305 ยท Semi-structured and unstructured data design
Choosing storage redundancy
LRS, ZRS, GRS, RA-GRS, GZRS, RA-GZRS: what each protects against, read access to the secondary, which services and account types support which option.
Key points
- LRS: one datacenter (11+ nines).
- ZRS: synchronous copies across 3+ zones, survives a zone outage (12 nines).
- GRS: LRS plus asynchronous copy to the paired region; GZRS: ZRS plus that copy.
- Secondary readable only after failover; RA-GRS, RA-GZRS add the account-name-secondary endpoint.
- Premium block blob, SSD file shares, managed disks: LRS, ZRS only.
- Azure Files never reads the secondary; archive: LRS, GRS, RA-GRS.
Source: https://learn.microsoft.com/en-us/azure/storage/common/storage-redundancy
Practice questions
Which redundancy option keeps data readable and writable in the primary region if one availability zone fails, without copying it to another region?
- LRS
- ZRS
- GRS
- GZRS
Show answer
Answer: B. ZRS
ZRS replicates synchronously across three or more availability zones in the primary region, so reads and writes continue when a zone is lost. LRS keeps all copies in one datacenter, and GRS/GZRS add a secondary region, which the question excludes.
Which statements about geo-redundant storage (GRS and GZRS) are true?
- Data is copied to the secondary region asynchronously
- Within the secondary region, data is stored using LRS
- Without RA-, the secondary is readable only after a failover
- You can choose any region as the secondary
- Writes succeed only after reaching the secondary region
Show answer
Answer: A. Data is copied to the secondary region asynchronously, B. Within the secondary region, data is stored using LRS, C. Without RA-, the secondary is readable only after a failover
Replication to the secondary region is asynchronous, so a regional disaster can lose the most recent writes (the RPO). Within the secondary region data is kept with LRS. Without the RA- variant, the secondary cannot be read until a failover happens. You cannot pick any secondary region: it is the paired region, and replication to it is not synchronous.
If an Azure file share lives in an RA-GRS storage account, clients can read the share from the secondary region during a primary outage.
Show answer
Answer: False
False. Azure Files does not support read access to the secondary region. A share in an RA-GRS or RA-GZRS account is billed and behaves as GRS or GZRS, so the secondary becomes usable only after an account failover.
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.
