An organization has a standard General Purpose v2 (GPv2) storage account named proddatastore configured with Geo-Redundant Storage (GRS). A lifecycle management policy is applied to proddatastore to transition logs from the Hot tier to the Archive tier after 30 days, and delete them after 90 days. An administrator is preparing a disaster recovery plan and needs to determine the behavior of the lifecycle management policy and data replication during normal operations and after a potential customer-managed failover. Which of the following statements correctly describes how Azure handles the lifecycle management policy and replication for this storage account?
- AThe lifecycle management policy executes on the primary region and replicates tier changes to the secondary; however, initiating a customer-managed failover permanently deletes the lifecycle policy definition, requiring the administrator to recreate the rules on the new primary region.
- BThe lifecycle management policy runs independently on both the primary and secondary regions to ensure policy consistency; however, blobs cannot be transitioned to the Archive tier while GRS is enabled, causing the policy to fail.
- The lifecycle management policy runs only in the primary region, with all tier transitions and deletions replicated asynchronously to the secondary region; if a customer-managed failover is initiated, the lifecycle policy definition is preserved and executes in the new primary region.Answer
- DThe lifecycle management policy executes on the primary region, but all policy actions will fail unless the administrator explicitly assigns the Storage Blob Data Contributor role to the Azure Lifecycle Management service principal at the storage account scope.
Answer
The lifecycle management policy runs only in the primary region, with all tier transitions and deletions replicated asynchronously to the secondary region; if a customer-managed failover is initiated, the lifecycle policy definition is preserved and executes in the new primary region.
The correct option stating that the policy runs only in the primary region and is preserved after failover is correct because lifecycle management execution is a data plane activity that occurs on the primary endpoint, and any resulting tier changes or deletions are replicated asynchronously to the secondary region via GRS. Because the lifecycle policy definition is stored as part of the storage account's control plane configuration, it is replicated to the secondary region and remains active to execute on the new primary region after a failover.
Step-by-Step Solution
Key Concept
Azure Storage lifecycle policies execute on the primary region and replicate data state changes to the secondary region, while the policy configuration is preserved during failover.