Bitzu

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

Single choice

Which redundancy option keeps data readable and writable in the primary region if one availability zone fails, without copying it to another region?

  1. LRS
  2. ZRS
  3. GRS
  4. 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.

Select all that apply

Which statements about geo-redundant storage (GRS and GZRS) are true?

  1. Data is copied to the secondary region asynchronously
  2. Within the secondary region, data is stored using LRS
  3. Without RA-, the secondary is readable only after a failover
  4. You can choose any region as the secondary
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More AZ-305 topics in this module