A user has created a queue named “awsmodule” with SQS. One of the consumers of queue is
down for 3 days and then becomes available. Will that component receive message from queue?
A.
Yes, since SQS by default stores message for 4 days
B.
No, since SQS by default stores message for 1 day only
C.
No, since SQS sends message to consumers who are available that time
D.
Yes, since SQS will not delete message until it is delivered to all consumers
Explanation:
SQS allows the user to move data between distributed components of applications so they can
perform
different tasks without losing messages or requiring each component to be always available.
Queues retain messages for a set period of time. By default, a queue retains messages for four
days. However, the user can configure a queue to retain messages for up to 14 days after the
message has been sent.
A
A
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-lifecycle.html