Configure & Manage Azure Storage Accounts and Redundancy (AZ-104)
A storage account is the top-level container for all your Azure Storage data — blobs, files, queues, and tables — and the AZ-104 exam expects you to create one with the right account kind, performance tier, and, above all, the right redundancy. The default account kind is general-purpose v2, which supports every service and access tier; you choose Standard performance for most workloads and Premium for low-latency needs. Redundancy is the decision that dominates this topic: LRS keeps three copies in one datacenter, ZRS spreads them across availability zones, and GRS and GZRS replicate to a second region hundreds of miles away — with read-access variants RA-GRS and RA-GZRS that let you read from the secondary region. This lesson also covers object replication between accounts, encryption at rest (always on), and moving data with Azure Storage Explorer and AzCopy so you can manage a storage account end to end.
On this page7 sections
- Creating a storage account: account kinds and performance tiers
- Understanding Azure Storage redundancy
- Read-access geo-redundant storage: RA-GRS and RA-GZRS
- Object replication between storage accounts
- Storage account encryption at rest
- Managing data with Azure Storage Explorer and AzCopy
- Scenario: choosing redundancy for a regional outage
- Create a storage account and choose the correct account kind and performance tier
- Select the right redundancy option (LRS, ZRS, GRS, GZRS) for a durability and availability requirement
- Explain read-access geo-redundant storage and when RA-GRS or RA-GZRS is required
- Configure object replication to asynchronously copy block blobs between storage accounts
- Describe storage account encryption at rest, including customer-managed keys and infrastructure encryption
- Move and manage data using Azure Storage Explorer and AzCopy
Creating a storage account: account kinds and performance tiers
A storage account provides a unique namespace in Azure for your data and is the resource you create before you can store a single blob or file. When you create one, three early choices shape everything that follows: account kind, performance tier, and redundancy (covered in the next section).
For account kind, the modern default is general-purpose v2 (GPv2). It supports all storage services — blobs, files, queues, and tables — and all access tiers (hot, cool, cold, and archive), so it is the right answer for virtually every new account. Older kinds still appear in questions: general-purpose v1 is legacy and lacks access tiers, BlobStorage is a superseded blob-only kind, and premium block blob, premium file shares, and premium page blob accounts are specialized premium options.
For performance, you choose between two tiers. Standard uses magnetic disks, is the most cost-effective, and suits the majority of workloads. Premium uses solid-state disks for low latency and high transaction rates and is required for scenarios such as premium file shares or high-performance block-blob workloads; premium is a specific account kind chosen at creation, not a switch you flip later. Other settings you set at creation include the region, subscription, and resource group. On the exam, unless a scenario calls out low latency or premium file shares, general-purpose v2 with Standard performance is the expected default.
Understanding Azure Storage redundancy
Redundancy determines how many copies of your data Azure keeps and where, and it is the single most tested concept in this topic. Every option keeps at least three copies; they differ in whether those copies survive a hardware fault, a whole-datacenter (zone) failure, or an entire region going down.
The four base options build on each other. Locally redundant storage (LRS) keeps three copies within a single datacenter — the cheapest, but a datacenter disaster loses the data. Zone-redundant storage (ZRS) spreads three copies across three availability zones in one region, surviving the loss of a zone. Geo-redundant storage (GRS) keeps three LRS copies in your primary region and asynchronously copies the data to a paired secondary region hundreds of miles away, surviving a full regional outage. Geo-zone-redundant storage (GZRS) is the premium combination: ZRS in the primary region plus geo-replication to the secondary — the highest durability.
| Option | Copies and spread | Protects against |
|---|---|---|
| LRS | 3 copies, one datacenter | Disk and server failures |
| ZRS | 3 copies across 3 availability zones | A datacenter or zone outage |
| GRS | LRS primary plus async copy to a second region | A full region outage |
| GZRS | ZRS primary plus async copy to a second region | Zone outage and region outage |
| RA-GRS | GRS plus read access to the secondary | Region outage, with read from secondary |
| RA-GZRS | GZRS plus read access to the secondary | Zone and region outage, read from secondary |
On the exam, survive a full region outage means GRS or GZRS, while survive a datacenter outage but stay in one region means ZRS.
Read-access geo-redundant storage: RA-GRS and RA-GZRS
Geo-redundant storage protects your data by copying it to a second region, but by default that secondary copy is not readable. With plain GRS or GZRS, the data in the secondary region sits idle for disaster recovery only — you cannot read it unless Microsoft initiates a failover that promotes the secondary to primary. If your application just needs the data to exist elsewhere for recovery, GRS or GZRS is enough.
The read-access variants change this. RA-GRS and RA-GZRS add read access to the secondary region at any time, without waiting for a failover. Azure exposes a second endpoint — the account name with a -secondary suffix — that your application can read from directly. This is the detail the exam hammers on: if a requirement says the application must be able to read from the secondary region, only RA-GRS or RA-GZRS satisfies it; plain GRS and GZRS do not.
Two practical points. First, the secondary is eventually consistent — geo-replication is asynchronous, so recent writes may not yet be present when you read the secondary; you can check the Last Sync Time property to see how current it is. Second, reads to the secondary are read-only; you cannot write there. A common use is offloading read traffic to the secondary endpoint or serving read requests during a primary-region disruption. On the exam, read from the secondary is the exact trigger phrase for the RA- variants.
Object replication between storage accounts
Object replication asynchronously copies block blobs from a source storage account to a destination storage account, according to replication rules you define. It is distinct from redundancy: redundancy copies an account within Microsoft's own infrastructure automatically, whereas object replication copies selected blobs between two storage accounts you own, which can be in different regions and even different subscriptions.
The key prerequisite you must remember is that blob versioning must be enabled on both the source and the destination accounts — object replication relies on versioning to track and copy changes, and you cannot configure a rule without it. You also enable the change feed on the source account. A replication policy contains one or more rules, each mapping a source container to a destination container, optionally filtered by a blob-name prefix, and you choose whether to copy existing blobs or only new ones.
Typical uses are minimizing read latency by keeping a copy near consumers in another region, distributing processing so compute runs close to the data, and cost optimization by replicating to an account that uses different access tiers. Because replication is asynchronous, the destination is eventually consistent with the source, not instantaneous. On the exam, watch for two triggers: copy block blobs between two storage accounts points to object replication, and any object-replication question mentioning a prerequisite is testing that blob versioning is required on both accounts. Object replication applies to block blobs only — not files, queues, or tables.
Storage account encryption at rest
All data written to Azure Storage is encrypted at rest automatically, and you cannot turn it off. This is Storage Service Encryption (SSE): it uses 256-bit AES and is transparent, so applications read and write normally while Azure encrypts on write and decrypts on read. The exam fact to lock in is that encryption at rest is always on — there is no unencrypted option for a storage account.
What you can configure is who manages the keys:
- Microsoft-managed keys — the default. Azure creates, stores, and rotates the encryption keys for you, with no action required.
- Customer-managed keys (CMK) — you supply and control the key in Azure Key Vault (or Key Vault Managed HSM). You gain control over rotation, revocation, and auditing, at the cost of managing the key lifecycle yourself. This is the option for compliance requirements that demand your organization holds the keys.
For an extra layer, you can enable infrastructure encryption when you create the account, which encrypts data twice — once at the service level and again at the infrastructure level, each with a separate key — for scenarios that require double encryption. Infrastructure encryption must be chosen at account creation and cannot be added afterward.
On the exam, encryption is always on describes SSE; we must control and rotate our own keys points to customer-managed keys in Key Vault; and encrypt the data twice points to infrastructure encryption.
Managing data with Azure Storage Explorer and AzCopy
Two Microsoft tools handle bulk data movement and management, and the exam expects you to know which is which. Azure Storage Explorer is a free, cross-platform graphical (GUI) desktop application for Windows, macOS, and Linux. You connect it to accounts with your Entra sign-in, an access key, a SAS, or a connection string, then browse containers, file shares, queues, and tables in a familiar tree, uploading and downloading with drag-and-drop and managing access policies and properties visually. It is the tool for interactive, point-and-click management.
AzCopy is a command-line utility built for high-performance, scriptable bulk transfer. It moves data efficiently between local storage and Azure, or directly account-to-account (server-to-server), and it excels at large migrations and repeatable, automated jobs you place in scripts or pipelines. A typical command copies a folder into a container:
azcopy copy "C:\data\*" "https://acct.blob.core.windows.net/container?[SAS-token]" --recursive
AzCopy authenticates with a SAS token or a Microsoft Entra login, resumes interrupted transfers, and is in fact the engine Storage Explorer uses under the hood for its transfers. The decision is straightforward: choose Storage Explorer for a visual, ad-hoc experience, and choose AzCopy for scripted, automated, or very large transfers. On the exam, a GUI to browse and manage storage is Storage Explorer, while scriptable command-line bulk copy or automate large data transfers is AzCopy.
Scenario: choosing redundancy for a regional outage
Put redundancy to work with a decision the exam loves. Your company runs a customer-facing application whose data must survive a complete outage of its primary Azure region, and the architecture team also wants the application to read from the secondary region — both to serve some read traffic there and to keep functioning if the primary is unreachable. Which redundancy option do you choose?
Start by eliminating options. LRS and ZRS both stay within a single region, so neither survives a regional outage — both are out. GRS and GZRS do replicate to a second region and survive a region outage, but their secondary copy is not readable until a failover, so they fail the read-from-secondary requirement. That leaves the read-access variants: RA-GRS or RA-GZRS, which add read access to the secondary endpoint at any time.
Between the two, choose RA-GZRS if you also want the primary region protected against a zone failure — its primary copy is zone-redundant — and RA-GRS if locally redundant primary storage is acceptable and you want lower cost. Either way, your application reads the secondary through the -secondary endpoint, remembering that it is eventually consistent. The exam pattern is reliable: survive a region outage narrows you to the geo options, and adding read from the secondary region forces the answer to RA-GRS or RA-GZRS.
Tip. Redundancy questions dominate this topic. "Survive a full region outage" points to GRS or GZRS, while "read from the secondary region" forces the read-access variants RA-GRS or RA-GZRS, and "survive a datacenter outage but stay in one region" is ZRS. Remember that "encryption is always on" describes Storage Service Encryption, that object replication of block blobs requires blob versioning on both accounts, and that a GUI request means Storage Explorer while scriptable bulk copy means AzCopy.
- General-purpose v2 (GPv2) is the default account kind, supporting all services and access tiers; choose Standard performance for most workloads and Premium for low-latency, high-transaction needs.
- Every redundancy option keeps at least three copies: LRS stays in one datacenter, ZRS spans three availability zones, and GRS and GZRS add a second region.
- Use GRS or GZRS to survive a full region outage, and ZRS to survive a zone or datacenter outage within a single region.
- RA-GRS and RA-GZRS are the only options that let you read from the secondary region without a failover — the exact trigger is "read from the secondary."
- Object replication asynchronously copies block blobs between two storage accounts and requires blob versioning enabled on both the source and destination.
- Encryption at rest is always on (Storage Service Encryption with 256-bit AES); you can switch to customer-managed keys in Key Vault or add infrastructure encryption for double encryption.
- Manage data with Azure Storage Explorer (GUI, interactive) or AzCopy (command-line, scriptable bulk and account-to-account transfers).
Frequently asked questions
What is the difference between GRS and RA-GRS?
Both GRS and RA-GRS keep three copies in the primary region and asynchronously replicate the data to a paired secondary region, so both survive a full regional outage. The difference is read access: with plain GRS the secondary copy is not readable unless Microsoft fails over to it, whereas RA-GRS (read-access geo-redundant storage) lets your application read the secondary at any time through a -secondary endpoint. Choose RA-GRS only when you actually need to read from the secondary region.
Which redundancy option should I choose to survive a full region outage?
To survive a complete region outage you need geo-redundant storage: GRS or GZRS, which replicate your data to a paired secondary region hundreds of miles away. GZRS also makes the primary copy zone-redundant, protecting against a zone failure as well. If, in addition, the application must read from the secondary region, upgrade to the read-access variants RA-GRS or RA-GZRS. LRS and ZRS stay within one region and cannot survive a regional outage.
What is the difference between LRS, ZRS, and GRS?
LRS (locally redundant storage) keeps three copies within a single datacenter, protecting only against disk and server failures. ZRS (zone-redundant storage) spreads three copies across three availability zones in one region, surviving a zone or datacenter outage. GRS (geo-redundant storage) keeps LRS copies in the primary region and asynchronously replicates to a second region, surviving a full regional outage. Durability and cost rise from LRS to ZRS to GRS.
What is required to configure object replication?
Object replication copies block blobs from a source storage account to a destination account, and its main prerequisite is that blob versioning must be enabled on both the source and the destination account. You also enable the change feed on the source. You then create a replication policy with rules that map a source container to a destination container. Object replication is asynchronous and applies to block blobs only, not files, queues, or tables.
Can you turn off encryption for an Azure storage account?
No. Encryption at rest is always on for every Azure storage account through Storage Service Encryption, which uses 256-bit AES and cannot be disabled. What you can change is key management: the default uses Microsoft-managed keys, or you can supply customer-managed keys in Azure Key Vault for control over rotation and revocation. For highly sensitive data you can also enable infrastructure encryption at account creation to encrypt the data twice.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.