Medium1 markMultiple Choice
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?
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
Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team needs...MediumQ02An application runs on Amazon EC2 instances and needs to access an Amazon S3 bucket. What is the ...EasyQ03A company wants to implement federated access to the AWS Management Console for its employees usi...MediumQ04A company is building a mobile application that requires users to sign in using their social medi...EasyQ05A security team wants to enforce MFA for all IAM users before they can terminate EC2 instances. H...Medium
Expert