An organization uses a Standard General Purpose v2 (GPv2) storage account to store telemetry data. You need to configure an Azure Blob Storage lifecycle management policy. The policy must move all block blobs in the `telemetry` container to the Archive tier if they have not been modified for more than days. Additionally, the policy must only apply to blobs that have a blob index tag named `Project` with a value of `Alpha`.
Which JSON policy definition should you use?
- {
"rules": [
{
"enabled": true,
"name": "ArchiveTelemetry",
"type": "Lifecycle",
"definition": {
"actions": {
"baseBlob": {
"tierToArchive": {
"daysAfterModificationGreaterThan": 90
}
}
},
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "telemetry/" ],
"blobIndexMatch": [
{
"name": "Project",
"op": "==",
"value": "Alpha"
}
]
}
}
}
]
}Answer - B{
"rules": [
{
"enabled": true,
"name": "ArchiveTelemetry",
"type": "Lifecycle",
"definition": {
"actions": {
"baseBlob": {
"tierToArchive": {
"daysAfterModificationGreaterThan": 90
}
}
},
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "telemetry/" ],
"blobIndexMatch": [
{
"name": "project",
"op": "==",
"value": "alpha"
}
]
}
}
}
]
} - C{
"rules": [
{
"enabled": true,
"name": "ArchiveTelemetry",
"type": "Lifecycle",
"definition": {
"actions": {
"baseBlob": {
"tierToArchive": {
"daysAfterModificationGreaterThan": 90
}
}
},
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "telemetry/" ],
"blobIndexMatch": [
{
"name": "Project",
"op": "==",
"value": "Alpha"
}
]
},
"security": {
"authorization": "SasToken",
"sasToken": "?sv=2025-04-08&ss=b&srt=o&sp=rwd"
}
}
}
]
} - D{
"rules": [
{
"enabled": true,
"name": "ArchiveTelemetry",
"type": "Lifecycle",
"definition": {
"actions": {
"baseBlob": {
"tierToArchive": {
"daysAfterModificationGreaterThan": 90,
"ignoreActiveLease": true
}
}
},
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "telemetry/" ],
"blobIndexMatch": [
{
"name": "Project",
"op": "==",
"value": "Alpha"
}
]
}
}
}
]
}
Answer
The correct policy definition contains the action tierToArchive with daysAfterModificationGreaterThan set to 90, matches block blobs within the telemetry container, and configures the case-sensitive blobIndexMatch filter matching Project with Alpha.
The correct JSON policy uses the proper actions and filters block layout. It maps the daysAfterModificationGreaterThan parameter to 90 days, targets the block blobs in the telemetry container, and strictly adheres to the case-sensitive blob index tag filter parameters.
Step-by-Step Solution
Key Concept
Azure Blob Storage Lifecycle Management policy definition with blob index tag filtering.