SAA-C03 Practice Question: SQS visibility timeout must exceed the maximum…
This SAA-C03 practice question tests your understanding of sqs visibility timeout must exceed the maximum…. 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?
Answer choices
Why each option matters
Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.
Distractor review
Enable SQS FIFO queue to prevent duplicate message delivery
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.
Best answer
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.
Distractor review
Reduce the Lambda function timeout to 4 minutes to match typical processing time
Reducing Lambda timeout would cause complex 12-minute orders to fail before completing. This worsens the problem — those orders would never finish processing.
Distractor review
Enable SQS long polling to reduce the frequency of message retrieval
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 trap
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.
Technical deep dive
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
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.
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.
SAA-C03 Auto Scaling practice questions
Practise SAA-C03 questions linked to SAA-C03 Auto Scaling.
SAA-C03 disaster recovery questions
Practise SAA-C03 questions linked to SAA-C03 disaster recovery questions.
SAA-C03 high availability questions
Practise SAA-C03 questions linked to SAA-C03 high availability questions.
SAA-C03 cost optimization questions
Practise SAA-C03 questions linked to SAA-C03 cost optimization questions.
More questions from this exam
Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.
Question 1
A team needs to distribute TCP traffic (not HTTP) across multiple services. The services must see the original client source IP for auditing. Which AWS load balancer is the best fit?
Question 2
A team wants to run containerized services with AWS-managed orchestration and autoscaling. They do NOT require Kubernetes compatibility. Which AWS service choice is most appropriate to meet these goals?
Question 3
A solutions architect is designing an S3 bucket for a IoT ingestion API. The objects must never be publicly accessible, even if a developer later adds an overly broad bucket policy. What should the architect configure? The design must avoid adding custom operational scripts.
Question 4
A solutions architect is designing an S3 bucket for a claims portal. The objects must never be publicly accessible, even if a developer later adds an overly broad bucket policy. What should the architect configure?
Question 5
A team wants to delegate IAM management to developers, but must ensure developers can never grant themselves permissions beyond a specific limit. Which AWS mechanism best matches this requirement?
Question 6
A solutions architect is designing an S3 bucket for a healthcare document service. The objects must never be publicly accessible, even if a developer later adds an overly broad bucket policy. What should the architect configure?
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?
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.
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 →
Discussion
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.