Microsoft Azure Architect Technologies (legacy) — Question 48
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
- A. Enable partitioning
- B. Enable duplicate detection
- C. Set the Lock Duration setting to 10 seconds
- D. Enable sessions
- E. Set the Max Size setting of the queue to 5 GB
Correct answer: D
Explanation
The correct answer is D, as enabling sessions is essential for FIFO delivery in Azure Service Bus queues. The other options do not ensure message ordering: partitioning (A) allows for scalability but disrupts order, duplicate detection (B) is for managing duplicates, Lock Duration (C) affects message processing time, and Max Size (E) defines capacity without influencing order.