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?
- Change the replication setting of the storage account to Read-access geo-redundant storage (RA-GRS).Answer
- 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
- CInitiate a live migration request to convert the storage account from Locally-redundant storage (LRS) to Zone-redundant storage (ZRS) first.
- DAssign 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
Key Concept
Blob lifecycle management rules and storage replication conversion pathways.
Estimated Time:1m 30s