Azure Storage accounts: services, account types, redundancy, endpoints, and network access
Back to the AZ-104 path
AZ-104Chapter 17

Microsoft AZ-104 Certification Study

Azure Storage accounts: services, account types, redundancy, endpoints, and network access

Learn how to match data to Blob Storage, Azure Files, Queue Storage, or Table Storage; choose an account and redundancy model; construct endpoints; map a domain; and isolate access.

Suggested study time: 80 minutes • Intermediate • Original rewrite based on the supplied Microsoft Learn module and corrected against current Azure Storage documentation

Neon Azure administrator shield surrounded by virtual machines, networks, storage, identity, governance, monitoring, backup, and infrastructure as code symbols

1. Design storage for a high-traffic commerce workload

Imagine an e-commerce company that must retain and serve a very large catalog of product images. Traffic can surge, the objects must remain durable, and recovery after an outage must be fast. Azure supplies scalable cloud data services, but the administrator still has to select the right service, account type, redundancy, endpoint, and access boundary.

This chapter prepares an Azure administrator to identify storage-account capabilities and use cases, create the appropriate account, select a replication strategy, and secure network access to its data endpoints.

  • Classify virtual-machine, unstructured, and structured data.
  • Choose among Blob , , , and .
  • Compare Standard and Premium account types and recognize legacy accounts.
  • Match LRS, ZRS, GRS, RA-GRS, GZRS, or RA-GZRS to a failure model.
  • Construct service URLs, map a custom domain, and choose public, service-endpoint, or private-endpoint access.

Prerequisites are experience with the Azure portal and familiarity with managing different forms of data storage.

Study map from data classification through storage service, account type, redundancy, endpoint, and network access.
A sound design makes six linked decisions: data, service, account, redundancy, address, and access.

2. Azure is a managed platform for several data patterns

Azure is Microsoft’s cloud-storage platform for modern workloads. One storage account can expose a massively scalable object store, managed file shares, durable application messaging, and a schemaless NoSQL key/attribute store. It supports working data for websites, mobile and desktop apps, IaaS virtual machines, PaaS services, analytics, and AI-ready data pipelines.

The platform is designed around durability and availability, encryption, large-scale capacity and throughput, Microsoft-managed hardware and updates, and worldwide access over HTTP or HTTPS. Those properties do not remove design choices: the account, service, protocol, access tier, redundancy, and network rules still determine behavior and cost.

3. Start by classifying the data

Three categories emphasized by the module.
CategoryShapeTypical Azure choices
Virtual-machine dataPersistent disks and shared files used by Azure IaaS VMs.Azure managed disks for OS/data disks; for managed shares. Data disks can hold database files, website content, or application code; the VM size limits their count.
Unstructured dataNonrelational text, binary objects, media, backups, logs, or lake data without a shared tabular schema. and . Data Lake adds Hadoop-compatible hierarchical file-system capabilities to Blob .
Structured dataRows, columns, keys, or structured NoSQL entities.Azure , , and . is managed relational SQL; tables and Cosmos DB can serve NoSQL patterns.
Virtual-machine, unstructured, and structured data categories flow to managed disks and files, blob and data lake, or table, Cosmos DB, and SQL services.
Classify the shape and access pattern before selecting the service.

4. Access and protocol choices affect manageability and security

Applications can use the Azure REST API or client libraries for languages including .NET, Java, Node.js, Python, PHP, Ruby, and Go. Administrators can automate with Azure PowerShell and Azure CLI or work visually in the Azure portal and Microsoft Azure .

Blob can expose SFTP over port 22 for existing transfer tools when hierarchical namespace (HNS) is enabled. HNS can be selected on the Advanced tab during creation or enabled later through the account configuration workflow when the account is eligible. NFS 3.0 can let Linux clients mount a blob container like an NFS share and ease migration of Linux file workloads. Feature compatibility varies when HNS, NFS, or SFTP is enabled, so validate the current account matrix before deployment.

For authorization, prefer and least-privilege Azure RBAC where the protocol supports it. The portal can default data access to Microsoft Entra authorization instead of Shared Key. Disabling Shared Key is stronger than changing the portal default, but first verify application, , SAS, and tooling compatibility.

5. Four core services share the storage-account boundary

Core services and their native units.
ServiceUnitBest fit
Container → blobMassive unstructured object data, streaming, backup, archive, and analytics.
File share → directory → fileManaged SMB or NFS file shares shared by cloud or on-premises clients.
Azure Queue → messageReliable asynchronous work backlogs and loose coupling between components.
Azure Table → entity → propertiesLow-cost, schemaless, structured NoSQL key/attribute data.
A storage account branches into Blob containers and blobs, file shares and directories, queues and messages, and tables and entities.
The services share an account but expose different data models and endpoints.

6. Blob handles massive unstructured object data

is optimized for text and binary objects at very large scale. It is a natural choice for images or documents delivered to a browser, distributed files, audio and video streaming, logs, backup and restore, disaster recovery, archiving, and data analyzed by an on-premises or Azure-hosted service.

Clients reach blobs anywhere through HTTP or HTTPS using URLs, the Azure REST API, Azure PowerShell, Azure CLI, or a supported client library. Blob also underpins Gen2 when HNS is enabled.

7. supplies managed network file shares

exposes highly available shares through Server Message Block (SMB) and, for supported premium configurations, Network File System (NFS). Multiple VMs can read and write the same files, while REST and client libraries provide another access path.

  • Mount a share using the same drive letter expected by an on-premises application to reduce migration changes.
  • Centralize configuration files, development tools, and utilities so multiple VMs or developers use the same version.
  • Collect diagnostic logs, metrics, and crash dumps for later processing or analysis.

The supplied module describes account credentials granting mounted users read/write access. Modern designs should instead evaluate Microsoft Entra-based identity, Kerberos for SMB, share and file permissions, and least privilege rather than distributing storage-account keys.

8. decouples asynchronous processing

Azure retains messages for later processing. A message can be as large as 64 KB, and one queue can contain millions of messages. Producers and consumers can scale independently, which is useful for smoothing bursts and building reliable work backlogs.

In the module scenario, a customer uploads a picture and receives a quick response. The application adds a message to a queue; an Azure Function consumes it and creates a thumbnail later. Upload and image-processing capacity can then be tuned separately.

9. provides a schemaless key/attribute store

Azure stores structured, nonrelational data as entities and properties without enforcing one shared schema. The service scales with demand, the design adapts easily as an application evolves, and it can be faster and less expensive than relational SQL for appropriate key-oriented volumes.

for Table is the related alternative when the workload needs throughput-optimized tables, global distribution, automatic secondary indexes, or other Cosmos DB capabilities. Neither choice replaces when joins, relational constraints, or a SQL engine are fundamental.

10. Choose the service from the workload’s dominant operation

Fast service selection.
RequirementStart with
Serve or stream large amounts of unstructured content; back up, restore, archive, or analyze objects
Share a familiar filesystem between VMs or migrate a file-share-dependent application
Create a large asynchronous backlog between independently scaled componentsAzure
Store flexible structured NoSQL entities without joins or a fixed schemaAzure or for Table
Attach persistent OS/data storage to a VMAzure managed disks rather than a general-purpose file share

11. Standard and Premium describe performance and workload intent

Standard is the default, cost-oriented performance option for general-purpose v2 accounts and most scenarios. The training module characterizes it as the choice for bulk or infrequently accessed data. Premium uses SSD-backed infrastructure for consistently low latency and high throughput and is divided by the optimized data service.

An existing storage account cannot be converted to another account type simply by switching Standard and Premium. Create a new account of the target type and copy the data. Regardless of type, Azure automatically applies service-side encryption to data at rest.

12. The account-type matrix limits services and redundancy

Recommended current account types.
Account typeServicesRedundancy baselineRecommended use
Standard general-purpose v2Blob, Data Lake , Queue, Table, LRS, ZRS, GRS, RA-GRS, GZRS, RA-GZRSDefault for most blobs, shares, queues, and tables.
Premium block blobsBlock and append blobs; Data Lake capabilitiesLRS or ZRSHigh transaction rates, small objects, low and consistent latency.
Premium file shares onlyLRS or ZRSEnterprise and high-performance SMB/NFS file shares.
Premium page blobsPage blobs onlyCreation matrix lists LRS; the overview also documents region-dependent ZRS supportIndex-based or sparse data such as VHDs, VM data disks, and database files.

The exact redundancy options vary by account type and Azure region. Treat the portal and current documentation as the deployment-time source of truth rather than memorizing every combination as globally available.

Standard general-purpose v2 supports all four data services and six redundancy modes, while three Premium account types specialize in block blobs, file shares, or page blobs.
Account type is a capability boundary, not only a price selection.

13. Legacy accounts should move toward general-purpose v2

Existing subscriptions can still expose general-purpose v1 and legacy BlobStorage accounts. They lack modern features or cost-management options and are not recommended for new deployment. Microsoft supports in-place upgrade to general-purpose v2 through the Azure portal, Azure CLI, or PowerShell; review costs and feature compatibility first because the upgrade cannot be reversed.

Classic Azure Service Management storage accounts were retired on August 31, 2024. Do not confuse an in-place GPv1-to-GPv2 upgrade with changing an account between Standard and Premium, which requires a new destination account and data copy.

14. Redundancy is a failure-model and access decision

Azure always keeps multiple copies to withstand planned and unplanned hardware, network, power, datacenter, zone, and regional events. The options trade cost against the failure boundary, replication latency, and whether clients can read a secondary region before failover.

One redundancy setting applies to the storage services in an account. Separate resources into different accounts when their durability, residency, or read-access requirements differ. Redundancy is not backup: deletions and overwrites can replicate to every copy, so use soft delete, versioning, snapshots, or backup where recovery from logical error matters.

15. LRS keeps copies inside one physical datacenter

Locally redundant storage (LRS) synchronously maintains three copies within one datacenter in the primary region. It is the lowest-cost option and protects against disk, server, and rack failures, but a datacenter-wide fire, flood, or prolonged outage can make every replica unavailable or unrecoverable.

  • Use it when the data can be reconstructed after loss.
  • Consider it for rapidly changing feed data whose retention is not essential.
  • Use it when governance requires replication to remain within one location and the lower resilience is accepted.

16. ZRS survives an availability-zone failure in one region

Zone-redundant storage (ZRS) synchronously copies data across three or more availability zones in the primary region. Each zone has separate power, cooling, and networking. Reads and writes can continue if one zone becomes unavailable, with strong performance and low latency.

ZRS availability depends on region and account type. Moving from a single storage stamp to zonal placement can require a conversion and physical data movement. ZRS protects against a zone failure, not a disaster that permanently affects the entire region.

LRS keeps copies in one datacenter while ZRS distributes synchronous copies across three isolated availability zones.
Primary-region redundancy changes the largest local failure that the account can tolerate.

17. GRS adds asynchronous replication to a secondary region

Geo-redundant storage (GRS) first commits data synchronously using LRS in the primary region, then copies it asynchronously to a geographically distant secondary region, where LRS creates local replicas. The primary and secondary storage scale units use separate fault and upgrade domains. GRS is designed for at least 99.99999999999999% durability—sixteen nines—over a year.

With GRS, secondary data becomes readable only after a failover. Read-access geo-redundant storage (RA-GRS) exposes a read-only secondary endpoint before failover, so applications can read the secondary during a primary-region problem. Because inter-region replication is asynchronous, the latest writes can lag; inspect last-sync time and design for a recovery point.

18. GZRS combines zone continuity with regional disaster recovery

Geo-zone-redundant storage (GZRS) uses ZRS across availability zones in the primary region and asynchronously replicates to an LRS-protected secondary region. Azure pairs the regions within the same geography. GZRS keeps primary-region reads and writes available through a zone failure, retains a disaster-recovery copy for a complete regional outage, targets the same scalability as the other redundancy modes, and is designed for sixteen nines of annual object durability.

Read-access geo-zone-redundant storage (RA-GZRS) additionally exposes the secondary copy for reading before failover. The module recommends GZRS when consistency, durability, availability, performance, and regional resilience all matter, and RA-GZRS when secondary read access is also required. does not support RA-GRS or RA-GZRS.

GRS and RA-GRS replicate an LRS primary to an LRS secondary; GZRS and RA-GZRS use zonal copies in the primary and LRS in the secondary, with RA modes exposing read access.
Geo replication protects the regional boundary; RA variants add pre-failover read access.

19. Compare redundancy by the outage that must remain serviceable

Failure coverage emphasized by the module.
Failure or requirementOptions that address it
A node inside a datacenter is unavailableLRS, ZRS, GRS, RA-GRS, GZRS, RA-GZRS
An entire datacenter or availability zone is unavailableZRS, GRS, RA-GRS, GZRS, RA-GZRS
The primary region is unavailable and data must remain durable for failoverGRS, RA-GRS, GZRS, RA-GZRS
Clients must read the secondary before or during primary-region recoveryRA-GRS or RA-GZRS
Primary-region zone failure must preserve read/write serviceZRS, GZRS, or RA-GZRS

20. Every storage service exposes a distinct endpoint

A storage account name forms the subdomain in each default endpoint. The service-specific DNS suffix completes the account endpoint; the object path is appended afterward.

Default public endpoints for an account named mystorageaccount.
ServiceEndpoint
Blob/containerhttps://mystorageaccount.blob.core.windows.net
Tablehttps://mystorageaccount.table.core.windows.net
Queuehttps://mystorageaccount.queue.core.windows.net
Filehttps://mystorageaccount.file.core.windows.net

A blob named myblob inside mycontainer therefore has the address https://mystorageaccount.blob.core.windows.net/mycontainer/myblob. The account namespace is globally unique, and current account names contain 3–24 lowercase letters or numbers.

Service-specific blob, file, queue, and table endpoints derive from one storage account name, while a DNS CNAME maps a custom subdomain to the blob endpoint.
The endpoint identifies the service; the remaining path identifies the object.

21. A custom domain maps a subdomain to a blob or static-website endpoint

Direct mapping creates a public DNS CNAME from a custom subdomain such as blobs.contoso.com to the storage hostname, for example contosoblobs.blob.core.windows.net. Register the custom domain with the storage account, allow DNS propagation, verify ownership, and test access to a known object.

The native mapping supports subdomains, not the zone apex. Direct mapping by itself is HTTP-only; use or Azure when the custom domain needs HTTPS or root-domain delivery. For a live domain that cannot tolerate interruption, use the asverify intermediary CNAME and indirect validation workflow before switching the production CNAME.

22. Firewall, service endpoints, and private endpoints solve different boundaries

firewall rules govern the public endpoint. They can allow selected virtual-network subnets, public IP ranges, resource instances, or trusted-service exceptions and deny other sources. In the portal these controls appear under networking and public network access; test the result so an assumed rule does not leave the account exposed or block production.

Network access choices.
ChoiceAddress and pathUse
Public endpoint with firewall rulesPublic service hostname; admit selected public IPs or other supported rule sourcesControlled public reachability and on-premises egress IPs.
Virtual network service endpoint keeps its public endpoint; the subnet reaches the service over an optimized Azure backbone route and a VNet rule authorizes itSimpler subnet restriction. Microsoft. targets the same region; Microsoft..Global supports any region.
Private endpoint with A private IP from the VNet represents one storage subresource; DNS resolves the normal hostname to that private pathProduction isolation, compliance, and traffic that must avoid exposure to the public internet.

A private endpoint does not automatically disable the public endpoint; configure public network access and firewall policy to match the isolation objective. Each storage subresource can require its own private endpoint and private DNS record. Use the normal connection string and hostname rather than connecting directly to a privatelink URL.

A public client reaches a firewall-controlled public endpoint, a subnet uses a service endpoint to the public service address, and another subnet resolves a private endpoint IP over Azure Private Link.
Select the network boundary first, then configure DNS, authorization, and firewall behavior consistently.

23. Assessment answers connect requirements to features

Paraphrased assessment review.
RequirementCorrect choiceWhy
Low latency in the primary region plus cross-region durabilityGZRSIt combines zonal primary replication with a secondary region.
Read the secondary region without waiting for GRS failoverRA-GRSRead access distinguishes RA-GRS from GRS.
Give a VNet a private address to the accountPrivate endpoint assigns a private IP to the storage subresource.
Map a blob hostname safelyVerify ownership and register a custom domain with a CNAMEVerification prevents an invalid or unauthorized mapping.
Restrict the public storage endpoint to selected subnets networking/firewall and virtual network rulesThese rules admit the selected subnet through a service endpoint.
Use a friendly name for blob contentCustom domainIt maps a subdomain to the blob or static-site endpoint.
Regional disaster resilience plus secondary readsRA-GZRSIt adds readable secondary access to GZRS.
Keep all storage traffic off the public internetPrivate endpoints and disabled/restricted public accessA private IP and Private Link provide the isolated data path.
Avoid a common custom-domain failureVerify domain ownership before mappingAzure must validate the domain and DNS record.

24. Compact version of every topic

Fast revision.
TopicRemember
DataVM data uses disks/files; unstructured data uses blobs/lakes; structured patterns use tables, Cosmos DB, or SQL.
ServicesBlob = objects; Files = SMB/NFS shares; Queue = asynchronous messages; Table = schemaless NoSQL entities.
ProtocolsREST/SDK/CLI/PowerShell are broad; SFTP needs HNS; NFS 3.0 has an explicit compatibility matrix.
AccountsGPv2 is the default; Premium specializes in block blobs, file shares, or page blobs.
Encryption/authData at rest is encrypted; prefer and least privilege over Shared Key where supported.
LRS/ZRSOne datacenter versus multiple zones in the primary region.
GRS/GZRSA secondary region; GZRS also uses zones in the primary.
RA variantsRA-GRS and RA-GZRS expose read-only secondary access before failover.
EndpointsAccount name + service suffix + object path; custom domains use CNAME and ownership validation.
Network accessFirewall controls public access, service endpoints restrict the public service to subnets, private endpoints assign private IPs.

25. Active recall and official resources

Active-recall prompts

  • Explain Azure redundancy to a nontechnical stakeholder without calling it backup.
  • Choose an account type for a general application, high-transaction block blobs, SMB/NFS shares, and page blobs.
  • Draw LRS, ZRS, GRS, RA-GRS, GZRS, and RA-GZRS from memory.
  • Build the four default endpoints from a storage-account name.
  • Compare a firewall rule, service endpoint, and private endpoint.
  • Explain why a custom subdomain needs a CNAME and ownership verification.
  • Ask Microsoft Copilot to compare storage account types, then verify its answer against the current account matrix.

Official documentation