- A
Increase the Lambda timeout and keep writing directly to the database.
Why wrong: A longer timeout may hide transient failures, but it does not add buffering or prevent duplicate writes.
- B
Put an Amazon SQS queue between the API and the database-processing function.
SQS buffers bursts and decouples producers from consumers, so the database can be processed at a steadier rate.
- C
Replace SQS with SNS so every request is delivered immediately to all subscribers.
Why wrong: SNS fanout is useful for notifications, but it does not provide durable work queue buffering for a throttled consumer.
- D
Make the database write idempotent by using a unique request token or order ID.
Idempotency ensures repeated deliveries or retries do not create duplicate orders when the same request is processed again.
- E
Disable retries so failed writes are never duplicated.
Why wrong: Disabling retries reduces duplicates, but it also turns transient failures into permanent lost orders.
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.
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.
- →
Design Resilient Architectures — study guide chapter
Learn the concepts, then practise the questions
- →
Design Resilient Architectures practice questions
Targeted practice on this topic area only
- →
All SAA-C03 questions
1,040 questions across all exam domains
- →
SAA-C03 study guide
Full concept coverage aligned to exam objectives
- →
SAA-C03 practice test guide
How to use practice tests most effectively before exam day
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.
Design Secure Architectures practice questions
Practise SAA-C03 questions linked to Design Secure Architectures.
Design Resilient Architectures practice questions
Practise SAA-C03 questions linked to Design Resilient Architectures.
Design High-Performing Architectures practice questions
Practise SAA-C03 questions linked to Design High-Performing Architectures.
Design Cost-Optimized Architectures practice questions
Practise SAA-C03 questions linked to Design Cost-Optimized Architectures.
SAA-C03 VPC practice questions
Practise SAA-C03 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise SAA-C03 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise SAA-C03 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise SAA-C03 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise SAA-C03 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise SAA-C03 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise SAA-C03 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise SAA-C03 questions linked to SAA-C03 VPC endpoint questions.
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 →
Keep practising
More SAA-C03 practice questions
- A content publishing system uses Lambda functions that call an unreliable third-party API. Failed events must be retaine…
- A startup runs two EC2-based workloads in the same AWS Region. Its customer-facing API is always on, and its nightly vid…
- A warehouse integration service must use shared file storage across Linux EC2 instances in multiple Availability Zones.…
- A team runs a stateless web app on Amazon EC2 behind an Application Load Balancer. During traffic spikes, new EC2 instan…
- A service in private subnets downloads product images from Amazon S3 and stores job state in DynamoDB. A NAT Gateway is…
- A static site is hosted in Amazon S3 and delivered by CloudFront. After a frontend release, the same JavaScript bundles…
Last reviewed: Jun 11, 2026
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.
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.
Sign in to join the discussion.