SAA-C03 · Question #805
SAA-C03 Question #805: Real Exam Question with Answer & Explanation
The correct answer is B: Delete the existing SQS queue. Recreate the queue as a FIFO queue. Enable content-based. Converting the standard SQS queue to a FIFO queue with content-based deduplication ensures that messages are delivered exactly once and in order, preventing duplicates with minimal changes to the existing Lambda-to-SQS architecture.
Question
A company has built an application that uses an Amazon Simple Queue Service (Amazon SQS) standard queue and an AWS Lambda function. The Lambda function writes messages to the SQS queue. The company needs a solution to ensure that the consumer of the SQS queue never receives duplicate messages. Which solution will meet this requirement with the FEWEST changes to the current architecture?
Options
- AModify the SQS queue to enable long polling for the queue.
- BDelete the existing SQS queue. Recreate the queue as a FIFO queue. Enable content-based
- CModify the SQS queue to enable content-based deduplication for the queue.
- DDelete the SQS queue. Create an Amazon MQ message broker. Configure the broker to
Explanation
Converting the standard SQS queue to a FIFO queue with content-based deduplication ensures that messages are delivered exactly once and in order, preventing duplicates with minimal changes to the existing Lambda-to-SQS architecture.
Community Discussion
No community discussion yet for this question.