Interview practice question
Kinesis consumer stuck on one bad record
Data Engineering · AWS Lambda · Intermediate
A Kinesis-triggered Lambda keeps failing on one malformed record, and processing for that shard has stopped while iterator age grows. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Failed batches are retried and block the shard.
- Enable bisect batch on error to isolate the bad record.
- Set maximum retry attempts and maximum record age.
- Configure an on-failure destination to capture details.
- Handle malformed data gracefully in code.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.