Storage accounts, redundancy and encryption

AZ-104 Azure AdministratorStorageAbout 25 minutesBy Cloud Hands On

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

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)

Only the service word changes between services. The account name always comes first.
Account typePerformanceUse it for
Standard general-purpose v2Standard (HDD)Almost everything. Supports all services, tiers and redundancy options.
Premium block blobsPremium (SSD)High transaction, low latency blob workloads
Premium file sharesPremium (SSD)Fast SMB and NFS shares
Premium page blobsPremium (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.

OptionCopiesSurvives
LRS3 in one datacenterDisk and rack failures
ZRS3 across three availability zonesA whole datacenter or zone failing
GRS3 local + 3 in the paired regionA whole region failing (after failover)
GZRS3 across zones + 3 in the paired regionZone failure with no downtime, and region failure after failover
RA-GRS / RA-GZRSAs aboveSame, 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.

OptionWhen to use it
Microsoft-managed keysThe default. Nothing to manage.
Customer-managed keysCompliance 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 scopesDifferent keys for different containers or blobs in one account, for example one per customer.
Infrastructure encryptionA 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

Keep going