StudyToCert

All certifications / Solutions Architect Associate / Lessons

AWS Certified Solutions Architect – Associate SAA-C03 · Domain 2: Design Resilient Architectures

Decoupling with Amazon SQS (standard vs FIFO, visibility timeout, dead-letter queues) and SNS fan-out

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Imagine a restaurant where waiters pin order slips on a rail instead of shouting them at the cooks. If the kitchen gets busy, slips just wait on the rail; nobody is turned away. That rail is a queue, and Amazon SQS is a managed version of it for programs. When a cook takes a slip, it is hidden from other cooks for a while. If the cook finishes, the slip is thrown away. If the cook takes too long, the slip reappears and someone else may cook it again, which is how duplicates happen. Slips that fail again and again go into a separate tray to be looked at later. Amazon SNS is like a loudspeaker announcement: one message, heard by everyone who signed up.

Friday evening at Copperleaf Books, the flash sale goes live and orders pour in. Ten minutes later, Dana on the support desk sees the first angry email: a customer was charged twice for the same order. Then another. In the payment service logs you find the same order ID processed two, sometimes three times, each about thirty seconds apart. Meanwhile the shipping team says one strange order has been failing for an hour and keeps coming back. Nothing is down, yet everything feels wrong. What is the queue doing, and how do you make it deliver each order once and set aside the one that never works?

Tightly coupled systems fail together. If a web tier calls an order processor directly and the processor slows down or crashes, the web tier backs up and users see errors too. Decoupling puts a durable buffer between components so each can scale, deploy and fail independently: the producer only needs the buffer to accept its message, not the consumer to be ready. Amazon Simple Queue Service (SQS) and Amazon Simple Notification Service (SNS) are the two classic building blocks, and the exam expects you to know how each behaves under failure, not just what it is called.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Solutions Architect Associate for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Solutions Architect Associate study plan