Question

Difficulty: EasyImplement Azure Blob Storage Lifecycle Management and Retention Policies

You are configuring a lifecycle management policy for a Standard General Purpose v2 (GPv2) storage account to minimize costs for log blobs. The policy will transition blobs through various access tiers and eventually delete them.

Arrange the following lifecycle policy events in the correct chronological order of execution for a newly created blob, starting from the earliest event to the latest.

  1. 1The blob is uploaded to the storage account and initially stored in the Hot access tier.
  2. 2The lifecycle rule transitions the blob to the Cool tier using the `tierToCool` action.
  3. 3The lifecycle rule transitions the blob to the Archive tier using the `tierToArchive` action.
  4. 4The lifecycle rule permanently deletes the blob using the `delete` action.

Answer

The correct chronological order starts with uploading the blob to the Hot tier, followed by transitioning it to the Cool tier (`tierToCool`), then transitioning it to the Archive tier (`tierToArchive`), and finally permanently deleting the blob (`delete`).
The correct chronological sequence for optimizing costs moves the blob from the Hot tier (initial upload) to the Cool tier (`tierToCool`), then to the Archive tier (`tierToArchive`), and lastly to the deleted state (`delete`). This aligns with the progressive decline in storage tier costs and access frequencies.

Step-by-Step Solution

1
Identify the initial state of the blob.
The blob starts in the Hot tier upon upload.
Standard GPv2 accounts default to the Hot tier for new blob writes unless specified otherwise.
2
Determine the first cost-tier transition.
Transition to the Cool tier (`tierToCool`).
Cool tier is the next progressive tier offering lower storage costs than Hot but higher than Archive.
3
Determine the second cost-tier transition.
Transition to the Archive tier (`tierToArchive`).
Archive tier offers the lowest storage costs but has high retrieval latency and cost, suitable for historical data before deletion.
4
Identify the final lifecycle action.
Permanent deletion (`delete`).
Deleting the blob removes it permanently to prevent any further storage charges.

Key Concept

Azure Storage Lifecycle Management allows automatic transitioning of blobs to cooler storage tiers (Hot to Cool, Cool to Archive) and deletion based on age rules.
Rate this question