ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 147 - DVA-C02 discussion

Report
Export

A developer is creating an AWS Lambda function that consumes messages from an Amazon Simple Queue Service (Amazon SQS) standard queue. The developer notices that the Lambda function processes some messages multiple times.

How should developer resolve this issue MOST cost-effectively?

A.
Change the Amazon SQS standard queue to an Amazon SQS FIFO queue by using the Amazon SQS message deduplication ID.
Answers
A.
Change the Amazon SQS standard queue to an Amazon SQS FIFO queue by using the Amazon SQS message deduplication ID.
B.
Set up a dead-letter queue.
Answers
B.
Set up a dead-letter queue.
C.
Set the maximum concurrency limit of the AWS Lambda function to 1
Answers
C.
Set the maximum concurrency limit of the AWS Lambda function to 1
D.
Change the message processing to use Amazon Kinesis Data Streams instead of Amazon SQS.
Answers
D.
Change the message processing to use Amazon Kinesis Data Streams instead of Amazon SQS.
Suggested answer: A

Explanation:

Amazon Simple Queue Service (Amazon SQS) is a fully managed queue service that allows you to de-couple and scale for applications1.Amazon SQS offers two types of queues: Standard and FIFO (First In First Out) queues1.The FIFO queue uses themessageDeduplicationIdproperty to treat messages with the same value as duplicate2. Therefore, changing the Amazon SQS standard queue to an Amazon SQS FIFO queue using the Amazon SQS message deduplication ID can help resolve the issue of the Lambda function processing some messages multiple times. Therefore, option A is correct.

asked 16/09/2024
Arnaldo Martinez 2-30793
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first