easymulti selectObjective-mapped

A service processes messages from an Amazon SQS queue. Sometimes the worker finishes the business logic but does not delete the message before the visibility timeout expires, so the message is delivered again. Which two changes improve resilience and reduce the impact of duplicate processing? Select two.

Question 1easymulti select
Full question →

A service processes messages from an Amazon SQS queue. Sometimes the worker finishes the business logic but does not delete the message before the visibility timeout expires, so the message is delivered again. Which two changes improve resilience and reduce the impact of duplicate processing? Select two.

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

Make the message handler idempotent.

SQS provides at-least-once delivery, so the same message can be seen more than once. An idempotent handler ensures a repeated delivery does not create duplicate records, duplicate payments, or other repeated side effects.

B

Best answer

Set the SQS visibility timeout long enough for normal processing to complete.

If the visibility timeout is too short, a message can become visible again before the first worker finishes and deletes it. Choosing a timeout that comfortably exceeds normal processing time lowers accidental redelivery.

C

Distractor review

Switch from SQS to Amazon SNS for reliable buffering.

SNS is a pub/sub notification service, not a durable work queue for buffering and retrying tasks. It does not provide the same queue semantics as SQS for worker processing.

D

Distractor review

Shorten the queue retention period so messages expire quickly.

Reducing retention does not prevent duplicates. It increases the chance of message loss if workers are unavailable long enough for messages to expire before processing completes.

E

Distractor review

Disable retries in the consumer application.

Retries are often necessary for transient failures such as throttling or brief downstream outages. Disabling retries makes the system less resilient and can turn temporary problems into permanent data loss.

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: Make the message handler idempotent. — SQS is an at-least-once delivery system, so duplicate delivery must be expected and designed for. Making the handler idempotent prevents repeated messages from causing repeated business effects. Setting a visibility timeout that exceeds normal processing time reduces the chance that a message becomes visible again before the worker has completed and deleted it. SNS does not replace SQS as a durable worker queue. Shortening message retention risks losing work rather than improving resilience. Disabling retries makes transient downstream problems more likely to fail permanently, which is the opposite of resilient design.

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.