easymultiple choiceObjective-mapped

A worker service consumes messages from an Amazon SQS queue. Some messages are malformed and always fail validation. The worker retries, but it keeps reprocessing the same bad messages and consumes processing capacity that should be used for valid work. What is the best solution to prevent “poison messages” from blocking progress?

Question 1easymultiple choice
Full question →

A worker service consumes messages from an Amazon SQS queue. Some messages are malformed and always fail validation. The worker retries, but it keeps reprocessing the same bad messages and consumes processing capacity that should be used for valid work. What is the best solution to prevent “poison messages” from blocking progress?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Configure a Dead-Letter Queue (DLQ) and set a redrive policy so messages move to the DLQ after a maximum number of receives.

DLQs isolate repeatedly failing messages so they stop consuming worker capacity and can be analyzed later.

B

Distractor review

Increase the visibility timeout so the worker gets fewer retries per hour.

A longer visibility timeout only delays retries; the malformed messages still eventually return and keep failing.

C

Distractor review

Disable SQS retries by deleting messages immediately on any processing error.

Deleting on error loses failed messages and prevents troubleshooting or reprocessing after fixing validation logic.

D

Distractor review

Create a second worker that polls the queue less frequently until the malformed message is processed successfully.

Polling less frequently does not resolve the underlying failure; the messages will still fail validation repeatedly.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Configure a Dead-Letter Queue (DLQ) and set a redrive policy so messages move to the DLQ after a maximum number of receives. — Dead-letter queues (DLQs) are designed for exactly this problem. When you configure a DLQ and set a redrive policy (for example, maxReceiveCount), SQS automatically moves messages to the DLQ after they fail processing multiple times. This prevents poison messages from being retried indefinitely and consuming worker throughput. The team can then inspect DLQ messages, fix the underlying validation or producer issue, and reprocess safely if needed. Increasing visibility timeout reduces retry frequency temporarily but does not stop the poison messages from eventually reappearing and failing again. Deleting on error discards data needed for troubleshooting. Adding another worker changes polling behavior but does not solve that the messages are invalid, so capacity is still wasted on repeated failures.

What should I do if I get this SAA-C03 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.