Which Azure Storage setup retains blobs immutably for five years?
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.

Community Insight
The item tests immutable blob storage (WORM retention) combined with cost-aware access-tier selection; the trap is picking a storage account resource lock or the cool tier, neither of which blocks changes to the individual blobs or minimizes per-read charges.
This AZ-305 hotspot asks you to choose an Azure Storage account type and a protection mechanism so that a small (<10 GB), daily-read dataset is write-once-read-many for five years at the lowest access cost. The page establishes that the correct pair is a General purpose v2 account with the hot access tier for blobs plus a container-level immutability (time-based retention) policy.
Choosing a storage account resource lock because it sounds like 'read-only' protection — a lock only protects the account or container resource, so blobs inside can still be overwritten or deleted. A second common error is picking the cool access tier to save money, which lowers storage cost but raises per-access charges for a dataset that is read every day.
Community Discussion (29 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 and read daily, so the requirement to minimize data access charges is driven by read and transaction pricing, and the hot access tier has the lowest access cost of the General purpose v2 blob tiers. General purpose v2 is the account type that supports blob access tiers, immutable storage policies and lifecycle management, so one account satisfies both the retention and the cost goals. Immutability is applied at the container level with a time-based retention policy, which makes the blobs write-once-read-many: writes are accepted, while modifications and deletions are rejected until the five-year interval elapses. After the interval expires the policy no longer blocks deletion, so the data can be removed without ever having been altered in place. Premium block blobs are provisioned for high transaction rates and low latency and carry a much higher capacity price, which does not fit a small, modestly accessed dataset.Why Other Candidate Answers Are Wrong
A storage account resource lock acts on the account or container resource, not on the objects inside it, so blob overwrites and deletes would still succeed — exactly the protection gap the question targets. The cool tier inverts the cost model: cheaper storage but higher per-read and per-transaction charges, so it does not satisfy "data access charges must be minimized" for daily reads. Premium block blobs are also wrong here because their provisioned capacity pricing is far more expensive for a few gigabytes of data that is only read once a day. Treating the second box as a shared access signature or SAS-related policy is a misunderstanding: a container access policy holds the immutable time-based retention policy, which is unrelated to SAS tokens.Community Comment Notes
IRISone, the highest-voted comment, argues the second box "Should be COntainer Policy for immutable storage" and points out that "A resource lock does not prevent removal of files and folders." xRiot007 reinforces this, noting a lock protects the resource itself and "not of the data inside of that resource." LeeVee and OPT_001122 both settle on the same pairing, with LeeVee summarizing it as "GPv2 and Container Policy." Elecktrus dissents, claiming that "access cost to Premium Block is cheaper than GPv2 hot tier," while MasterMans' cool-tier pick and 155e6a0's assertion that "Container Access Policy is for SAS" illustrate the two mistakes the question deliberately baits.Official Reference
Exam Strategy
Read the two dropdowns as two separate requirements: the cost language ("accessed daily", "data access charges must be minimized") points to the hot tier, while the retention language ("retained for five years", "modifications and deletion must be prevented") points to a container-level immutability policy rather than a resource lock. Whenever a hotspot lists both a storage type and a protection mechanism, confirm that the account type you chose actually supports immutable container policies.
Frequently Asked Questions
Does a storage account resource lock prevent blobs from being modified or deleted?
No. A resource lock protects the account or container resource itself, while the blobs inside can still be overwritten or deleted, so a container-level immutable policy is required.
Should I use premium block blobs instead of GPv2 hot to reduce data access charges?
Premium block blobs are provisioned for high transaction rates and low latency and cost far more per GB; for a <10 GB dataset read daily, GPv2 with the hot tier minimizes overall access charges.
Related Analysis
Practice All AZ-305 Questions
Access 95 questions with complete answers and detailed explanations.
View Full AZ-305 Practice Test →