Question 45 of 179 from exam AZ-204: Developing Solutions for Microsoft Azure

Question 45 of 179 from exam AZ-204: Developing Solutions for Microsoft Azure

Question

DRAG DROP - 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.

Select and Place:

Methods

Metadata.Add

SetMetadataAsync

FetchAttributesAsync

UploadFileStream

SetPropertiesAsync

Answer Area

Explanations

Methods Answer Area

Metadata.Add

SetMetadataAsync

FetchAttributesAsync SetPropertiesAsync

UploadFileStream

Metadata.Add example: // Add metadata to the dictionary by calling the Add method metadata.Add("docType", "textDocuments"); SetMetadataAsync example: // Set the blob's metadata.

await blob.SetMetadataAsync(metadata); // Set the blob's properties.

await blob.SetPropertiesAsync(); Reference: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-properties-metadata.