You are designing an application composed of two components that communicate by sending messages through a queue. Messages must be processed in strict First-In, First-Out (FIFO) order. Which queueing solution should you include to ensure FIFO processing?
Choose an answer
Tap an option to check your answer.
Correct answer: Azure Service Bus queues with sessions enabled.
Why this is the answer
Azure Service Bus queues with sessions enabled guarantee strict First-In, First-Out (FIFO) message processing for messages belonging to the same session. Sessions group related messages, ensuring they are processed sequentially by a single receiver. Azure Storage queues do not inherently guarantee FIFO order, even with custom metadata or stored access policies, as they are designed for high-throughput, at-least-once delivery without strict ordering. Azure Service Bus queues with partitioning enabled distribute messages across multiple message brokers, which can break FIFO order for related messages, even if individual partitions maintain order. Sessions are the key to maintaining FIFO for related messages in Service Bus.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed