DVA-C02 · Question #678
A developer is managing an application that uses Amazon SQS to handle system events. The developer must implement a solution to process messages 5 minutes after the messages are added to the queue…
The correct answer is C. DelaySeconds. The DelaySeconds property allows messages to be delayed for a specified amount of time after being added to the queue before they become visible for processing. Setting this to 300 seconds (5 minutes) ensures messages are processed only after that delay.
Question
A developer is managing an application that uses Amazon SQS to handle system events. The developer must implement a solution to process messages 5 minutes after the messages are added to the queue. Which property should the developer change to meet this requirement?
Options
- AReceiveMessageWaitTimeSeconds
- BVisibilityTimeout
- CDelaySeconds
- DMessage Retention Period
How the community answered
(57 responses)- A7% (4)
- B5% (3)
- C86% (49)
- D2% (1)
Explanation
The DelaySeconds property allows messages to be delayed for a specified amount of time after being added to the queue before they become visible for processing. Setting this to 300 seconds (5 minutes) ensures messages are processed only after that delay.
Community Discussion
No community discussion yet for this question.