AZ-204 · Question #208
AZ-204 Question #208: Real Exam Question with Answer & 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 chan
Question
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 appropriate methods from the list of methods to the answer area and arrange them in the correct order. Answer:
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.