StudyToCert

All certifications / Developer Associate / Lessons

AWS Certified Developer – Associate DVA-C02 · Domain 4: Troubleshooting and Optimization

Stream and queue troubleshooting: Kinesis IteratorAge, parallelization factor, SQS dead-letter queues and redrive

▶ Watch the overview video

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

Explain it simpler

Streams and queues are waiting lines for data. A stream is like a conveyor belt that keeps items in order and keeps them only for a limited time before they fall off the end. A queue is like a pile of job tickets that workers take, finish and throw away. When workers fall behind, data piles up. For a stream, the key number is "iterator age": how old the item a worker is handling right now is. If it keeps growing, workers are falling further behind and old items could fall off the belt. For a queue, a ticket that keeps failing can be moved to a separate "problem pile", called a dead-letter queue, so it does not block everything else. After you fix the bug, you can move those tickets back to try again. That move back is called redrive.

At Riverbend Transit, the live bus-tracking map is supposed to update every few seconds. This afternoon, Omar from the dispatch office calls: the map shows buses where they were forty minutes ago, and the gap is growing. You open CloudWatch and find a Lambda function reading GPS pings from a Kinesis data stream, and one metric climbing in a straight line. In another account, the fare-refund queue has gone quiet, but a separate queue nobody watches now holds two thousand messages. Both systems look fine at a glance. Both are quietly falling behind. Which metric tells you how late you are, and how do you catch up without losing data?

When a stream or queue consumer falls behind or keeps failing, messages pile up and data arrives late, or is lost. The exam describes these situations through specific metrics and settings, and you need to know what each metric means and which setting fixes the underlying cause. This lesson covers stream consumers on Amazon Kinesis Data Streams and Amazon DynamoDB Streams, and queue consumers on Amazon Simple Queue Service (SQS), including dead-letter queues (DLQs) and redrive.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 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 Developer Associate for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Developer Associate study plan