DVA-C02 Exam QuestionsBrowse all questions from this exam

DVA-C02 Exam - Question 397


An AWS Lambda function is invoked asynchronously to process events. Occasionally, the Lambda function falls to process events. A developer needs to collect and analyze these failed events to fix the issue.

What should the developer do to meet these requirements with the LEAST development effort?

Show Answer
Correct Answer: C

To address the issue of occasionally failing to process events in an AWS Lambda function with the least development effort, adding a dead-letter queue (DLQ) to send messages to an Amazon Simple Queue Service (Amazon SQS) standard queue is the best solution. A DLQ captures the failed events automatically, allowing the developer to analyze and reprocess them as necessary. SQS is also well-suited for handling potentially large volumes of messages and provides robust features for message retention and retrieval.

Discussion

2 comments
Sign in to comment
rdiazOption: C
Jul 12, 2024

A dlq in SQS

komorebi
Jul 13, 2024

C. Add a dead-letter queue to send messages to an Amazon Simple Queue Service (Amazon SQS) standard queue.