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

An ecommerce company is using an AWS Lambda function behind Amazon API Gateway as its application tier. To process orders during checkout, the application calls a POST API from the frontend. The POST API invokes the Lambda function asynchronously. In rare situations, the application has not processed orders. The Lambda application logs show no errors or failures.
What should a developer do to solve this problem?

Answer options

Correct answer: B

Explanation

The correct answer is B because a dead-letter queue can capture events that fail to be processed, allowing the developer to troubleshoot and reprocess them. Options A and C do not address the possibility of unprocessed events, while D is unrelated to the issue of order processing failures.