AWS Certified Solutions Architect – Professional — Question 482

A company has implemented an ordering system using an event driven architecture. During initial testing, the system stopped processing orders. Further log analysis revealed that one order message in an Amazon Simple Queue Service (Amazon SQS) standard queue was causing an error on the backend and blocking all subsequent order messages. The visibility timeout of the queue is set to 30 seconds, and the backend processing timeout is set to 10 seconds. A solutions architect needs to analyze faulty order messages and ensure that the system continues to process subsequent messages.
Which step should the solutions architect take to meet these requirements?

Answer options

Correct answer: D

Explanation

To handle poisoned messages that cause processing failures, a dead-letter queue (DLQ) should be configured to isolate them. Since the primary queue is an SQS standard queue, the DLQ must also be an SQS standard queue because standard queues cannot target FIFO queues as DLQs. Adjusting timeouts would not isolate the faulty messages or prevent them from repeatedly failing and blocking the consumer.