SQS is the exam’s default answer for decoupling — putting a durable buffer between a producer and a consumer so a burst, a slow consumer, or an offline consumer never loses work. The scenarios then test the queue’s specific behaviours.
Standard vs FIFO
The first fork is the queue type. A standard queue offers near-unlimited throughput with best-effort ordering and at-least-once delivery (duplicates possible). A FIFO queue guarantees strict ordering and exactly-once processing. When a stem says “exact order” or “no duplicates” — payments, sequential events — it is FIFO. Otherwise standard.
Visibility timeout and dead-letter queues
Two mechanisms manage in-flight and failing messages:
- Visibility timeout — when a consumer receives a message, SQS hides it from other consumers while it is processed. Delete on success; if not deleted (a failure), it reappears for retry. Set it longer than your processing time.
- Dead-letter queue (DLQ) — messages that exceed a maximum receive count are moved aside, so poison messages stop clogging the queue and can be inspected without blocking healthy work.
Scaling on the backlog
To make the consumer fleet track the workload, scale the Auto Scaling group on the queue depth (the number of messages waiting) via a CloudWatch metric — more workers when the backlog grows, fewer when it drains. A fixed fleet sized for peak wastes money; manual scaling defeats the purpose.
Long polling
When a queue is polled constantly but often empty, long polling makes each receive wait for a message to arrive rather than returning immediately empty — cutting empty responses and cost. Short polling does the opposite and is the distractor here.
How to use the six scenarios below
Answer each one before opening the explanation, and when you miss, name the behaviour the requirement needed — “exact order”, “in-flight exclusivity”, “isolate failures”, “track the backlog”, “fewer empty responses”. Every explanation states that behaviour and dismantles the distractors, which are usually another SQS feature solving a different need. For the domain overview, see Design Resilient Architectures.
Updated for SAA-C03 (July 2026). The sample questions above are our own work
in the style of the exam — not real exam items. The exam itself is set and marked
by the certification body.