
Explanation:
The correct answer is C. Implementing a dead-letter queue (DLQ) for Lambda is the least operational overhead solution for diagnosing issues like failures or timeouts. DLQs capture failed messages, allowing developers to analyze them without affecting the main queue. This helps identify and resolve the root causes of failures efficiently.
Ultimate access to all questions.
No comments yet.
In an AWS application, a Lambda function processing SQS messages occasionally fails or times out. Identify the solution with the least operational overhead to diagnose these issues:
A
Extend Lambda's timeout to 15 minutes and review AWS CloudTrail for errors.
B
Raise SQS queue's visibility timeout and examine Amazon CloudWatch Logs for errors.
C
Implement a dead-letter queue for Lambda to redirect processing failures.
D
Establish a DynamoDB table for Lambda to record message processing failures.