Message Retention Period
The message retention period is the amount of time that Amazon SQS will store a message when it's placed in a queue. It has a default duration of 4 days but can be configured to be anywhere between 1 minute and 14 days. If a message is not read and deleted within the set retention period, it will b…
AWS Certified Solutions Architect - Message Retention Period Example Questions
Test your knowledge of Message Retention Period
Question 1
A company wants to archive messages from an SQS queue for 30 days for audit purposes. What should be the message retention period?
Question 2
Your application sends messages to an SQS queue, and you must ensure no messages are lost during peak hours of use. If messages are processed every 20 minutes, what message retention period should be set?
Question 3
You have an application which downloads and processes files from an S3 bucket, and the processing times vary widely. The maximum of time you can afford to lose messages is 10 days. What message retention period should be set on the SQS queue?