AI-200 Event Driven Integration Practice Question
Your enterprise AI system uses Azure Service Bus. A background job processes messages from a subscription. If an exception occurs, the message must be abandoned, but you want to ensure that after 5 failed delivery attempts, the message is automatically moved to a dead-letter queue without custom retry logic in code. How should you configure this?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Set the MaxDeliveryCount property on the Service Bus subscription to 5.
You should configure the MaxDeliveryCount property on the Service Bus subscription to 5. Once exceeded, Service Bus automatically moves the message to the dead-letter sub-queue.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Implement a Session-based retry policy with an exponential backoff timer.
Why it's wrong here
Client-side retry policies do not automatically dead-letter messages at the broker level after a set number of failures unless handled in code.
- ✓
Set the MaxDeliveryCount property on the Service Bus subscription to 5.
Why this is correct
When delivery count exceeds MaxDeliveryCount, Service Bus automatically dead-letters the message.
- ✗
Enable DeadLetteringOnMessageExpiration on the subscription settings.
Why it's wrong here
This setting dead-letters messages only when their Time-To-Live (TTL) expires, not upon failed processing attempts.
- ✗
Configure the LockDuration property to 5 seconds.
Why it's wrong here
Lock duration determines how long a message is locked for a single receiver before it becomes available again, not the max retry count.
About these practice questions
This AI-200 question is part of Courseiva's 503-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Microsoft exam blueprint
This AI-200 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-200 exam.