- A
Enable SQS FIFO queue to prevent duplicate message delivery
Why wrong: FIFO deduplication addresses ordering and prevents duplicates within a window, but does not fix the visibility timeout mismatch that causes the duplicates. FIFO also has lower throughput limits.
- B
Increase the SQS queue visibility timeout to exceed the maximum Lambda processing time
Setting visibility timeout above 12 minutes (the maximum processing time) prevents messages from reappearing while being processed. This eliminates the root cause of duplicate processing.
- C
Reduce the Lambda function timeout to 4 minutes to match typical processing time
Why wrong: Reducing Lambda timeout would cause complex 12-minute orders to fail before completing. This worsens the problem — those orders would never finish processing.
- D
Enable SQS long polling to reduce the frequency of message retrieval
Why wrong: Long polling waits up to 20 seconds for messages rather than returning immediately. It reduces costs for sparse queues but has no effect on visibility timeout or duplicate processing.
Quick Answer
The answer is to increase the SQS queue visibility timeout to exceed the maximum Lambda processing time. This is because the SQS visibility timeout controls how long a message is hidden from other consumers after being picked up; if a Lambda function takes longer than this timeout to process a message, the message becomes visible again in the queue and a second invocation will process it, causing duplicate processing. On the SAA-C03 exam, this scenario tests your understanding of how SQS and Lambda interact under load, often appearing as a trick where the default 30-second timeout is too short for long-running functions. A common trap is to assume Lambda retries or DLQ settings are the fix, but the root cause is always the visibility timeout being lower than the processing duration. Memory tip: think of the visibility timeout as a "don't touch me" timer—if your job runs longer than the timer, another worker grabs the same task.
SAA-C03 Practice Question: SQS visibility timeout must exceed the maximum…
This SAA-C03 practice question tests your understanding of design resilient architectures. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: sQS visibility timeout must exceed the maximum Lambda processing time to prevent duplicate 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.
A company uses Amazon SQS and AWS Lambda to process orders. Lambda typically completes in 4 minutes, but complex orders can take up to 12 minutes. The team reports that some orders are being processed more than once. Which is the MOST likely cause and the recommended fix?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"most likely"Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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
Increase the SQS queue visibility timeout to exceed the maximum Lambda processing time
SQS visibility timeout defines how long a message is hidden from other consumers after it is received. If a Lambda function takes longer than the visibility timeout to process a message, the message becomes visible again and another Lambda invocation picks it up — causing duplicate processing. The default SQS visibility timeout is 30 seconds. If processing takes 12 minutes but visibility timeout is 30 seconds, messages reappear and are processed again. The fix is to increase the visibility timeout to exceed the maximum processing time — at least 13-15 minutes.
Key principle: SQS visibility timeout must exceed the maximum Lambda processing time to prevent duplicate 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.
- ✗
Enable SQS FIFO queue to prevent duplicate message delivery
Why it's wrong here
FIFO deduplication addresses ordering and prevents duplicates within a window, but does not fix the visibility timeout mismatch that causes the duplicates. FIFO also has lower throughput limits.
- ✓
Increase the SQS queue visibility timeout to exceed the maximum Lambda processing time
Why this is correct
Setting visibility timeout above 12 minutes (the maximum processing time) prevents messages from reappearing while being processed. This eliminates the root cause of duplicate processing.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
SQS visibility timeout must exceed the maximum Lambda processing time to prevent duplicate delivery
- ✗
Reduce the Lambda function timeout to 4 minutes to match typical processing time
Why it's wrong here
Reducing Lambda timeout would cause complex 12-minute orders to fail before completing. This worsens the problem — those orders would never finish processing.
- ✗
Enable SQS long polling to reduce the frequency of message retrieval
Why it's wrong here
Long polling waits up to 20 seconds for messages rather than returning immediately. It reduces costs for sparse queues but has no effect on visibility timeout or duplicate processing.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Many architects set up SQS/Lambda integrations without adjusting the visibility timeout from the default 30 seconds. When Lambda functions run longer than this, the message reappears and creates duplicates. The symptom is duplicate processing — a classic visibility timeout mismatch. Fix the root cause (extend visibility timeout) rather than adding application-level deduplication logic.
Detailed technical explanation
How to think about this question
SQS key timeout values: - Visibility timeout: 0s-12 hours (default 30s). Must exceed maximum processing time. - Message retention: 1 minute - 14 days (default 4 days) - Receive message wait time: 0-20s (long polling) - Delivery delay: 0-15 minutes Rule: Set visibility timeout >= maximum Lambda processing time + buffer. AWS recommendation: visibility timeout = 6x Lambda function timeout. Lambda can also dynamically extend visibility timeout mid-execution using the ChangeMessageVisibility API — useful for variable-length processing. Dead Letter Queue: Captures messages that fail after maxReceiveCount attempts. Use with visibility timeout to separate failures from duplicates.
KKey Concepts to Remember
- SQS visibility timeout must exceed the maximum Lambda processing time to prevent duplicate delivery
- Default SQS visibility timeout is 30 seconds
- Messages reappear in the queue when visibility timeout expires before processing is complete
- AWS recommends setting visibility timeout to 6x the Lambda function timeout
- Lambda can extend visibility timeout dynamically using ChangeMessageVisibility API
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 visibility timeout must exceed the maximum Lambda processing time to prevent duplicate 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 visibility timeout must exceed the maximum Lambda processing time to prevent duplicate 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 visibility timeout must exceed the maximum Lambda processing time to prevent duplicate delivery, 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 — SQS visibility timeout must exceed the maximum Lambda processing time to prevent duplicate delivery.
What is the correct answer to this question?
The correct answer is: Increase the SQS queue visibility timeout to exceed the maximum Lambda processing time — SQS visibility timeout defines how long a message is hidden from other consumers after it is received. If a Lambda function takes longer than the visibility timeout to process a message, the message becomes visible again and another Lambda invocation picks it up — causing duplicate processing. The default SQS visibility timeout is 30 seconds. If processing takes 12 minutes but visibility timeout is 30 seconds, messages reappear and are processed again. The fix is to increase the visibility timeout to exceed the maximum processing time — at least 13-15 minutes.
What should I do if I get this SAA-C03 question wrong?
Review sQS visibility timeout must exceed the maximum Lambda processing time to prevent duplicate delivery, 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: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
SQS visibility timeout must exceed the maximum Lambda processing time to prevent duplicate 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 →
Last reviewed: May 17, 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.