Home › Studies › AZ-104 › Storage › Blob Tiers & Lifecycle

Blob Tiers & Lifecycle

Containers · Hot · Cool · Cold · Archive · rehydration · lifecycle management rules

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Containers

Access tiers

TierStateMinimum retention
HotOnline; default account tierNo minimum listed
CoolOnline30 days
ColdOnline90 days
ArchiveOffline: can't be read or modified180 days

Rehydrating from Archive

MethodResult
Set Blob TierSame blob changes tier. It stays archived until done and the request can't be cancelled.
Copy Blob to a new blob (different name or container) in an online tierThe source stays archived and the new blob is an independent copy. Can't copy archive to archive.

Lifecycle management

CLI and PowerShell

TaskAzure CLIPowerShell
Create a containeraz storage container create --account-name <n> --name <c> --auth-mode loginNew-AzStorageContainer -Name <c> -Context $ctx -Permission Off
Set anonymous access levelaz storage container set-permission --name <c> --account-name <n> --public-access container --auth-mode keySet-AzStorageContainerAcl -Container <c> -Permission Container -Context $ctx
Change tier or rehydrateaz storage blob set-tier --account-name <n> --container-name <c> --name <b> --tier Hot --rehydrate-priority Standard --auth-mode login$blob.BlobClient.SetAccessTier("Hot", $null, "Standard")
Rehydrate by copyaz storage blob copy start --source-container <sc> --source-blob <sb> --destination-container <dc> --destination-blob <db> --account-name <n> --tier hot --rehydrate-priority standard --auth-mode loginStart-AzStorageBlobCopy ... -StandardBlobTier Hot -RehydratePriority Standard
Create a lifecycle policyaz storage account management-policy create --account-name <n> --policy @policy.json --resource-group <rg>Set-AzStorageAccountManagementPolicy -ResourceGroupName <rg> -StorageAccountName <n> -Rule $rule1
Enable last access trackingaz storage account blob-service-properties update --resource-group <rg> --account-name <n> --enable-last-access-tracking trueEnable-AzStorageBlobLastAccessTimeTracking -ResourceGroupName <rg> -StorageAccountName <n> -PassThru

Exam Tips

Tick each tip once you can answer it without looking.

“Archive blob must be readable within an hour in an emergency” → Rehydrate with High priority (under 1 hour for objects under 10 GB). Trap: Standard priority can take up to 15 hours.

“Read an archived blob right now” → Not possible: rehydrate to an online tier first. Trap: a lifecycle rule to rehydrate: lifecycle can't rehydrate.

“Rehydrate an archived blob and keep the archived original” → Copy Blob to a new blob in an online tier. Trap: Set Blob Tier changes the original blob.

“Rehydrated blob keeps going back to archive” → Add daysAfterLastTierChangeGreaterThan to tierToArchive, or rehydrate by copy. Trap: turning off soft delete.

“Account is ZRS; set a blob to Archive” → Not supported: archive needs LRS, GRS or RA-GRS. Trap: GZRS also doesn't support it.

“Cool blob deleted at day 21” → Early deletion charge for the remaining 9 days of the 30-day minimum.

“Move append or page blobs to Cool” → Not possible: tiers apply to block blobs only.

“Cool after 30 days, archive after 90, delete after 365” → One rule with daysAfterModificationGreaterThan 30, 90 and 365 on base blobs. Trap: separate containers or accounts for each stage.

“Rule based on when a blob was last read” → Enable last access time tracking, then use daysAfterLastAccessTimeGreaterThan. Trap: daysAfterModification.

“Cool blobs should return to hot when accessed” → enableAutoTierToHotFromCool. Trap: a tierToHot action: it doesn't exist.

“Limit a rule to logs/2026 blobs” → prefixMatch starting with the container name. Trap: wildcards in the prefix.

“Exclude one folder from a rule” → Filters can only include: list prefixes that leave it out. Trap: an exclude filter.

“New lifecycle rule has done nothing yet” → Wait: a new or edited rule can take up to 24 hours to go into effect. Trap: the rule being invalid.

“Delete rule leaves current blobs that have versions” → Include previous versions and snapshots in the delete action. Trap: deleting base blobs only.

“Premium block blob account: tier to Cool by policy” → Not supported. Trap: lifecycle tiering works on all accounts.

“Delete and archive conditions both true for a blob” → The cheapest action wins: delete. Trap: archive first.

“Container named MyContainer_1” → Invalid: uppercase and underscore; use lowercase letters, numbers and hyphens, 3 to 63 characters. Trap: underscores are allowed.

“Anonymous read of one blob without listing” → Container level Blob. Trap: setting access on the blob: not possible.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Azure FilesBlob Versioning & Soft Delete →