An e-commerce platform uses a Standard General Purpose v2 (GPv2) storage account to store shopping cart session states as block blobs. You configure the following lifecycle management policy to automatically delete abandoned shopping carts after 7 days:
{
"rules": [
{
"enabled": true,
"name": "delete-abandoned-sessions",
"type": "Lifecycle",
"definition": {
"actions": {
"baseBlob": {
"delete": {
"daysAfterModificationGreaterThan": 7
}
}
},
"filters": {
"blobTypes": [
"blockBlob"
],
"blobIndexMatch": [
{
"name": "CartStatus",
"op": "==",
"value": "abandoned"
}
]
}
}
}
]
}
Several block blobs last modified 10 days ago have not been deleted. You confirm the lifecycle policy executed successfully within the last 24 hours. Which of the following is the most likely reason these blobs were not deleted?
- The blob index tags on the blobs use the key name 'cartstatus' in all lowercase, which fails to match the case-sensitive filter key 'CartStatus'.Cevap
- BThe blobs have an active lease, which permanently disables lifecycle policy evaluation for those blobs even after the lease is released.
- CThe blobs are accessed using a Shared Access Signature (SAS) token that has write permission, which overrides the lifecycle policy and prevents automatic deletion.
- DThe lifecycle policy filter configuration must prefix the tag name with 'x-ms-meta-' to match metadata headers.