Microsoft AZ-104: Azure Storage — Study Guide

Part of the Microsoft Azure Administrator Associate AZ-104 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

Azure Storage underpins data services across Azure, offering durable, highly available object and file storage with granular security and flexible networking. Mastery requires understanding account types and redundancy, data lifecycle and protection for blobs, file share choices and synchronization, strong authentication and controlled network access, and operational tooling for bulk transfer and administration.

Storage account types and durability

General-purpose v2 (GPv2) accounts are the default and recommended choice for most scenarios. They support blobs (including Data Lake Storage Gen2 hierarchical namespace when enabled), files, queues, and tables, across standard HDD-backed and premium SSD-backed performance tiers (premium for block blob, page blob, or file shares depending on sub-type). BlobStorage accounts are legacy, blob-only accounts with limited features; they persist primarily for backward compatibility. FileStorage accounts are premium accounts specialized for Azure Files, delivering provisioned, predictable IOPS and throughput with low latency, and supporting both SMB and NFS 4.1.

Redundancy choices balance durability, availability, and cost:

Choose RA-GRS or RA-GZRS when cross-region reads are required, GRS/GZRS for cross-region DR without read access, ZRS for zone-level resilience with the lowest write latency, and LRS for cost-optimized durability without zone/region coverage.

Blob data management, tiers, and protection

Blob access tiers optimize cost by aligning storage pricing with access patterns. Hot tier provides the lowest per-GB access and transaction latency, recommended for frequently accessed data. Cool tier lowers storage cost with higher access and early deletion charges; use for data read infrequently (at least 30-day horizon). Archive tier is offline and the lowest cost per GB, with hours of rehydration latency and minimum retention charges; it is best for compliance or long-term backup. Tiers can be set per blob; a default access tier can be applied at the account or container level for new objects.

Lifecycle management policies automate tiering and retention. Rules evaluate daily and can filter by prefix, blob type, last modified time, and blob index tags. Actions include moving from hot to cool, cool to archive, rehydrate (in limited conditions), and deleting base blobs, snapshots, or versions after a specified age. Last access time-based policies can further refine transitions. Well-designed rules convert cost from manual oversight to policy-driven governance while ensuring compliance retention windows.

Data protection features should be enabled deliberately:

Snapshots for block blobs provide additional ad hoc recovery points but are superseded by versioning in most operational designs. Ensure lifecycle policies and legal hold/immutability requirements do not conflict, especially when combining archive tiering and WORM retention.

Azure Files and Azure File Sync

Azure Files provides fully managed file shares with Azure-native elasticity and global availability. SMB shares support SMB 3.x features like encryption in transit, continuous availability on premium FileStorage shares in certain scenarios, and identity-based access control. NFS 4.1 shares are available only on premium FileStorage accounts, optimized for UNIX/Linux workloads; they use POSIX permissions and export policies, with access constrained to selected networks for security.

Identity-based authentication for SMB offers multiple options:

Azure File Sync extends Azure Files to on-premises Windows Servers, converting your Azure file share into a hub for multi-site sync with centralized cloud storage. A Storage Sync Service resource orchestrates replication. Within it, sync groups bind:

After installing the Azure File Sync agent and registering the server, add the server endpoint path (for example, D:\Shares\Projects). Cloud tiering can be enabled to maintain namespace locally while stubbing cold files; policies include volume free space targets and last-access heat-based eviction. On-demand recall restores file content transparently on access. Initial seed and recall strategies, DFS-N integration for referrals, and antivirus exclusions for the AFS system directories are core operational considerations. Change enumeration and journal-based sync minimize churn; throttling and offline data transfer seeding can protect bandwidth during initial replication.

Security, networking, and controlled access

Shared access signatures (SAS) grant scoped, time-bound access without exposing account keys. Service SAS targets a specific resource (blob, container, file share, queue, table) with defined permissions, start/expiry times, allowed IP ranges, protocols, and preauthorized object names. Account SAS spans multiple services and resource types within the account but cannot be bound to a stored access policy; it should be used sparingly due to broader scope. User delegation SAS is the recommended pattern for Blob service when using Azure AD; it is signed with a short-lived user delegation key obtained via Azure AD, producing an auditable, least-privilege token. Stored access policies attach to containers or shares and allow centralized revocation and permission/time updates for multiple issued SAS tokens by modifying or deleting the policy.

Azure AD authorization integrates with Blob and Queue, and with Azure Files through AD-based SMB models described earlier. For Blob and Queue, assign Azure RBAC roles such as Storage Blob Data Reader, Contributor, or Owner at the account, container, or resource group scope. Application access should prefer managed identities and OAuth over account keys, reducing key distribution risk and enabling conditional access and Privileged Identity Management at scale.

The storage firewall enforces network-origin restrictions when set to Selected networks:

Enable TLS 1.2+, require secure transfer, rotate account keys, and audit using Storage Analytics and Azure Monitor diagnostic settings. Combine network rules with Azure AD RBAC and SAS hygiene for a defense-in-depth posture.

Data movement and tooling

The Azure Import/Export service accelerates bulk data movement using encrypted disks. For import, prepare 2.5”/3.5” SATA HDD/SSD drives, encrypt them with BitLocker, and use the Azure Import/Export tool to write data and generate a drive manifest and journal files. Create an import job in the portal, upload the drive list and contact details, print shipping labels, and ship via the supported carrier to the Microsoft datacenter address provided. Track progress and upload journal files so Azure can resume copy if interrupted. For export, specify the containers or blobs, create the job, Microsoft writes to BitLocker-encrypted drives, and ships back; you use keys provided in the job to unlock. Always validate region availability, drive count and size limits, and retention windows for unclaimed shipments.

AzCopy is the command-line utility for high-performance transfers. Authenticate using Azure AD (interactive or service principal) for Blob and Azure Files, or attach SAS tokens to source/destination URLs, or use account keys (environment variables or login command where supported). Core operations include copy for one-time transfers and sync for directional mirroring that compares source and destination and transfers deltas. Typical patterns include local-to-blob, blob-to-blob (including intra- and inter-account service-side copy), and share-to-share. Use recursive transfers, include/exclude patterns, concurrency tuning, and checksum validation. For archival workflows, set the destination blob tier on upload. When syncing, understand that sync deletes at the destination can be enabled or suppressed; choose mode based on backup versus distribution semantics.

Azure Storage Explorer provides a GUI for multi-tenant, multi-cloud administration. Connect using Azure AD sign-in, account name/key, or SAS URIs. Manage containers and shares by creating folders, uploading and downloading, editing metadata, setting object tiers, viewing snapshots and versions, and restoring deleted items when soft delete is enabled. Generate SAS tokens with precise permissions, IP ranges, and start/expiry, and share them with developers or partners under stored access policies where applicable. Storage Explorer integrates seamlessly with AzCopy for high-throughput operations while surfacing progress and retries.

Practical Problem Scenario

Starbucks must consolidate branch file servers into Azure, provide cross-region disaster recovery, protect against accidental deletions, and migrate 100 TB of historical media assets on a tight timeline without saturating WAN links.

  1. Choose account architecture and redundancy
  1. Secure access and networking
  1. Identity-based authorization
  1. Data protection and lifecycle
  1. Bulk migration
  1. Ongoing sync and branch consolidation
  1. Operations and tooling

Each service choice aligns with the requirement: premium FileStorage for low-latency SMB/NFS, GPv2 with RA-GZRS for blob DR and cost tiers, private endpoints and resource instance rules for strict network control, Azure AD-based auth for least privilege, Import/Export for fast initial seeding, Azure File Sync with cloud tiering for branch consolidation, and AzCopy/Storage Explorer for efficient, governed operations.


Azure Load Balancing and Traffic Management · All domains · Azure App Service and PaaS Compute

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product