Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 12 Topic 2 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 12 Topic 2 Discussion

DVA-C02 Exam Topic 2 Question 12 Discussion:
Question #: 12
Topic #: 2

A company has developed an application that uses AWS Lambda functions to process messages from an Amazon SQS queue. One of the Lambda functions makes a call to an external API that is expected to encounter temporary service unavailability.

A developer needs to configure the function to retry failed messages from an Amazon SQS dead-letter queue. The developer notices that the Lambda function is re-processing some messages in the queue more than once.

Which solution will resolve this issue?


A.

Set a message retention period for each message. Configure the Lambda function to add a MessageId to each message.


B.

Set the visibility timeout parameter at the queue level. Configure the Lambda function to delete processed messages from the queue.


C.

Set a receive message wait time for each message. Configure the Lambda function to add a MessageId to each message.


D.

Set the delivery delay parameter at the queue level. Configure the Lambda function to delete processed messages from the queue.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.