Question 380
A managed messaging architecture needs ordering and deduplication. The team confirms that a message repeatedly fails due to invalid business schema. What should the solution architect recommend?
Explanation
Correct Answer
The scenario identifies this requirement: A message repeatedly fails due to invalid business schema. Select Redrive failed messages to a configured DLQ after threshold as the specified technical mechanism. DLQ isolation prevents unbounded poison-message retry. This response addresses the problem described rather than a different design goal.
Incorrect Answers
The option Use an SQS FIFO queue with customer-specific message-group IDs addresses a separate condition: messages for each customer must be processed in order while customers process concurrently. FIFO groups preserve per-group ordering while allowing parallel groups. The actual requirement is a message repeatedly fails due to invalid business schema. Recommended corrective action: Redrive failed messages to a configured DLQ after threshold. DLQ isolation prevents unbounded poison-message retry.
Use SQS standard queue with scalable consumers and idempotent handlers would help if a high throughput worker must consume many independent standard messages. Standard queues scale broadly with at-least-once unordered delivery. That is not the symptom described here: a message repeatedly fails due to invalid business schema. The matching response is Redrive failed messages to a configured DLQ after threshold, because dLQ isolation prevents unbounded poison-message retry.
For the alternative failure a consumer receives a message but crashes without deleting it, the control Let visibility timeout expire and process idempotently on redelivery is relevant: unacknowledged messages become available for retry. Here the evidence instead is a message repeatedly fails due to invalid business schema. The selected technical mechanism is Redrive failed messages to a configured DLQ after threshold: dLQ isolation prevents unbounded poison-message retry.