Soru

Zorluk: OrtaDecoupling Architectures and Event-Driven Messaging

A health insurance company is designing an asynchronous claim processing system. The system must process incoming claims in the exact order they are received to ensure compliance with auditing standards. If a claim fails to process successfully after multiple retries, it must be isolated for manual investigation without stopping or delaying the processing of subsequent claims. Which TWO components should the solutions architect combine to meet these requirements? (Select TWO.)

  1. An Amazon SQS FIFO queue to buffer incoming claimsCevap
  2. A dead-letter queue (DLQ) configured on the Amazon SQS queueCevap
  3. C
    An Amazon SQS standard queue to buffer incoming claims
  4. D
    An Amazon SNS standard topic to distribute claims to processing services
  5. E
    An Amazon S3 bucket with versioning enabled to manage sequence order

Cevap

An Amazon SQS FIFO queue to buffer incoming claims, combined with a dead-letter queue (DLQ) configured on the Amazon SQS queue.
The correct answer combines an Amazon SQS FIFO queue with a dead-letter queue. The SQS FIFO queue guarantees that message ordering is strictly preserved. Configuring a dead-letter queue on the SQS queue ensures that any claim failing to process after multiple attempts is redirected to the DLQ, freeing up the pipeline and preventing head-of-line blocking.

Adım Adım Çözüm

1
Select a message queue that guarantees message ordering.
Amazon SQS FIFO queue is chosen over standard SQS to ensure first-in, first-out sequence for audit compliance.
Standard queues do not guarantee strict message ordering, while FIFO queues guarantee message delivery order.
2
Configure error isolation to prevent head-of-line blocking.
A dead-letter queue (DLQ) is attached to the primary SQS FIFO queue with a redrive policy.
If a claim consistently fails to process, the redrive policy routes it to the DLQ after maxReceiveCount is exceeded, permitting subsequent messages to continue processing.

Anahtar Kavram

Decoupling message-driven architectures that require strict processing order and fault isolation using SQS FIFO and DLQs.
Bu soruyu puanla