Storage accounts, redundancy and encryption
Choose the right account type, understand every redundancy option by breaking things in a simulator, and control encryption keys.
In this lesson you'll learn
- Account types, performance tiers and service endpoints
- LRS, ZRS, GRS, GZRS and the read-access variants
- Account failover and changing redundancy
- Microsoft-managed keys, customer-managed keys and encryption scopes
1. What a storage account is
New to Azure Storage? Start here
A storage account is a container for data services, reachable over HTTPS from anywhere. One account can hold four services: Blob (files and objects), Files (network shares), Queues (messages) and Tables (simple NoSQL data).
The account name must be globally unique, 3 to 24 lowercase letters and numbers, because it becomes part of every URL.
https://stsskaiser.blob.core.windows.net/invoices/2026/march.pdf
Other services: file, queue, table, dfs (Data Lake) and web (static website)
| Account type | Performance | Use it for |
|---|---|---|
| Standard general-purpose v2 | Standard (HDD) | Almost everything. Supports all services, tiers and redundancy options. |
| Premium block blobs | Premium (SSD) | High transaction, low latency blob workloads |
| Premium file shares | Premium (SSD) | Fast SMB and NFS shares |
| Premium page blobs | Premium (SSD) | Unmanaged VM disks (legacy) |
Exam focus
Performance (Standard or Premium) cannot be changed after creation. Legacy general-purpose v1 accounts lacked access tiers, lifecycle management and ZRS. They were retired on 13 October 2026 and moved to general-purpose v2, but older exam questions may still say the fix is to "upgrade to general-purpose v2".
2. Redundancy: how many copies, and where
Azure always keeps at least three copies of your data. The redundancy option decides where those copies live, which decides what kind of failure you survive.
| Option | Copies | Survives |
|---|---|---|
| LRS | 3 in one datacenter | Disk and rack failures |
| ZRS | 3 across three availability zones | A whole datacenter or zone failing |
| GRS | 3 local + 3 in the paired region | A whole region failing (after failover) |
| GZRS | 3 across zones + 3 in the paired region | Zone failure with no downtime, and region failure after failover |
| RA-GRS / RA-GZRS | As above | Same, plus you can read the secondary copy at any time |
Try it: break something
Pick a redundancy option, then a failure. The simulator shows which copies survive and whether your apps can still read and write.
Try it in the app. This lesson has an interactive redundancy picker here. Open the lesson in the exam app
Example
SS Kaiser stores order invoices it must keep for seven years. Losing them would break UK tax rules. The team picks GZRS: a datacenter fire in UK South causes no downtime, and if the whole region failed they could fail over to UK West. Product images can be re-uploaded, so those go in a cheaper LRS account.
3. Failover and changing redundancy
- Customer-managed failover: if the primary region is down, you promote the secondary to primary. The account becomes LRS in the new region, and data written after the Last Sync Time may be lost.
- LRS to GRS (or back) is a simple setting change.
- Adding zones (LRS to ZRS, GRS to GZRS) is done by requesting a conversion, which runs with no downtime in supported regions.
4. Encryption
All data is encrypted at rest automatically with 256-bit AES. You cannot turn it off. What you choose is who manages the key.
| Option | When to use it |
|---|---|
| Microsoft-managed keys | The default. Nothing to manage. |
| Customer-managed keys | Compliance requires you to control, rotate or revoke the key. The key lives in Key Vault or Managed HSM and must be RSA (2048, 3072 or 4096 bits). |
| Encryption scopes | Different keys for different containers or blobs in one account, for example one per customer. |
| Infrastructure encryption | A second layer of encryption for highly regulated data. It must be enabled when the account is created. |
For data in transit, Secure transfer required rejects plain HTTP, and Minimum TLS version blocks old clients.
Exam traps to remember
- GRS secondary data cannot be read until failover. "Must read from the secondary" means RA-GRS or RA-GZRS.
- The cheapest option that survives a region failure is GRS.
- LRS keeps 3 copies. GRS and GZRS keep 6 in total.
- Customer-managed keys for storage must be RSA keys, with a maximum of 4096 bits.
Test yourself: 3 check questions and exam-style practice questions on this topic are in the AZ-104 Azure Administrator app.
Practise in the app