Microsoft Azure Developer Associate AZ-204 Practice Question

You are developing a microservice that uses the Azure.Messaging.ServiceBus SDK to send commands to a Service Bus queue. For certain high-value orders, the command must not become visible to consumers until exactly 30 minutes after it is created. Without adding extra queues or using external schedulers, which API call should you use to meet this requirement?

  • Call ScheduleMessageAsync and specify an EnqueueTimeUtc that is 30 minutes in the future.

  • Send the message normally and then call DeferAsync on it to make it invisible for 30 minutes.

  • Send the message and immediately call AbandonMessageAsync with a 30-minute visibility timeout.

  • Call SendMessageAsync and set the TimeToLive property of the message to 30 minutes.

Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
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