DVA-C02 · Question #206
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…
The correct answer is B. Configure Dead Letter Queues by sending events to Amazon SQS for investigation. Dead Letter Queues (DLQ) can be configured for Lambda functions to capture failed asynchronous invocations. Events that cannot be processed will be sent to an SQS queue (or an SNS topic) you specify, allowing for further investigation and reprocessing.
Question
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?
Options
- AConfigure AWS CloudTrail logging to investigate the invocation failures.
- BConfigure Dead Letter Queues by sending events to Amazon SQS for investigation.
- CConfigure Amazon Simple Workflow Service to process any direct unprocessed events.
- DConfigure AWS Config to process any direct unprocessed events.
How the community answered
(40 responses)- A5% (2)
- B93% (37)
- D3% (1)
Explanation
Dead Letter Queues (DLQ) can be configured for Lambda functions to capture failed asynchronous invocations. Events that cannot be processed will be sent to an SQS queue (or an SNS topic) you specify, allowing for further investigation and reprocessing.
Community Discussion
No community discussion yet for this question.