Question 584 of 1,040
Design Resilient ArchitecturesmediumMultiple ChoiceObjective-mapped

SAA-C03 Design Resilient Architectures Practice Question

This SAA-C03 practice question tests your understanding of design resilient architectures. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: sQS Standard provides at-least-once message delivery.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An orders service publishes payment instructions to an Amazon SQS Standard queue. A downstream consumer sometimes times out and retries the work, causing the consumer to process the same instruction more than once. Operationally, the team must ensure that duplicate processing does not create duplicate charges. The queue type cannot be changed. What is the most resilient application-side approach?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Implement idempotent processing using a persistent deduplication key (for example, paymentInstructionId) so repeated messages are ignored or safely merged.

Option B is correct because implementing idempotent processing with a persistent deduplication key (e.g., paymentInstructionId) ensures that even if SQS Standard delivers the same message multiple times due to consumer timeouts and retries, the downstream logic will detect and ignore or safely merge duplicate charges. This is the most resilient application-side approach as it does not rely on queue configuration changes and works within the constraints of SQS Standard's at-least-once delivery model.

Key principle: SQS Standard provides at-least-once message delivery.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Rely on SQS Standard to provide exactly-once delivery for each message, since the consumer uses retries.

    Why it's wrong here

    Amazon SQS Standard provides at-least-once delivery. Even with retries, duplicates can still occur, so exactly-once behavior is not guaranteed by SQS.

  • Implement idempotent processing using a persistent deduplication key (for example, paymentInstructionId) so repeated messages are ignored or safely merged.

    Why this is correct

    Because SQS Standard is at-least-once, the consumer must assume duplicates are possible. Persisting a record keyed by paymentInstructionId (or using a database unique constraint) lets the consumer detect that a given instruction was already processed successfully and safely skip the charge or merge results deterministically.

    Related concept

    SQS Standard provides at-least-once message delivery.

  • Increase the queue’s visibility timeout to 24 hours so messages never reappear even if the consumer times out.

    Why it's wrong here

    A long visibility timeout only reduces how soon duplicates might be re-delivered; it does not eliminate duplicate processing. It can also increase the duration of stuck failures and does not guarantee correctness.

  • Delete and recreate the queue with a different name whenever duplicates are detected in production.

    Why it's wrong here

    Recreating queues is disruptive, does not address the underlying at-least-once + retry behavior, and does not provide a reliable correctness mechanism for preventing duplicate charges.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume SQS Standard can provide exactly-once delivery if retries are handled properly, but the exam tests the understanding that SQS Standard inherently allows duplicates and that idempotency is the only reliable application-side solution.

Detailed technical explanation

How to think about this question

Under the hood, SQS Standard uses a distributed, eventually consistent architecture where messages can be delivered more than once due to network partitions or consumer timeouts. Idempotent processing typically involves storing a deduplication key (e.g., paymentInstructionId) in a database with a unique constraint or using a TTL-based cache like Redis to check for duplicates before processing; this ensures that even if the same message is received multiple times, the side effect (e.g., charging a customer) occurs only once. In a real-world scenario, a payment service might use a transaction ID in a DynamoDB table with a conditional write to guarantee idempotency, preventing duplicate charges across retries.

KKey Concepts to Remember

  • SQS Standard provides at-least-once message delivery.
  • Idempotency ensures operations can be safely repeated without side effects.
  • A persistent deduplication key (e.g., `paymentInstructionId`) is used to track processed messages.
  • Application-side idempotency is crucial when using at-least-once delivery queues for critical operations.

TExam Day Tips

  • 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.

Key takeaway

SQS Standard provides at-least-once message delivery.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. SQS Standard provides at-least-once message delivery. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Review sQS Standard provides at-least-once message delivery., then practise related SAA-C03 questions on the same topic to reinforce the concept.

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.

Practice this exam

Start a free SAA-C03 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Design Resilient Architectures — This question tests Design Resilient Architectures — SQS Standard provides at-least-once message delivery..

What is the correct answer to this question?

The correct answer is: Implement idempotent processing using a persistent deduplication key (for example, paymentInstructionId) so repeated messages are ignored or safely merged. — Option B is correct because implementing idempotent processing with a persistent deduplication key (e.g., paymentInstructionId) ensures that even if SQS Standard delivers the same message multiple times due to consumer timeouts and retries, the downstream logic will detect and ignore or safely merge duplicate charges. This is the most resilient application-side approach as it does not rely on queue configuration changes and works within the constraints of SQS Standard's at-least-once delivery model.

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

Review sQS Standard provides at-least-once message delivery., then practise related SAA-C03 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

SQS Standard provides at-least-once message delivery.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SAA-C03 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAA-C03 exam.