63.7k views
3 votes
You might receive a previously deleted SQS message from a standard queue again.

A. True
B. False

1 Answer

3 votes

Final answer:

It is true that you might receive a previously deleted SQS message from a standard queue in AWS. This happens because standard queues offer at-least-once delivery which can lead to occasional duplicates, unlike FIFO queues which ensure each message is delivered only once.

Step-by-step explanation:

The statement that you might receive a previously deleted SQS message from a standard queue is true. Amazon Simple Queue Service (SQS) offers two types of queues: standard queues and FIFO (First-In-First-Out) queues. Standard queues provide at-least-once delivery, which means that each message is delivered at least once but occasionally might be delivered more than once. This can occur due to the distributed nature of the queue which might lead to the scenario where a message appears to be successfully processed and deleted, but due to a network issue or other problem, the deletion might not be fully acknowledged, and the message might reappear in the queue. This is in contrast to FIFO queues, where AWS guarantees that each message is delivered once and remains available until a consumer processes and deletes it; duplicates are not introduced into the queue.

User Kman
by
8.4k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.