AWS SAA-C03 · Question 31 · Domain 2.3: Decoupling Mechanisms
An application processes messages from an Amazon SQS queue. Occasionally, a message causes the processing application to crash, and the message is returned to the queue, creating an infinite loop of failures. How can a solutions architect prevent these 'poison pill' messages from blocking the queue?
Answer options:
Increase the visibility timeout of the SQS queue.
Configure a Dead-Letter Queue (DLQ) and set the maxReceiveCount.
Use an SQS FIFO queue instead of a standard queue.
Enable long polling on the SQS queue.
65 questions · hints · full answers · grading