AWS SAA-C03 · Question 34 · Domain 2.3: Decoupling
A company is using Amazon SQS to process background jobs. Occasionally, a message causes the consumer application to crash, and the message is returned to the queue. This creates an infinite loop where the bad message is repeatedly picked up and crashes the application. <br/><br/>How can a solutions architect resolve this issue?
Answer options:
Increase the visibility timeout of the SQS queue.
Configure a Dead-Letter Queue (DLQ) and set the maxReceiveCount on the main queue.
Change the queue type from Standard to FIFO.
Use AWS Lambda to filter out bad messages before they reach the queue.
65 questions · hints · full answers · grading