AZ-104 Question 107
Single answerYou manage a storage account holding daily log files that must stay in the Hot tier for 30 days, then move automatically to the Cool tier, and be deleted after 180 days. How should you configure blob lifecycle management?
- A
Create a lifecycle management policy with two rules: transition to Cool after 30 days and delete after 180 days
- B
Configure one rule to immediately place new blobs in Archive tier and delete them after 180 days
- C
Manually move blobs to the Cool tier at day 30 and rely on the default retention policy to delete them
- D
Use a rule that transitions data to the Cool tier at 180 days but leaves them in Hot for the first 30 days
Show answer and explanation
Correct answer: A
Explanation
A blob lifecycle management policy can be configured with multiple rules that transition blobs to different tiers based on their age in days since last modification, and eventually delete them after a specified number of days. The correct configuration is to move blobs to the Cool tier at day 30, then delete them at day 180.
- A. Correct.
This option meets both the tier transition (to Cool at day 30) and the deletion requirement (after 180 days)
- B. Incorrect.
This is incorrect because it immediately places new blobs in the Archive tier, making them inaccessible earlier than required
- C. Incorrect.
This approach does not automate the tier transition or deletion and relies on manual intervention
- D. Incorrect.
This option only transitions to Cool at day 180, which does not satisfy the 30-day requirement