DOP-C02 · Question #378
DOP-C02 Question #378: Real Exam Question with Answer & Explanation
The correct answer is D: 4 days. 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 flexibili
Question
How long are the messages kept on an SQS queue by default?
Options
- AIf a message is not read, it is never deleted
- B2 weeks
- C1 day
- D4 days
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.
Topics
Community Discussion
No community discussion yet for this question.