How to collect failed Lambda async events?
An AWS Lambda function is invoked asynchronously to process events. Occasionally, the Lambda function falls to process events. A developer needs to collect and analyze these failed events to fix the issue. What should the developer do to meet these requirements with the LEAST development effort?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests knowledge of Lambda DLQ compatibility, specifically that standard SQS queues are supported while SNS FIFO topics are not.
To handle asynchronous invocation failures in AWS Lambda with minimal code, developers should configure a Dead-Letter Queue (DLQ). The community consensus confirms that using an Amazon SQS standard queue as the DLQ is the correct approach.
Choosing option D is a common mistake because users might not recall that AWS Lambda DLQs do not support SNS FIFO topics.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option C is correct because Lambda's native Dead-Letter Queue (DLQ) feature is designed specifically to capture and retain event payloads for asynchronous invocations that fail processing. Configuring an SQS standard queue requires minimal development effort, simply involving a configuration change in the Lambda console or CLI.Why the Other Options Are Wrong
Option A is incorrect because CloudTrail logs API calls, not the internal processing failures of asynchronous events, and filtering these logs is inefficient. Option B involves too much overhead and development effort compared to a simple DLQ. Option D is invalid because Lambda DLQs explicitly do not support SNS FIFO (First-In-First-Out) topics.Community Comment Notes
Commenters highlighted the specific compatibility constraint regarding FIFO SNS topics, reinforcing why option D is invalid. The community emphasizes that a DLQ in SQS is the standard, low-effort solution for debugging async failures.Official Reference
Exam Strategy
Always remember the "Least Development Effort" keyword in AWS questions. Native features like DLQs are preferred over custom logging or complex orchestration workflows like Step Functions for simple error handling.
Related Analysis
Practice All DVA-C02 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DVA-C02 Practice Test →