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 306 discussion

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?

  • A. Increase the maximum timeout of the Lambda function to 15 minutes. Check the AWS CloudTrail event history for error details.
  • B. Increase the visibility timeout of the SQS queue. Check logs in Amazon CloudWatch Logs for error details.
  • C. Create a dead-letter queue. Configure the Lambda function to send the failed messages to the dead-letter queue.
  • D. Create an Amazon DynamoDB table. Update the Lambda function to send the failed messages to the DynamoDB table.
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
tgv
Highly Voted 8 months, 1 week ago
Selected Answer: C
Always DLQ for checking failed processed messaged in Lambda.
upvoted 7 times
...
65703c1
Most Recent 5 months ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
be1dca8
6 months, 2 weeks ago
B, the question is asking how the developer can figure out the issue. it is not asking about where to put the failed messages to.
upvoted 3 times
...
Abdullah22
7 months, 2 weeks ago
Selected Answer: C
https://aws.amazon.com/blogs/compute/implementing-aws-lambda-error-handling-patterns/
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