In an SQS-based system, a few malformed messages keep failing processing and block the queue’s throughput as consumers retry them endlessly. What is the recommended fix?
A) Delete the SQS queue and recreate it.
B) Configure a dead-letter queue (DLQ) with a maximum receive count.
C) Increase the consumer instance size.
D) Switch to an SNS topic.
Correct Answer: B
Explanation: A dead-letter queue captures messages that exceed a configured maximum receive count, moving “poison” messages aside so they no longer block normal processing. (A) loses all messages. (C) doesn’t stop the retry loop. (D) SNS is pub/sub and doesn’t solve poison-message handling.