Storage accounts, storage services, tiers and redundancy
What a storage account holds, how to pick between blobs, files, queues and tables, what each redundancy option copies and where to, and how the access tiers trade a lower storage price for a higher access price and a longer wait.
Lesson 8 of 11 in objective architecture-and-services. Azure architecture and services, part of Microsoft Certified: Azure Fundamentals (AZ-900).
The account, and the services inside it
A storage account is the container for the settings and the namespace: its name is globally unique and forms the hostname other things address it at, and the redundancy option, the default access tier, the network rules and the encryption settings are all properties of the account rather than of the data inside it. Managed disks are the exception worth knowing — they are their own resource type and do not sit in an account you create.
Four services live inside, and the quickest way to pick between them in a scenario is to ask how the application wants to ask. Blobs are objects fetched over HTTP by URL, which suits unstructured data at any scale but means an application expecting a file path would have to be rewritten. Azure Files provides managed shares mounted over SMB — and over NFS on the premium tier — so an existing application carries on using paths, and on-premises servers can mount the same share. Queues carry messages so components can work independently of each other, and tables hold schemaless key-value rows. A path or a URL is usually the whole discriminator.
Redundancy: count the copies, then ask where they are
Locally redundant storage keeps three copies inside a single datacentre, which protects against a failed disk or rack and nothing larger. Zone-redundant storage writes three copies across availability zones in the primary region, so losing a whole datacentre is transparent to the application. Geo-redundant storage adds a second location entirely: three copies locally plus three in the paired region. Geo-zone-redundant combines the two, spreading the primary copies across zones and still keeping a copy in the pair.
The synchronous-against-asynchronous distinction matters as much as the geography. In-region replication completes before the write is acknowledged, so those copies are never behind. Cross-region replication is continuous but asynchronous, so a regional failover can lose the most recent writes — which is what a recovery point objective is describing. And redundancy is not readability: with plain geo-redundant storage the second copy exists for recovery and cannot be read, and reading it needs either the read-access variant, which gives you a second read-only endpoint, or a failover.
Access tiers trade storage price for access price
Pick a tier with two questions: how often is this read, and how long can you wait for it. Hot has the highest storage price and the lowest access price, which suits data read constantly. Cool and cold are progressively cheaper to keep and dearer to read, and both are still online, so data comes back in milliseconds. Archive is offline: the storage price is the lowest available and a blob has to be rehydrated to an online tier before it can be read, which takes hours rather than moments.
Two details that decide questions. Archive is set on individual blobs rather than as an account default, unlike the online tiers. And each of the cooler tiers carries a minimum retention period — thirty days for cool, ninety for cold, a hundred and eighty for archive — so deleting or moving data early triggers an early-deletion charge that can undo the saving you moved it for. Where consistently low latency and high transaction rates are what matter, a premium block blob account is the answer and it costs accordingly.
Worth carrying in
- Storage account
- Globally unique name, and the place redundancy, tier and network rules are set.
- Blob
- An object addressed by URL. Held in a container inside the blob service.
- Azure Files
- Managed shares mounted over SMB, or NFS on premium. Paths, not URLs.
- Queue storage
- Messages passed between components so they can run independently.
- Table storage
- Schemaless key-value rows for structured, non-relational data.
- LRS
- Three copies, one datacentre, written synchronously.
- ZRS
- Three copies across zones in the region, written synchronously.
- GRS
- Locally redundant here, plus an asynchronous copy in the paired region.
- RA-GRS
- Geo-redundant, with the secondary copy readable at its own endpoint.
- GZRS
- Zone-redundant in the primary region, plus a copy in the pair.
- Hot tier
- Dearest to store, cheapest to read. For data in constant use.
- Archive tier
- Offline and cheapest to store. Rehydration takes hours, and it is set per blob.
- Rehydration
- Moving an archived blob back to an online tier before it can be read.
What the exam does with this
- "Must not leave the region" rules out every geo- option including the read-access one, and leaves zone-redundant as the in-region answer.
- Geo-redundant does not mean readable. Reading the second copy needs the read-access variant or a failover, and that is a whole question on its own.
- In-region replication is synchronous, cross-region is asynchronous. That is why a regional failover can lose the newest writes and an in-region failure cannot.
- Archive is offline. A requirement that mentions milliseconds rules it out no matter how rarely the data is read, and rehydration is the word being tested.
- Blob against Files is decided by how the application asks for the data: a URL is a blob, a mounted path is a file share, and a rewrite is what the wrong answer costs.
- Objective
- architecture-and-services. Azure architecture and services
- Share of the exam
- 38.46% (the whole objective)
- Questions in this lesson
- 4
- Signed for by a person
- 0
Partly checked. None of the 4 questions here has been read against the cited source by a person. 4 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
Questions in this lesson
- A dataset must survive the loss of one datacentre in its primary region without anybody performing a failover, and regulation forbids a copy of it leaving that region. Which redundancy option meets both requirements? machine-checked
- A storage account is configured for geo-redundant storage. During a regional incident a developer tries to read the secondary copy directly and cannot. What is the explanation? machine-checked
- Seven years of audit logs must be retained. They are read perhaps once a year during an investigation, and waiting several hours to get them back is acceptable. The lowest storage cost wins. Which access tier fits? machine-checked
- Three Windows virtual machines and a handful of on-premises servers need to read and write the same set of files, mounted as a network drive over SMB, without rewriting the application that uses them. Which storage service fits? machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
Practise Storage accounts, storage services, tiers and redundancy
The rest of objective architecture-and-services
- Regions, region pairs, availability zones and datacentres
- Resources, resource groups, subscriptions and management groups
- Virtual machines, containers and functions compared
- Virtual machine options, and what a virtual machine needs
- Hosting an application: web apps, containers and virtual machines
- Virtual networks, subnets, peering and Azure DNS
- Reaching Azure privately: VPN Gateway, ExpressRoute and endpoints
- Storage accounts, storage services, tiers and redundancy — you are here
- Moving files and migrating workloads into Azure
- Microsoft Entra ID, authentication and role-based access control
- Zero Trust, defence in depth and Defender for Cloud