AWS DevOps Engineer Professional DOP-C01 – Question363

How long are the messages kept on an SQS queue by default?

A.
If a message is not read, it is never deleted
B. 2 weeks
C. 1 day
D. 4 days

Correct Answer: D

Explanation:

Explanation:
The SQS message retention period is configurable and can be set anywhere from 1 minute to 2 weeks. The default is 4 days and once the message retention limit is reached your messages will be automatically deleted. The option for longer message retention provides greater flexibility to allow for longer intervals between message production and consumption.