Medium1 markMultiple Choice
Domain 2.3: Decoupling MechanismsResilienceSQSDecoupling

AWS SAA-C03 · Question 31 · Domain 2.3: Decoupling Mechanisms

An e-commerce application uses an Amazon SQS queue to decouple the order ingestion web tier from the order processing backend tier. Occasionally, a malformed order message causes the backend processing application to crash. The message remains in the queue and causes a continuous loop of crashes. How can a solutions architect resolve this issue?

Answer options:

A.

Increase the visibility timeout of the SQS queue.

B.

Change the SQS queue to a FIFO queue.

C.

Configure a Dead-Letter Queue (DLQ) for the SQS queue.

D.

Use Amazon SNS instead of SQS.

How to approach this question

Identify the 'poison pill' scenario. Dead-Letter Queues are designed to catch messages that cannot be processed successfully.

Full Answer

C.Configure a Dead-Letter Queue (DLQ) for the SQS queue.✓ Correct
A Dead-Letter Queue (DLQ) is a queue that other (source) queues can target for messages that can't be processed successfully. This prevents poison pill messages from blocking the system.

Common mistakes

Increasing visibility timeout, which only hides the problem temporarily.

Practice the full AWS SAA-C03 Practice Exam 7

65 questions · hints · full answers · grading

More questions from this exam