DVA-C02 · Question #320
A developer is building an application on AWS. The application includes an AWS Lambda function that processes messages from an Amazon Simple Queue Service (Amazon SQS) queue. The Lambda function somet
The correct answer is C. Create a dead-letter queue. Configure the Lambda function to send the failed messages to the. https://aws.amazon.com/blogs/compute/implementing-aws-lambda-error-handling-patterns/
Question
A developer is building an application on AWS. The application includes an AWS Lambda function that processes messages from an Amazon Simple Queue Service (Amazon SQS) queue. The Lambda function sometimes fails or times out. The developer needs to figure out why the Lambda function fails to process some messages. Which solution will meet these requirements with the LEAST operational overhead?
Options
- AIncrease the maximum timeout of the Lambda function to 15 minutes. Check the AWS CloudTrail
- BIncrease the visibility timeout of the SQS queue. Check logs in Amazon CloudWatch Logs for
- CCreate a dead-letter queue. Configure the Lambda function to send the failed messages to the
- DCreate an Amazon DynamoDB table. Update the Lambda function to send the failed messages to
How the community answered
(28 responses)- A18% (5)
- B7% (2)
- C71% (20)
- D4% (1)
Explanation
https://aws.amazon.com/blogs/compute/implementing-aws-lambda-error-handling-patterns/
Community Discussion
No community discussion yet for this question.