Microsoft Azure Developer Associate AZ-204 Practice Question
Your Azure Service Bus queue receives order messages from multiple systems. Senders can occasionally resubmit the same message within minutes after a transient failure. You need the broker, not your code, to drop any duplicate message that arrives within a 10-minute window. Which queue setting should you configure?
Set MaxDeliveryCount to 1 and enable dead-lettering on message expiration.
Enable duplicate detection on the queue and set the duplicate detection history time window to 10 minutes.
Increase the queue's LockDuration property to 10 minutes.
Enable sessions on the queue and configure the session idle timeout to 10 minutes.
Azure Service Bus includes a duplicate detection feature. When enabled, the broker records the MessageId values it accepts for a period defined by the DuplicateDetectionHistoryTimeWindow property. If another message with the same MessageId arrives during that window, the broker accepts the send operation but silently discards the message. Sessions, lock duration, and dead-lettering address ordering, processing time, and poison messages; they do not eliminate duplicates.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Duplicate Detection in Azure Service Bus?
Open an interactive chat with Bash
What does the DuplicateDetectionHistoryTimeWindow property do?
Open an interactive chat with Bash
How does the MessageId property work in Azure Service Bus duplicate detection?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .