AZ-104 study notes · 15–20% of the exam

Implement and manage storage

First draft for review. Check details against Microsoft Learn before relying on them.

What this area covers

Storage accounts and their security, redundancy and networking, plus Blob Storage and Azure Files in day-to-day use.

Storage accounts

  • Standard general-purpose v2 suits most needs. Premium accounts are split by type: block blobs, file shares or page blobs.
  • Redundancy: LRS (one datacenter), ZRS (three zones), GRS and GZRS (copy to the paired region), and RA- variants for read access to the secondary.
  • Customer-managed failover promotes the secondary. The account becomes LRS afterwards, so reconfigure geo-redundancy.
  • Some properties, like the account name and some redundancy changes, can't be changed in place. Plan them up front.

Access and security

  • Prefer Microsoft Entra ID with data-plane roles such as Storage Blob Data Contributor. Disable shared key access where you can.
  • SAS tokens: account SAS, service SAS and user delegation SAS (signed with Entra credentials, the most secure). Stored access policies let you revoke service SAS tokens.
  • Access keys give full access. Rotate them, ideally with Key Vault managing them.
  • Storage firewall rules allow selected VNets and IP ranges. Private endpoints give the account a private IP. Turn off public access once everything uses private endpoints.
  • Encryption at rest is always on. Customer-managed keys live in Key Vault, and infrastructure encryption adds a second layer.

Blob Storage

  • Access tiers: Hot, Cool (30 days minimum), Cold (90 days) and Archive (180 days, offline, needs rehydration).
  • Lifecycle management rules move or delete blobs by age or last access.
  • Protection: soft delete, versioning, point-in-time restore and immutable storage with time-based retention or legal holds.
  • Object replication copies blobs asynchronously to another account and needs versioning and change feed.

Azure Files

  • SMB and NFS shares. Identity-based access uses AD DS, Microsoft Entra Domain Services or Microsoft Entra Kerberos.
  • Share snapshots and soft delete protect data. Azure File Sync caches shares on Windows Servers with cloud tiering.
  • Tools: AzCopy for bulk copies and Storage Explorer for browsing and managing.