Question

Difficulty: MediumConfigure Blob Storage Lifecycle and Replication

You have an Azure General Purpose v2 (GPv2) storage account named logsstore104 in the East US region. The storage account is currently configured to use locally-redundant storage (LRS). You need to configure replication and a blob lifecycle policy to meet the following requirements:
- All data must be replicated to a secondary region and must remain readable even if the primary region experiences an outage.
- Blobs must automatically transition to the Archive storage tier 180 days after they are created.
- Blobs must be deleted automatically 365 days after they are created.

Which two actions should you perform to meet these requirements?

  1. Change the replication setting of the storage account to Read-access geo-redundant storage (RA-GRS).Answer
  2. Configure a lifecycle management policy rule that transitions blobs to the Archive tier 180 days after creation and deletes blobs 365 days after creation.Answer
  3. C
    Initiate a live migration request to convert the storage account from Locally-redundant storage (LRS) to Zone-redundant storage (ZRS) first.
  4. D
    Assign the Storage Blob Data Contributor RBAC role to the built-in storage service principal to authorize lifecycle rule execution.

Answer

To meet the requirements, you must change the replication setting of the storage account to Read-access geo-redundant storage (RA-GRS) and configure a lifecycle management policy rule that transitions blobs to the Archive tier 180 days after creation and deletes blobs 365 days after creation.
The correct options involve changing the replication setting to Read-access geo-redundant storage (RA-GRS) and configuring a lifecycle policy. Changing the replication to RA-GRS ensures that data is copied to a secondary region and is readable during a primary region failure. Configuring a lifecycle policy rule with transition and deletion actions directly automates moving blobs to the Archive tier after 180 days and deleting them after 365 days.

Step-by-Step Solution

1
Update storage replication
Changing the replication configuration from LRS to RA-GRS starts asynchronous replication to the secondary region and enables the secondary read-only endpoint.
This guarantees that data remains readable even if the primary region experiences an outage.
2
Configure lifecycle actions
Define a lifecycle rule in the storage account containing two actions: transition to Archive after 180 days, and delete after 365 days.
This automates storage tiering and cleanup without manual intervention or script execution.

Key Concept

Blob lifecycle management rules and storage replication conversion pathways.
Estimated Time:1m 30s
Rate this question