Designing Azure Infrastructure Solutions — Question 31
You are designing an app that will include two components. The components will communicate by sending messages via a queue.
You need to recommend a solution to process the messages by using a First in, First out (FIFO) pattern.
What should you include in the recommendation?
Answer options
- A. storage queues with a custom metadata setting
- B. Azure Service Bus queues with partitioning enabled
- C. Azure Service Bus queues with sessions enabled
- D. storage queues with a stored access policy
Correct answer: C
Explanation
The correct answer is C, as Azure Service Bus queues with sessions enabled guarantee FIFO processing for messages within a session. Options A and D, which involve storage queues, do not inherently provide FIFO behavior, while option B allows for partitioning but does not ensure message order.