AZ-104 Question 108
Single answerYou are the Azure Administrator for a financial services company. You manage a storage account that collects monthly transaction logs. You want to configure a lifecycle policy so that logs older than 30 days are moved to the Cool tier, and logs older than 180 days are moved to the Archive tier to reduce costs. Which of the following steps would best accomplish this using Azure Blob Lifecycle Management rules?
- A
Create two separate lifecycle rules, each specifying only one action: one rule moves blobs to Cool after 30 days, the other moves blobs to Archive after 180 days.
- B
Set the default tier to Cool and manually change the tier to Archive for blobs older than 180 days.
- C
Establish a single lifecycle rule with multiple actions: move logs to Cool after 30 days and then to Archive after 180 days within the same rule.
- D
Enable Soft Delete for all blobs, then configure the retention period for 180 days and rely on manual tier changes.
Show answer and explanation
Correct answer: C
Explanation
Azure Blob Lifecycle Management allows you to define multiple actions in a single rule to automatically move data through tiers based on age. In this scenario, setting up a single rule to move logs to Cool after 30 days and then Archive after 180 days is the most efficient and fully automated approach.
- A. Incorrect.
While creating two separate rules works, it is usually more straightforward to define both tier movements in one rule, making option 1 less efficient.
- B. Incorrect.
Simply setting the default tier to Cool and manually archiving older blobs does not automate the entire process.
- C. Correct.
A single lifecycle rule with multiple tier actions automates moving blobs to Cool first and then to Archive, fully meeting the requirement.
- D. Incorrect.
Soft Delete and a 180-day retention period only protect against accidental deletion and do not automate tier changes.