CodePark/ questions / Monitoring, lag & scaling consumers
START PRACTICINGPRACTICE
Backend question · Message queues & streaming › Monitoring, lag & scaling consumers

Which statement correctly describes an SQS standard queue?

At-least-once delivery and best-effort ordering, so duplicates and out-of-order messages are possible

A standard queue gives "At-least-once delivery and best-effort ordering, so duplicates and out-of-order messages are possible". Standard queues favour throughput. A message can sometimes be delivered more than once, and the order is only best effort. The options with "Exactly-once delivery" or "strict ordering per message group" describe FIFO queues, not standard ones. FIFO queues give ordering per message group and remove duplicates within a 5-minute window.