An organization wants to run a serverless data processing pipeline that triggers a Lambda function every time a new row is added to a DynamoDB table. They want to ensure that the messages are processed in the exact order they were received and that no messages are lost if the Lambda function fails. Which feature should they use?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: DynamoDB Streams with Lambda trigger and an 'On-failure' destination (DLQ)

DynamoDB Streams capture the sequence of item-level changes. Integrating it with Lambda ensures ordered, durable processing of database events....

📋Part of AWS Certified Solutions Architect – Professional (SAP-C02) · AWS Certification Practice
Real Exam ScenarioScenario Based

An organization wants to run a serverless data processing pipeline that triggers a Lambda function every time a new row is added to a DynamoDB table. They want to ensure that the messages are processed in the exact order they were received and that no messages are lost if the Lambda function fails. Which feature should they use?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

DynamoDB Streams with Lambda trigger and an 'On-failure' destination (DLQ)

Why This Answer Is Correct

DynamoDB Streams capture the sequence of item-level changes. Integrating it with Lambda ensures ordered, durable processing of database events.

📚 What This Question Tests

This question evaluates your knowledge of Scenario Based — a core concept tested in AWS Certified Solutions Architect – Professional (SAP-C02). Understanding Scenario Based is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.