Microsoft Azure Solutions Architect Expert AZ-305 Practice Question
Your company is developing a payment-processing microservice hosted on Azure Kubernetes Service (AKS). Up to 2,000 payment messages per second will be sent from multiple front-end applications. Each message must be processed exactly once and strictly in the order it was received for each customer account. Processing can take up to five minutes, and failed attempts should be retried automatically before the message is dead-lettered. Which Azure messaging service should you recommend?
Azure Queue Storage queues with client-side ordering logic
An Azure Event Hubs namespace using the Kafka-compatible endpoint and multiple partitions
An Azure Service Bus queue in the Premium tier with sessions and duplicate detection enabled
Azure Event Grid with webhook subscribers for the microservice
Azure Service Bus queues (Premium tier) support first-in, first-out processing by enabling sessions, and they offer built-in duplicate detection to ensure each payment is handled exactly once. Messages can be locked for up to 5 minutes (or longer with renewals), allowing slow consumers to complete processing, and dead-letter queues provide automatic isolation after the configured retry count is exceeded. Event Hubs focuses on telemetry ingestion and only guarantees ordering within a partition, not per customer, and lacks automatic duplicate detection or built-in dead-lettering. Storage Queues offer at-least-once delivery with best-effort ordering but provide no FIFO guarantee, duplicate detection, or dead-letter queues. Event Grid is designed for lightweight reactive events, does not ensure ordered or exactly-once delivery, and has limited retry customization. Therefore, an Azure Service Bus Premium queue with sessions and duplicate detection best satisfies the requirements with minimal custom development.
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 the purpose of sessions in Azure Service Bus?
Open an interactive chat with Bash
How does duplicate detection work in Azure Service Bus?
Open an interactive chat with Bash
What is a dead-letter queue, and why is it important?
Open an interactive chat with Bash
Microsoft Azure Solutions Architect Expert AZ-305
Design infrastructure solutions
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 .