nerdexam
Microsoft

AZ-104 · Question #174

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?

The correct answer is E. Enable sessions.. Through the use of messaging sessions you can guarantee ordering of messages, that is first-in- first-out (FIFO) delivery of messages. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service- bus-queues-compared-contrasted

Submitted by noor.lb· Mar 4, 2026Deploy and manage Azure compute resources

Question

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?

Options

  • ASet the Lock Duration setting to 10 seconds.
  • BEnable duplicate detection.
  • CSet the Max Size setting of the queue to 5 GB.
  • DEnable partitioning.
  • EEnable sessions.

How the community answered

(54 responses)
  • A
    9% (5)
  • B
    4% (2)
  • C
    2% (1)
  • D
    13% (7)
  • E
    72% (39)

Explanation

Through the use of messaging sessions you can guarantee ordering of messages, that is first-in- first-out (FIFO) delivery of messages. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service- bus-queues-compared-contrasted

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice