How do you configure SQS to support longer message retention?
A.
Set the MessageRetentionPeriod attribute using the SetQueueAttributes method
B.
Using a Lambda function
C.
You can’t. It is set to 14 days and cannot be changed
D.
You need to request it from AWS
Explanation:
To configure the message retention period, set the MessageRetentionPeriod attribute using the SetQueueAttributes
method. This attribute is used to specify the number of seconds a message will be retained by SQS. Currently the default
value for the message retention period is 4 days. Using the MessageRetentionPeriod attribute, the message retention
period can be set anywhere from 60 seconds (1 minute), up to 1209600 seconds (14 days).
https://aws.amazon.com/sqs/faqs/
A
A