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.
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