Microsoft Azure Developer Associate AZ-204 Practice Question

You are building a .NET application that uses the Azure.Storage.Blobs v12 SDK. Before processing an existing block blob you must determine its size (ContentLength) and read the value of a custom metadata key named "department." You must accomplish this without downloading the blob's content and while making as few service calls as possible. Which SDK action should you take?

  • Call BlobClient.GetPropertiesAsync and read the returned BlobProperties values.

  • Call BlobClient.GetTagsAsync and read the Tags dictionary.

  • Call BlobClient.DownloadContentAsync and inspect the BlobDownloadResult.

  • Call BlobClient.SetMetadataAsync with an empty dictionary, then read the response headers.

Microsoft Azure Developer Associate AZ-204
Develop for Azure storage
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot