An organization hosts application logs in an Azure Storage account named logdata99 located in the East US region. The storage account is configured as a standard General Purpose v2 (GPv2) account with Geo-redundant storage (GRS) replication. A lifecycle management policy is active on logdata99 to transition blobs in the applogs container to the Archive tier after 30 days of inactivity. Due to a primary region outage, an administrator initiates a customer-managed failover to the secondary region (East US 2). After the failover completes, how does the lifecycle management policy behave?
- AThe lifecycle management policy is automatically deleted during the failover, as lifecycle policy definitions do not replicate to the secondary region.
- BThe lifecycle management policy is paused until an administrator assigns the Storage Blob Data Contributor role to the lifecycle service principal in the new primary region.
- The lifecycle management policy remains active and will execute on the new primary endpoint in the secondary region.Cevap
- DThe lifecycle management policy continues to execute, but it will only transition blobs to the Cool tier because the Archive tier is not supported on geo-replicated secondary endpoints.
Cevap
The lifecycle management policy remains active and will execute on the new primary endpoint in the secondary region.
The correct answer is that the lifecycle management policy remains active and will execute on the new primary endpoint in the secondary region. Lifecycle management policies are metadata-level configurations of the storage account. When a storage account is configured with GRS, this metadata replicates to the secondary region. While the policy only runs on the active primary endpoint, performing a failover changes the secondary region into the new primary region. Consequently, the lifecycle management rules will resume running on the new primary endpoint.
Adım Adım Çözüm
Anahtar Kavram
Lifecycle management policy replication and execution behavior during a storage account failover