Microsoft Azure Developer Associate AZ-204 Practice Question

You are building a C# application that uses the Azure.Storage.Blobs v12 SDK to manage files. Before editing a block blob, the app calls GetPropertiesAsync and stores the blob's current ETag value. You must upload the updated content so that the operation succeeds only if the blob has not been modified since it was read. Which implementation meets the requirement?

  • Call UploadAsync and set the AccessTier property of BlobUploadOptions to Hot.

  • Set TransferOptions.MaxConcurrency to 1 in BlobUploadOptions before calling UploadAsync.

  • Call UploadAsync with a BlobUploadOptions instance whose Conditions.IfMatch property is set to the stored ETag.

  • Invoke SetHttpHeadersAsync to apply headers, then call UploadAsync without additional options.

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