AZ-204 · Question #208
Drag and Drop Question You have an application that uses Azure Blob storage. You need to update the metadata of the blobs. Which three methods should you use to develop the solution? To answer, move…
The correct answer is Metadata.Add; SetMetadataAsync; SetPropertiesAsync. To update blob metadata in Azure Blob Storage, you first use Metadata.Add to add key-value pairs to the blob's metadata collection, then call SetMetadataAsync to persist the metadata changes to the blob in Azure, and finally SetPropertiesAsync to save any additional property…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- Metadata.Add
- SetMetadataAsync
- SetPropertiesAsync
Explanation
To update blob metadata in Azure Blob Storage, you first use Metadata.Add to add key-value pairs to the blob's metadata collection, then call SetMetadataAsync to persist the metadata changes to the blob in Azure, and finally SetPropertiesAsync to save any additional property changes back to the service. This three-step sequence correctly modifies and commits metadata updates to a blob object using the Azure Storage SDK.
Topics
Community Discussion
No community discussion yet for this question.
