You are designing a high-scale data ingestion system using AWS Lambda. You want to ensure that if a function fails, the message is not lost and can be retried later. Which pattern should you use?

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

Correct Answer: Use an SQS queue as a trigger with a dead-letter queue (DLQ) configured

SQS provides the necessary durability and retry logic for serverless applications, ensuring messages are handled even in case of transient failures....

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

You are designing a high-scale data ingestion system using AWS Lambda. You want to ensure that if a function fails, the message is not lost and can be retried later. Which pattern should you use?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

Use an SQS queue as a trigger with a dead-letter queue (DLQ) configured

Why This Answer Is Correct

SQS provides the necessary durability and retry logic for serverless applications, ensuring messages are handled even in case of transient failures.

📚 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.