- A
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
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
Switch from SQS to Amazon SNS for reliable buffering.
Why wrong: 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
Shorten the queue retention period so messages expire quickly.
Why wrong: 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
Disable retries in the consumer application.
Why wrong: 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.
Quick Answer
The correct answer is to make the message handler idempotent and set the SQS visibility timeout long enough for normal processing to complete. Idempotency ensures that even if a message is processed multiple times due to a visibility timeout expiry, the business outcome remains unchanged—this is critical because SQS uses at-least-once delivery, meaning duplicates are inherent. Setting the visibility timeout sufficiently long prevents premature redelivery, reducing the chance of duplicate processing in the first place by giving the worker enough time to finish and delete the message. On the SAA-C03 exam, this question tests your understanding of resilience patterns for asynchronous decoupling; a common trap is to focus only on increasing the timeout without considering idempotency, or to mistakenly think that SQS guarantees exactly-once delivery. Remember the memory tip: “Timeout to prevent, idempotency to forgive”—the visibility timeout stops duplicates from occurring, while idempotency makes duplicates harmless when they do happen.
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. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. 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 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
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Make the message handler idempotent.
Option A is correct because making the message handler idempotent ensures that even if a message is processed multiple times (due to visibility timeout expiry), the business outcome remains the same. Idempotency is a key design pattern for resilient architectures when using at-least-once delivery systems like SQS. Option B is correct because setting the visibility timeout long enough for normal processing prevents premature redelivery, reducing the chance of duplicate processing in the first place.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Make the message handler idempotent.
Why this is correct
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.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Set the SQS visibility timeout long enough for normal processing to complete.
Why this is correct
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.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Switch from SQS to Amazon SNS for reliable buffering.
Why it's wrong here
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.
- ✗
Shorten the queue retention period so messages expire quickly.
Why it's wrong here
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.
- ✗
Disable retries in the consumer application.
Why it's wrong here
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 traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often think disabling retries or switching to SNS will solve the duplicate processing issue, but they fail to recognize that SQS's at-least-once delivery model inherently requires idempotent consumers and proper visibility timeout configuration.
Detailed technical explanation
How to think about this question
SQS uses a visibility timeout (default 30 seconds, max 12 hours) to prevent other consumers from processing a message while it is being handled. If the worker does not call DeleteMessage before the timeout expires, SQS makes the message visible again for delivery to another consumer. Idempotency can be implemented using a unique message deduplication ID (e.g., from the message body or a custom attribute) stored in a database with a TTL, ensuring that duplicate messages are detected and ignored. In real-world scenarios, this is critical for financial transactions or order processing where double charges or duplicate orders must be avoided.
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.
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
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. 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.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
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 — 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. — Option A is correct because making the message handler idempotent ensures that even if a message is processed multiple times (due to visibility timeout expiry), the business outcome remains the same. Idempotency is a key design pattern for resilient architectures when using at-least-once delivery systems like SQS. Option B is correct because setting the visibility timeout long enough for normal processing prevents premature redelivery, reducing the chance of duplicate processing in the first place.
What should I do if I get this SAA-C03 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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.