Courseiva
Event Driven IntegrationmediumMultiple ChoiceObjective-mapped

AI-200 Event Driven Integration Practice Question

Your application uses Azure Service Bus Queues. A spike in traffic causes multiple worker instances to contend for messages. You want to ensure that when a worker locks a message, no other worker can process it, and the lock is automatically renewed in the background if processing takes longer than expected. Which client library feature should you use?

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

Enable Auto-Lock Renewal on the message processor client.

Modern Azure Service Bus SDKs include an auto-lock renewal feature (e.g., `MaxAutoLockRenewalDuration` in .NET) that automatically extends the message lock while the handler is executing.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable Auto-Lock Renewal on the message processor client.

    Why this is correct

    Auto-lock renewal background tasks keep extending the lock duration automatically until message processing completes.

  • Increase the LockDuration property on the queue to 2 hours permanently.

    Why it's wrong here

    Setting a permanent 2-hour lock duration is bad practice because if a worker crashes, the message remains locked for 2 hours before another worker can retry it.

  • Use Event Grid advanced filters to throttle incoming messages.

    Why it's wrong here

    Event Grid filters do not manage Service Bus message locks.

  • Switch the queue to ReceiveAndDelete mode.

    Why it's wrong here

    ReceiveAndDelete deletes the message immediately, risking data loss if the worker crashes.

About these practice questions

Courseiva writes every AI-200 question from scratch — 503 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.