Question 992 of 1,040
Design Resilient ArchitecturesmediumMultiple SelectObjective-mapped

SAA-C03 Design Resilient Architectures Practice Question

This SAA-C03 practice question tests your understanding of design resilient architectures. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: amazon SQS provides a fully managed message queuing service.. 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.

A serverless order-ingestion API writes directly to a database. During traffic spikes, the database occasionally throttles, Lambda retries create duplicate order records, and some requests time out. Which two changes best improve buffering and safe retry behavior? Select two.

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

Question 1mediummulti select
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

Put an Amazon SQS queue between the API and the database-processing function.

Option B is correct because inserting an SQS queue between the API Gateway and the Lambda function decouples the ingestion from the database write. During traffic spikes, SQS acts as a buffer, absorbing bursts and allowing the Lambda function to poll messages at a controlled rate, which prevents database throttling. Combined with a dead-letter queue, failed messages can be retried safely without overwhelming the database or creating duplicate records.

Key principle: Amazon SQS provides a fully managed message queuing service.

Answer analysis

Option-by-option breakdown

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

  • Increase the Lambda timeout and keep writing directly to the database.

    Why it's wrong here

    A longer timeout may hide transient failures, but it does not add buffering or prevent duplicate writes.

  • Put an Amazon SQS queue between the API and the database-processing function.

    Why this is correct

    SQS buffers bursts and decouples producers from consumers, so the database can be processed at a steadier rate.

    Clue confirmation

    The clue word "best" in the question point toward this answer.

    Related concept

    Amazon SQS provides a fully managed message queuing service.

  • Replace SQS with SNS so every request is delivered immediately to all subscribers.

    Why it's wrong here

    SNS fanout is useful for notifications, but it does not provide durable work queue buffering for a throttled consumer.

  • Make the database write idempotent by using a unique request token or order ID.

    Why this is correct

    Idempotency ensures repeated deliveries or retries do not create duplicate orders when the same request is processed again.

    Clue confirmation

    The clue word "best" in the question point toward this answer.

    Related concept

    Amazon SQS provides a fully managed message queuing service.

  • Disable retries so failed writes are never duplicated.

    Why it's wrong here

    Disabling retries reduces duplicates, but it also turns transient failures into permanent lost orders.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse SNS (push-based, no buffering) with SQS (pull-based, buffering), and they overlook that idempotency is a complementary pattern to handle retries without duplicates, not a replacement for decoupling.

Detailed technical explanation

How to think about this question

Under the hood, SQS uses a visibility timeout to prevent duplicate processing: when a consumer receives a message, it becomes hidden for a configurable period; if the consumer fails to delete the message within that window, it reappears for another attempt. This mechanism, combined with idempotent database writes (Option D), ensures that even if a Lambda retries a message after a timeout, the duplicate write is safely ignored. In a real-world scenario, a retail order system might see a 10x spike during a flash sale; SQS buffers the orders, and the Lambda processes them at a steady 100 TPS, while the idempotency token prevents double-charging customers.

KKey Concepts to Remember

  • Amazon SQS provides a fully managed message queuing service.
  • SQS decouples components, improving fault tolerance and scalability.
  • Messages are durably stored in SQS until processed and deleted.
  • SQS standard queues offer at-least-once delivery.

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

Amazon SQS provides a fully managed message queuing service.

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. Amazon SQS provides a fully managed message queuing service. 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 amazon SQS provides a fully managed message queuing service., 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 — Amazon SQS provides a fully managed message queuing service..

What is the correct answer to this question?

The correct answer is: Put an Amazon SQS queue between the API and the database-processing function. — Option B is correct because inserting an SQS queue between the API Gateway and the Lambda function decouples the ingestion from the database write. During traffic spikes, SQS acts as a buffer, absorbing bursts and allowing the Lambda function to poll messages at a controlled rate, which prevents database throttling. Combined with a dead-letter queue, failed messages can be retried safely without overwhelming the database or creating duplicate records.

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

Review amazon SQS provides a fully managed message queuing service., then practise related SAA-C03 questions on the same topic to reinforce the concept.

Are there clue words in this question I should notice?

Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

What is the key concept behind this question?

Amazon SQS provides a fully managed message queuing service.

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

Keep practising

More SAA-C03 practice questions

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.