An organization stores system logs in a Standard General Purpose v2 (GPv2) storage account. You are reviewing the following Azure Blob Storage lifecycle management policy:
{
"rules": [
{
"enabled": true,
"name": "log-retention-policy",
"type": "Lifecycle",
"definition": {
"actions": {
"baseBlob": {
"tierToCool": {
"daysAfterModificationGreaterThan": 30
},
"tierToArchive": {
"daysAfterModificationGreaterThan": 90
},
"delete": {
"daysAfterModificationGreaterThan": 180
}
}
},
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "logs/system-" ],
"blobIndexMatch": [
{
"name": "Environment",
"op": "==",
"value": "Production"
}
]
}
}
}
]
}
Which two of the following statements regarding the behavior and execution of this policy are true?
- The policy rule runs automatically once every 24 hours to transition and delete blobs that match the filter criteria.Answer
- Only block blobs with index tags matching the exact case of key 'Environment' and value 'Production' are processed by this rule.Answer
- CIf a matching blob has an active write lease, the lifecycle management policy will fail to transition or delete that blob until the lease is broken or expires.
- DA Shared Access Signature (SAS) token with write and delete permissions must be generated and associated with the policy for the rules to execute.