Microsoft Azure Developer Associate AZ-204 Practice Question
A general-purpose v2 storage account contains a container named payroll. Your application uploads each month's payroll PDFs to this container. For the first 30 days the files are read frequently; after that they are rarely accessed but must be kept for seven years. You need an automated solution that minimizes storage costs without affecting the first 30 days of usage. What should you do?
Set the default access tier of the payroll container to Cool so that new uploads are immediately stored in the Cool tier.
Create a lifecycle management rule that moves blobs in the payroll container to the Cool tier 30 days after the last modification and to the Archive tier 90 days after the last modification.
Modify the upload code so that each PDF is written directly to the Archive tier.
Enable blob soft delete on the storage account with a retention period of seven years.
Moving the blobs automatically between access tiers provides the lowest cost over the files' lifetime. A lifecycle management rule can be configured on a general-purpose v2 account to tier blobs to Cool after 30 days (lower storage cost with moderate availability) and then to Archive after 90 days (lowest cost, long-term storage). The rule requires no code changes and still keeps the files in Hot during the initial active month. Setting a container access tier to Cool keeps the blobs there from day one, increasing early-access latency and retrieval charges. Uploading directly to Archive would block normal reads during the first 30 days because Archive blobs must be rehydrated before they can be accessed. Soft delete is for protecting against accidental deletion, not cost management.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure Blob lifecycle management?
Open an interactive chat with Bash
What is the difference between Cool and Archive tiers in Azure Blob Storage?
Open an interactive chat with Bash
How does rehydration work for blobs in the Archive tier?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Develop for Azure storage
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .