QuestionQ5

Troubleshooting and Optimization

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?

Explanation

A Dead Letter Queue (DLQ) configured with SQS captures failed asynchronous Lambda invocations after retries, allowing developers to inspect error details and investigate failures. CloudTrail logs API calls but not Lambda invocation failures, Simple Workflow and Config are not designed for Lambda failure analysis, and this is the standard troubleshooting mechanism for async Lambda failures.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!