AZ-204 · Question #579
You manage an Azure Storage account named storage1. You plan to load 1 million blobs into storage1. You must assign key-value pairs to blobs so that both keys and their values are automatically…
The correct answer is B. Set-AzStorageBlobTag. The Set-AzStorageBlobTag command is used to assign key-value pairs (tags) to blobs in Azure Blob Storage. These tags are automatically indexed and searchable, allowing you to manage and search blobs based on their assigned metadata using the built-in indexing services in Azure…
Question
Options
- AUpdate -AzStorageBobServiceProperty
- BSet-AzStorageBlobTag
- Caz storage blob service-properties update
- DSet-AzStorageBlobContent
How the community answered
(31 responses)- A10% (3)
- B81% (25)
- C3% (1)
- D6% (2)
Explanation
The Set-AzStorageBlobTag command is used to assign key-value pairs (tags) to blobs in Azure Blob Storage. These tags are automatically indexed and searchable, allowing you to manage and search blobs based on their assigned metadata using the built-in indexing services in Azure Update -AzStorageBobServiceProperty is used to update service-level properties, not blob- specific metadata or tags. az storage blob service-properties update updates service-level properties for the blob service (such as CORS rules or logging), but does not assign key-value pairs to individual blobs. Set-AzStorageBlobContent uploads a blob to a storage container, but it is not used to set tags or key-value pairs.
Topics
Community Discussion
No community discussion yet for this question.