A company uses a Standard General Purpose v2 (GPv2) storage account to store temporary media processing files in a container named incoming-transcodes. You configure a lifecycle management policy to delete all blobs in this container 7 days after they are created. Some of these blobs are actively leased by processing worker roles, while others are accessed by external clients using Shared Access Signatures (SAS). Which of the following describes the execution behavior of the lifecycle management policy when it runs?
- AThe lifecycle management policy only deletes the blobs if they are accessed via SAS tokens that explicitly include the delete permission scope.
- The lifecycle management policy executes and deletes the blobs regardless of active leases or the permissions of SAS tokens used to access the blobs.Answer
- CThe lifecycle management policy fails to delete the blobs if they have active leases, as it cannot override the write lock of an active lease.
- DThe lifecycle management policy bypasses the blobs if they are associated with case-sensitive metadata keys that contain uppercase letters.
Answer
The lifecycle management policy executes and deletes the blobs regardless of active leases or the permissions of SAS tokens used to access the blobs.
The correct answer states that the lifecycle management policy executes and deletes the blobs regardless of active leases or SAS permissions. Azure Blob Storage lifecycle management runs as a platform-level background process. While client applications must honor blob leases and SAS token permissions when performing operations on blobs, the lifecycle management service executes with administrative privileges and is not blocked by active leases or client-level access restrictions.
Step-by-Step Solution
Key Concept
Azure Blob Storage Lifecycle Management Execution Mechanics
Estimated Time:1m 30s