An administrator manages a standard General Purpose v2 (GPv2) storage account named stbackup2026 in the East US region. The storage account currently uses Locally Redundant Storage (LRS). To meet new corporate policies, the administrator must ensure the storage account is protected against regional outages. Additionally, any logs stored in a container named 'temp-logs' must be automatically deleted 30 days after they are created. Which two actions should the administrator perform to meet these requirements?
- Change the replication configuration of the storage account from Locally Redundant Storage (LRS) to Geo-Redundant Storage (GRS).Answer
- Create a lifecycle management policy with a rule that filters by the 'temp-logs' prefix and deletes blobs 30 days after creation.Answer
- CInitiate a customer-managed account failover to convert the storage account from Locally Redundant Storage (LRS) to Geo-Redundant Storage (GRS).
- DAssign the Storage Blob Data Owner role at the storage account scope to the system-assigned managed identity of the lifecycle management policy.
Answer
The administrator should change the replication configuration of the storage account to Geo-Redundant Storage (GRS) and configure a lifecycle management policy with a rule that targets the 'temp-logs' container to delete blobs 30 days after creation.
To satisfy the requirements, the administrator needs to change the replication type of the storage account to a geo-redundant option (such as Geo-Redundant Storage) to protect against regional outages, and configure a native lifecycle management rule with a prefix filter matching the specific container name to automatically delete the blobs 30 days after creation.
Step-by-Step Solution
Key Concept
Azure Storage replication conversion paths and Blob lifecycle management policy rules.
Estimated Time:1m 30s