
Answer-first summary for fast verification
Answer: SQS FIFO queue with visibility timeout configuration.
The correct answer is A. Using an SQS FIFO queue ensures that messages are processed in the order they are received, which prevents out-of-order updates in the legacy system. Configuring the visibility timeout value allows the legacy system up to 5 minutes to process a message before it becomes visible to other consumers, thus ensuring no message is processed more than once during that interval.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An AWS-based application processes messages from an Amazon SQS queue in batches and forwards them to another SQS queue for a legacy application, which may take up to 5 minutes to process transactions. To prevent out-of-order updates without modifying the legacy system, which SQS configuration should be used?
A
SQS FIFO queue with visibility timeout configuration.
B
SQS standard queue using SendMessageBatchRequestEntry and DelaySeconds configuration.
C
SQS standard queue using SendMessageBatchRequestEntry and visibility timeout configuration.
D
SQS FIFO queue with DelaySeconds configuration.
No comments yet.