Incident and Event Response

Workers process remediation requests from an SQS standard queue, but processing sometimes exceeds the visibility timeout and repeated deliveries cause duplicate changes. Which actions reduce overlapping processing and make repeated deliveries safe? (Choose two.)

Choose 2 answers

Show the answer

Correct answersA. Extend message visibility periodically while a worker is still processing.D. Make remediation idempotent using a durable request identifier.

AWhy this is right: Extending visibility keeps a message hidden while its current worker continues processing.

BWhy not this: Retention controls how long messages remain available, not how long an in-progress message stays hidden.

CWhy not this: Deleting before success risks losing the request if the worker fails during remediation.

DWhy this is right: A durable request identifier lets workers recognize completed work and avoid repeating its side effects.

EWhy not this: Delivery delay postpones initial availability; it does not extend visibility after a worker receives the message.

FWhy not this: Long polling reduces empty receives but does not protect an in-progress message from visibility timeout expiration.

Extending visibility keeps an active request hidden from other workers, while idempotent processing prevents repeated side effects if delivery recurs. Long polling reduces empty receives; it does not prevent duplicate deliveries or extend processing time.