All exams← All Azure Administrator (AZ-104) notes

Storage configuration & management: Azure Administrator (AZ-104) revision notes

Revision notes

Storage accounts: the basics

An Azure storage account is the top-level container for blobs, files, queues, tables and disks. Name must be globally unique, 3-24 characters, lowercase letters and numbers only.

Performance tiers:

  • Standard: HDD-based, general purpose, cheapest.
  • Premium: SSD-based, low latency, used for VM disks, block blobs or file shares needing high IOPS.

Redundancy (replication) options:

  • LRS (Locally Redundant Storage): 3 copies in one datacentre, cheapest, no protection against datacentre failure.
  • ZRS (Zone Redundant Storage): 3 copies across availability zones in one region.
  • GRS (Geo-Redundant Storage): LRS copy plus async copy to a paired region (6 copies total, secondary not readable by default).
  • RA-GRS: same as GRS but the secondary region is readable.
  • GZRS / RA-GZRS: combines ZRS in primary region with geo-replication.

Access tiers for blob storage

Used to balance storage cost against access cost:

  • Hot: frequent access, higher storage cost, lowest access cost.
  • Cool: infrequent access (30+ days), lower storage cost, higher access cost, minimum 30-day retention.
  • Cold: rarely accessed (90+ days), even lower storage cost, minimum 90-day retention.
  • Archive: rarely accessed, cheapest storage, but offline — rehydration takes hours (standard priority up to 15 hours, high priority faster), minimum 180-day retention.

Lifecycle management policies automate moving blobs between tiers or deleting them based on age rules — a favourite exam scenario is cost optimisation using these rules.

Security essentials

  • Shared Key (account key): full access, rotate regularly, avoid where possible.
  • Shared Access Signatures (SAS): time-limited, scoped tokens (account SAS, service SAS, or user delegation SAS backed by Azure AD — most secure).
  • Storage Firewall and Virtual Networks: restrict access to selected networks; 'Allow trusted Microsoft services' bypasses the firewall for select services.
  • Encryption at rest is enabled by default (Microsoft-managed keys); customer-managed keys via Key Vault are optional.
  • Secure transfer required (HTTPS only) should stay enabled.

Common mistakes to avoid

  • Confusing GRS (not readable) with RA-GRS (readable secondary) — a classic exam trap.
  • Forgetting that changing redundancy from LRS to GRS/ZRS can incur a one-off data transfer cost and requires the account to be unlocked/re-configured.
  • Applying an Archive tier and expecting instant reads — it must be rehydrated first.
  • Thinking Azure Files only supports SMB — it also supports NFS on Premium file shares (Linux-friendly).
  • Forgetting Azure File Sync caches files locally on a Windows Server via cloud tiering, while still keeping the full set in Azure Files.

AzCopy and Storage Explorer

AzCopy is the command-line tool for high-performance bulk copy/move/sync of blobs and files; Storage Explorer gives a GUI. Both support async copy jobs between storage accounts, including cross-region.

Key facts

Flashcards

What are the constraints on an Azure storage account name?
Globally unique, 3-24 characters, lowercase letters and numbers only.
tap to reveal
What is the key difference between GRS and RA-GRS?
Both replicate to a paired region, but RA-GRS makes the secondary region readable; plain GRS does not.
tap to reveal
Which redundancy option replicates across availability zones in a single region?
ZRS (Zone Redundant Storage).
tap to reveal
What is the minimum retention period before moving a blob to the Cool tier without an early-deletion penalty?
30 days.
tap to reveal
What is the minimum retention period for the Archive tier?
180 days.
tap to reveal
Can you read an Archive-tier blob immediately?
No — it must be rehydrated first, which can take up to around 15 hours at standard priority.
tap to reveal
What automates moving blobs between access tiers based on age or activity?
A lifecycle management policy.
tap to reveal
What is the most secure type of Shared Access Signature and why?
A user delegation SAS, because it is secured with Azure AD credentials rather than the account key.
tap to reveal
Which performance tier should you pick for VM disks needing high IOPS and low latency?
Premium (SSD-based).
tap to reveal
Which protocols does Azure Files support?
SMB, and NFS on Premium file shares.
tap to reveal
What Azure setting restricts a storage account to specific networks or IP ranges?
The storage account Firewall and virtual networks setting.
tap to reveal
What tool would you use for a fast, scriptable bulk copy of blobs between storage accounts?
AzCopy.
tap to reveal
Is encryption at rest enabled by default on a new storage account?
Yes, using Microsoft-managed keys; customer-managed keys via Key Vault are optional.
tap to reveal
What happens to redundancy cost if you change LRS to GRS on an existing account?
It can incur a one-off data transfer charge to replicate existing data to the secondary region.
tap to reveal
Practice questions

Storage configuration & management: 5 practice questions

Q1. You create a new general-purpose v2 storage account and accept the default redundancy setting. Which replication option is applied?
  • A.  Geo-redundant storage (GRS)
  • B.  Geo-zone-redundant storage (GZRS)
  • C.  Locally redundant storage (LRS)
  • D.  Zone-redundant storage (ZRS)
Show answer & explanation
✓ Answer: C. Locally redundant storage (LRS)
LRS is the default redundancy option for a new storage account, replicating three synchronous copies within a single datacenter in the primary region. GRS, ZRS and GZRS must be explicitly selected and cost more because they protect against zone or region failure.
Q2. An administrator needs the highest availability and durability for a storage account, protecting against both an entire datacenter outage and a regional disaster, while still being able to read data from the secondary region during an outage.
  • A.  LRS
  • B.  ZRS
  • C.  RA-GZRS
  • D.  RA-GRS
Show answer & explanation
✓ Answer: C. RA-GZRS
RA-GZRS combines zone redundancy in the primary region with geo-replication to a secondary region, and the read-access (RA) prefix allows reads from the secondary even during an outage. Plain GZRS replicates geographically but does not permit reads from the secondary unless RA is enabled.
Q3. Which statement about Zone-Redundant Storage (ZRS) is correct?
  • A.  It is only available for Azure Files Premium tier
  • B.  It replicates data to three random regions worldwide
  • C.  It asynchronously replicates data to a paired secondary region
  • D.  It synchronously replicates data across three availability zones in the primary region
Show answer & explanation
✓ Answer: D. It synchronously replicates data across three availability zones in the primary region
ZRS synchronously writes copies of data across three physically separate availability zones within the same region, protecting against a zone-level failure. Geo-replication to a secondary region is what GRS/GZRS add, not ZRS alone.
Q4. A blob container holds data that is accessed frequently for the first 30 days after creation and then almost never accessed. You want to minimize storage costs while keeping data immediately readable at all times without a rehydration delay. Which access tier combination should you use with a lifecycle management rule?
  • A.  Hot for 30 days, then move to Archive
  • B.  Hot for 30 days, then move to Cool
  • C.  Archive for 30 days, then move to Hot
  • D.  Cool for 30 days, then move to Archive
Show answer & explanation
✓ Answer: B. Hot for 30 days, then move to Cool
Cool tier still allows immediate online access with no rehydration delay, just higher access costs and lower storage costs than Hot, making it ideal for infrequently accessed but still readable data. Archive tier requires a rehydration process (hours) before data can be read, which would break the 'immediately readable' requirement.
Q5. You need to read a blob that currently sits in the Archive access tier. What must you do first?
  • A.  Nothing, Archive blobs can be read directly like Hot or Cool blobs
  • B.  Change the blob's access tier to Hot or Cool to rehydrate it, then wait for the operation to complete
  • C.  Delete and recreate the blob in the Hot tier
  • D.  Enable soft delete on the storage account
Show answer & explanation
✓ Answer: B. Change the blob's access tier to Hot or Cool to rehydrate it, then wait for the operation to complete
Archive tier is offline storage; blobs must be rehydrated by changing the tier to Hot or Cool (or using a Copy Blob operation) before they can be read, and rehydration can take several hours depending on priority. Attempting to read an Archive blob without rehydrating it returns an error.
Test yourself
See the Azure Administrator (AZ-104) page

More Azure Administrator (AZ-104) topics