Azure AI Cloud Developer (AI-200) · Free practice question 8 of 12
Deferring Service Bus messages
A workflow at Brackwater Insurance receives a payment-confirmed message before the order-created message it depends on. The worker wants to set the payment message aside in the queue and fetch it later by ID. Which Service Bus feature supports this?
- A.Scheduled messages: resend the payment message with a future enqueue time
- B.Message deferral: defer the message, keep its sequence number and later receive it with receive_deferred_messages
- C.Auto-forwarding: forward the message to another queue
- D.Dead-lettering: move it to the dead-letter queue and read it back later
Show answer and explanation
Correct answer: B. Message deferral: defer the message, keep its sequence number and later receive it with receive_deferred_messages
Why: Deferral leaves a message in the queue but hides it from normal receives; the receiver keeps the sequence number and retrieves the message explicitly with receive_deferred_messages when it's ready. Rescheduling creates a new message and guesses at timing. Auto-forwarding moves all messages between entities. The dead-letter queue is for messages that can't be processed, not workflow ordering.
More free Azure AI Cloud Developer (AI-200) questions
- Importing a public image into ACR
- Event-driven Container Apps job
- Horizontal Pod Autoscaler on CPU
- Container TTL for chat history
- Optimistic concurrency with ETag
- IVFFlat lists and probes tuning
- Entra ID connection to Azure Managed Redis
- Event Grid system topic for storage events
- NCRONTAB timer trigger schedule
- User-assigned identity shared by apps
- KQL distinct counts with dcount