Workers processing an Amazon SQS standard queue take up to 90 seconds per message, but the visibility timeout is 30 seconds. Other workers frequently receive messages still being processed. Which change BEST addresses this problem?
Show the answer
Correct answerC. Increase the visibility timeout to two minutes
AWhy not this: Message retention controls how long undeleted messages remain in the queue, not how long received messages stay hidden.
BWhy not this: Long polling reduces empty receive responses; it does not extend the period that received messages remain hidden.
CWhy this is right: Two minutes exceeds the stated processing time and reduces redelivery while a worker is still processing a message.
DWhy not this: A delivery delay postpones initial message availability, not redelivery after the visibility timeout expires.
A visibility timeout longer than normal processing keeps received messages hidden while workers process them. A delivery delay postpones initial availability rather than protecting messages already being processed; standard queues can still occasionally deliver duplicates.