AZ-204 Develop for Azure storage • Complete Question Bank
Complete AZ-204 Develop for Azure storage question bank — all 0 questions with answers and detailed explanations.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Optimized for frequent access, higher storage cost
Optimized for infrequent access, lower storage cost
Optimized for rarely accessed data, even lower cost
Lowest cost, offline storage for backup/compliance
Drag a concept onto its matching description — or click a concept then click the description.
Point-to-point messaging for decoupling components
Pub/sub messaging with multiple subscribers
Big data streaming ingestion service
Push notification service for mobile apps
Refer to the exhibit. The following is an Azure CLI command and its output:
az storage account show \
--name mystorageaccount \
--resource-group myResourceGroup \
--query "{kind:kind, accessTier:accessTier, supportsHttpsTrafficOnly:supportsHttpsTrafficOnly}"
Output:
{
"kind": "StorageV2",
"accessTier": "Cool",
"supportsHttpsTrafficOnly": false
}Refer to the exhibit. The following is a snippet of an Azure Resource Manager (ARM) template for a storage account:
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2023-01-01",
"name": "[parameters('storageAccountName')]",
"location": "[resourceGroup().location]",
"sku": {
"name": "Standard_GRS"
},
"kind": "StorageV2",
"properties": {
"accessTier": "Hot",
"supportsHttpsTrafficOnly": true
}
}Refer to the exhibit. The following is an Azure PowerShell script output: PS Az> Get-AzStorageBlob -Container 'mycontainer' -Blob 'data.txt' | Select-Object Name, BlobType, AccessTier, LastModified Name BlobType AccessTier LastModified ---- -------- ---------- ------------ data.txt BlockBlob Archive 2025-12-01 10:00:00Z
Refer to the exhibit.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AzureAD": "<tenant-id>"
},
"Action": "Microsoft.Storage/storageAccounts/blobServices/containers/read",
"Resource": "<container-resource-id>/*",
"Condition": {
"IpAddress": {
"SourceIp": "203.0.113.0/24"
}
}
}
]
}{
"version": "2019-04-01",
"statement": [
{
"effect": "Allow",
"principal": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"action": [
"Microsoft.Storage/storageAccounts/blobServices/containers/read"
],
"resource": "/subscriptions/sub1/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/stg1/blobServices/default/containers/container1",
"condition": {
"StringEquals": {
"Microsoft.Storage/blob/publicAccess": "none"
}
}
}
]
}Name : stg1
ResourceGroupName : rg1
Location : eastus
SkuName : Standard_GRS
Kind : StorageV2
AccessTier : Cool
Encryption : {"services":{"blob":{"enabled":true,"lastEnabledTime":"2025-01-01T00:00:00Z"},"file":{"enabled":true,"lastEnabledTime":"2025-01-01T00:00:00Z"}},"keySource":"Microsoft.Storage"}{"role": "Storage Blob Data Contributor", "scope": "/subscriptions/12345/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1/blobServices/default/containers/c1"}{
"version": "2019-04-01",
"properties": {
"cors": {
"corsRules": [
{
"allowedOrigins": ["https://www.contoso.com"],
"allowedMethods": ["GET", "PUT"],
"allowedHeaders": ["*"],
"exposedHeaders": ["x-ms-request-id"],
"maxAgeInSeconds": 3600
}
]
},
"deleteRetentionPolicy": {
"enabled": true,
"days": 7
}
}
}Refer to the exhibit.
{
"then": {
"action": {
"type": "SetBlobTier",
"tier": "Archive"
}
},
"if": {
"condition": "and",
"allOf": [
{
"field": "blobType",
"equals": "BlockBlob"
},
{
"field": "lastModified",
"greaterThan": 90
},
{
"field": "tags",
"equals": "{\"project\":\"temp\"}"
}
]
}
}