Azure Storage Solution for Five-Year Immutable Daily-Access Data?
HOTSPOT You are planning an Azure Storage solution for sensitive data. The data will be accessed daily. The dataset is less than 10 GB. You need to recommend a storage solution that meets the following requirements: ✑ All the data written to storage must be retained for five years. ✑ Once the data is written, the data can only be read. Modifications and deletion must be prevented. ✑ After five years, the data can be deleted, but never modified. ✑ Data access charges must be minimized. What should you recommend? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area: [sampleXML/xmlfile-110_1.jpg]
Community Insight
The exam tests whether you know that blob immutability is a container/blob-level WORM policy, not an Azure Resource Manager lock, and that daily reads force the Hot tier for cost minimization.
This AZ-305 hotspot asks you to pair the right Azure Storage account/tier with the right WORM configuration so that a sub-10 GB dataset read daily is immutable for five years at the lowest access cost. The page establishes that a General Purpose v2 account on the Hot access tier plus a container-level time-based immutable retention policy is the correct pairing.
Most candidates reach for a storage account resource lock (CanNotDelete) or a legal hold; the lock only protects the account resource from deletion while blobs can still be edited or deleted, and a legal hold never expires so it cannot express 'deletable after five years'.
Community Discussion (40 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
The dataset is under 10 GB but is read every day, so a general-purpose v2 account using the Hot access tier keeps per-GB access charges at their lowest for frequently read blobs. The WORM requirements must be enforced where the blobs actually live: a container-level access policy that applies a time-based immutable retention interval of five years. With that policy in place, blobs can be written and read but cannot be overwritten or deleted for the entire interval, which satisfies 'once written, the data can only be read' and 'modifications and deletion must be prevented'. When the five-year interval expires the blobs become removable, matching 'after five years the data can be deleted'. Hot rather than Cool or Archive is chosen because the access-charge requirement dominates a dataset this small that is touched daily.Why Other Candidate Answers Are Wrong
A resource lock such as CanNotDelete is applied by Azure Resource Manager to the storage account resource itself, so it blocks account deletion while leaving blob overwrite, blob delete and container delete fully possible. A legal hold also produces immutable blobs, but a hold has no expiry and persists until it is manually cleared, so it cannot express the requirement that data becomes deletable after exactly five years. Configuring Cool, Cold or Archive access tiers would satisfy retention but inflate transaction and retrieval charges for a workload read daily, directly contradicting the cost-minimization requirement. Premium block blobs or Azure Files add cost without contributing any capability the WORM and retention requirements ask for.Community Comment Notes
mse89 states the answer as "container access policy to configure a time-based retention policy for immutable storage" and warns that a Storage account resource lock "does not prevent data editing or deletion". Gowind reaches the same conclusion, citing the access tiers overview for GPv2 Hot and the immutable storage overview for a retention policy scoped at least to the container, and NotMeAnyWay argues daily access makes Hot the most cost-effective tier for the WORM-protected container. sw1000 asks the moderators to update the posted answer because "we have a lot of consense here" that General Purpose v2 with a Hot tier plus a Container Access Policy is what delivers the stated outcome. jcxxxxx2020 and nav109 both report seeing this exact hotspot on live exams in late 2023, reinforcing that container-level immutability rather than an account lock is the tested concept.Official Reference
Exam Strategy
Treat each hotspot box independently: Box 1 is a storage account/tier decision driven by frequency of access (Hot for daily reads), Box 2 is a data-protection decision driven by 'cannot be modified or deleted' (container-level immutable policy). Whenever a question says written data must be read-only, think blob immutability, and only fall back to resource locks when the requirement talks about the account itself, not the data.
Frequently Asked Questions
Why isn't a storage account resource lock enough to make the blobs immutable?
A resource lock protects only the account resource from deletion; blobs inside can still be overwritten or deleted. Immutability must come from a container-level retention policy.
Could a legal hold replace the time-based retention policy for the five-year requirement?
No. A legal hold has no expiry and stays until manually cleared, so it cannot express 'deletable after five years'; a five-year time-based interval can.
Related Analysis
Practice All AZ-305 Questions
Access 95 questions with complete answers and detailed explanations.
View Full AZ-305 Practice Test →