Microsoft Azure Architect Technologies (2020, legacy) — Question 105

You have an Azure Service Bus.
You need to implement a Service Bus queue that guarantees first-in-first-out (FIFO) delivery of messages.
What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D, as enabling sessions in an Azure Service Bus queue allows for FIFO message delivery by grouping related messages together. Options A and B do not address message ordering; they relate to scalability and uniqueness, respectively. Option C is unrelated to message order, as it only affects message locking duration, and option E pertains to the queue's size rather than its message delivery order.