AWS Certified SysOps Administrator – Associate (legacy) — Question 314

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?

Answer options

Correct answer: A

Explanation

Amazon SQS has a default message retention period of 4 days, which means messages will persist in the queue and can be retrieved by the consumer once it comes back online after 3 days. Option B is incorrect because the default retention is not 1 day, and Option C is incorrect because SQS is a pull-based queuing service, not a real-time push service. Option D is incorrect because SQS will automatically delete messages after their retention period expires, even if they have not been processed.