Microsoft Azure Administrator (AZ-104) · Section 2 · 18% of the exam
Create and configure a container in Blob Storage
One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Implement and manage storage”. Here is what it covers, the points to remember and a question to try.
What it covers
Containers organise blobs and control anonymous access. Access tiers trade storage cost for access cost, lifecycle management policies move and delete data automatically, and versioning with soft delete protects blobs from overwrite and deletion. This lesson ties the four together, including the tier minimum-retention rules and rehydration from archive.
Points to remember
- Only block blobs have access tiers. Cool, Cold and Archive have minimum stays of 30, 90 and 180 days; early deletion, overwrite or tier change is charged for the remaining days.
- Archive is offline: rehydrate with Set Blob Tier (in place) or Copy Blob (to a new blob); standard priority takes up to 15 hours. Lifecycle rules cannot rehydrate.
- Archive requires LRS, GRS or RA-GRS and cannot be the account's default tier.
- Container public access: Private, Blob, Container. It works only if the account allows anonymous access, which is off by default.
- Lifecycle policies hold up to 100 rules, run about daily, and apply the cheapest action on a conflict; prefixes start with the container name.
Try a question
A lifecycle rule moves blobs under logs/ to cool after 30 days. Operators want a blob that is read again to return to the hot tier automatically, not when it is next modified. Which configuration provides this?
- AEnable access time tracking and add enableAutoTierToHotFromCool
- BAdd a second rule with a tierToHot action after 1 day since the last access
- CUse daysAfterModificationGreaterThan with a tierToHot action to bring blobs back
- DSet the default access tier of the account to Hot and enable last access tracking
Show the answer
A. enableAutoTierToHotFromCool needs the daysAfterLastAccessTimeGreaterThan condition, has no effect on blobs that were already cool before the action was added, and moves a blob to hot at most once in 30 days to avoid repeated early deletion charges.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Blob containers, tiers, lifecycle and versioning teaches this objective (about 50 minutes), and 17 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Configure Azure Storage firewalls and virtual networks
- Create and use shared access signature (SAS) tokens
- Configure stored access policies
- Manage access keys
- Configure identity-based access for Azure Files
- Create and configure storage accounts
- Configure Azure Storage redundancy
- Configure object replication
- Configure storage account encryption
- Manage data by using Azure Storage Explorer and AzCopy
- Create and configure a file share in Azure Storage
- Configure storage tiers