ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 98 - SAA-C03 discussion

Report
Export

An image-processing company has a web application that users use to upload images. The application uploads the images into an Amazon S3 bucket. The company has set up S3 event notifications to publish the object creation events to an Amazon Simple Queue Service (Amazon SQS) standard queue. The SQS queue serves as the event source for an AWS Lambda function that processes the images and sends the results to users through email. Users report that they are receiving multiple email messages for every uploaded image. A solutions architect determines that SQS messages are invoking the Lambda function more than once, resulting in multiple email messages. What should the solutions architect do to resolve this issue with the LEAST operational overhead?

A.
Set up long polling in the SQS queue by increasing the ReceiveMessage wait time to 30 seconds.
Answers
A.
Set up long polling in the SQS queue by increasing the ReceiveMessage wait time to 30 seconds.
B.
Change the SQS standard queue to an SQS FIFO queue. Use the message deduplication ID to discard duplicate messages.
Answers
B.
Change the SQS standard queue to an SQS FIFO queue. Use the message deduplication ID to discard duplicate messages.
C.
Increase the visibility timeout in the SQS queue to a value that is greater than the total of the function timeout and the batch window timeout.
Answers
C.
Increase the visibility timeout in the SQS queue to a value that is greater than the total of the function timeout and the batch window timeout.
D.
Modify the Lambda function to delete each message from the SQS queue immediately after the message is read before processing.
Answers
D.
Modify the Lambda function to delete each message from the SQS queue immediately after the message is read before processing.
Suggested answer: C
asked 16/09/2024
Dinu Jose Varghese
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first