Home » Microsoft » AZ-102 » What should you do?
You have an Azure Service Bus.
You need to implement a Service Bus queue that guarantees first-in-first-out (FIFO) delivery messages.
What should you do?
A. Set the Max Size setting of the queue to 5 GB.
B. Enable duplicate detection.
C. Set the Lock Duration setting to 10 seconds.
D. Enable sessions.
E. Enable partitioning.
Correct Answer: D
Explanation/Reference:
Through the use of messaging sessions you can guarantee ordering of messages, that is first-in-first-out (FIFO) delivery of messages.
References: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-contrasted