Microsoft Azure Developer Associate AZ-204 Practice Question

An Azure Storage account named contosoimages hosts a container for customer uploads. You are developing an ASP.NET Core Web API that must return a six-hour SAS URL so clients can upload one blob. Security requires Azure AD authentication only, no storage account keys, and the token must be revocable by disabling the API's identity. Which approach should you implement?

  • Generate a service SAS by signing BlobSasBuilder with the storage account key.

  • Generate an account SAS in the Azure portal and store it in Azure Key Vault.

  • Set the container access level to Blob and return the blob URL without a SAS.

  • Generate a user delegation SAS by calling GetUserDelegationKey and building the SAS with BlobSasBuilder.

Microsoft Azure Developer Associate AZ-204
Implement Azure security
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