AWS Certified Developer – Associate (DVA-C02) — Question 188

A developer is testing an application that invokes an AWS Lambda function asynchronously. During the testing phase, the Lambda function fails to process after two retries.

How can the developer troubleshoot the failure?

Answer options

Correct answer: B

Explanation

The correct answer is B because configuring Dead Letter Queues allows the developer to capture failed events for further analysis, providing insight into why the Lambda function failed. Option A, while useful for logging, does not specifically address troubleshooting failures related to Lambda invocation. Options C and D involve services that are not directly tailored for handling Lambda invocation failures, making them less effective for this scenario.