exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 399 discussion

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?

  • A. Add logging statements for all events in the Lambda function. Filter AWS CloudTrail logs for errors.
  • B. Configure the Lambda function to start an AWS Step Functions workflow with retries for failed events.
  • C. Add a dead-letter queue to send messages to an Amazon Simple Queue Service (Amazon SQS) standard queue.
  • D. Add a dead-letter queue to send messages to an Amazon Simple Notification Service (Amazon SNS) FIFO topic.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
0bdf3af
4 days, 1 hour ago
Selected Answer: C
C. SQS The dead letter queue specified for the Lambda function is not compatible with the FIFO (First-In-First-Out) SNS topic. FIFO SNS topics are not supported for dead letter configuration in AWS Lambda.
upvoted 1 times
...
preachr
5 months, 1 week ago
Selected Answer: C
To collect and analyze the failed events of an AWS Lambda function invoked asynchronously, the developer can leverage Lambda's built-in Dead Letter Queue (DLQ) feature with minimal development effort.
upvoted 1 times
...
komorebi
8 months, 1 week ago
C. Add a dead-letter queue to send messages to an Amazon Simple Queue Service (Amazon SQS) standard queue.
upvoted 3 times
...
rdiaz
8 months, 1 week ago
Selected Answer: C
A dlq in SQS
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago