Courseiva
Event Driven IntegrationmediumMultiple ChoiceObjective-mapped

AI-200 Event Driven Integration Practice Question

You are configuring an Azure Service Bus queue. Business requirements state that messages must automatically expire if they are not consumed within 30 minutes. Which property should you set on the queue definition?

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

DefaultMessageTimeToLive

Azure Service Bus allows you to set the DefaultMessageTimeToLive property on a queue or subscription. Messages older than this duration are automatically moved to the dead-letter queue or discarded.

Answer analysis

Option-by-option breakdown

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

  • DuplicateDetectionHistoryTimeWindow

    Why it's wrong here

    This property controls the window for discarding duplicate message IDs.

  • DefaultMessageTimeToLive

    Why this is correct

    DefaultMessageTimeToLive defines the lifespan of messages in the queue before expiration.

  • LockDuration

    Why it's wrong here

    LockDuration governs how long a message is locked during active consumption, not overall expiration.

  • AutoDeleteOnIdle

    Why it's wrong here

    AutoDeleteOnIdle deletes the entire queue resource if it has no traffic for a period.

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 →

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.