You plan to upload 1 million blobs and must assign key-value pairs to blobs so both keys and values are automatically indexed and searchable by the storage account’s native services. Which command should you run to set those tags?
Choose an answer
Tap an option to check your answer.
Correct answer: Set-AzStorageBlobTag.
Why this is the answer
The Set-AzStorageBlobTag cmdlet is the correct choice because it allows you to set key-value pair tags on Azure blobs. These tags are automatically indexed by Azure Storage, making them searchable and enabling efficient organization and retrieval of your blobs. This directly addresses the requirement for automatic indexing and searchability. Update-AzStorageBlobServiceProperty is incorrect as it modifies properties of the blob service itself, not individual blobs. az storage blob service-properties update is the Azure CLI equivalent of the previous incorrect option. Set-AzStorageBlobContent is used to upload or update the content of a blob, not to manage its tags.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed