
Answer-first summary for fast verification
Answer: Implement a Dead-Letter Queue
Implement a Dead-Letter Queue - Amazon SQS supports dead-letter queues, which other queues (source queues) can target for messages that can't be processed (consumed) successfully. Dead-letter queues are useful for debugging your application or messaging system because they let you isolate problematic messages to determine why their processing doesn't succeed. Amazon SQS does not create the dead-letter queue automatically. You must first create the queue before using it as a dead-letter queue.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An application deployed on EC2 instances is responsible for handling and processing messages from an Amazon SQS (Simple Queue Service) queue. Occasionally, some messages fail to be processed, resulting in errors. These unprocessed messages require segregation in order to facilitate further investigation and troubleshooting.
Which of the following methods can assist in achieving this?
A
Implement a Dead-Letter Queue
B
Use DeleteMessage
C
Reduce the VisibilityTimeout
D
Increase the VisibilityTimeout
No comments yet.