- A
Configure an Amazon CloudFront distribution in front of the ALB to cache responses and absorb the spike.
Why wrong: CloudFront is a content delivery network (CDN) that caches static and dynamic content at edge locations. While caching can reduce load for repeated requests, it does not buffer dynamic request surges. It addresses latency and origin offload for cacheable content, not the temporary processing capacity shortage described in this scenario.
- B
Use an Amazon SQS queue between the ALB and the EC2 instances to decouple the request flow and buffer excess requests.
Amazon SQS is a fully managed message queuing service that can decouple application components. By placing an SQS queue between the ALB and the EC2 instances, incoming requests are stored as messages. The instances process messages at their own pace, buffering the excess during spikes. This ensures no requests are lost even when the spike exceeds the Auto Scaling group's maximum capacity.
- C
Enable Amazon EC2 Auto Scaling with predictive scaling to forecast and pre-provision capacity for the spikes.
Why wrong: Predictive scaling uses historical data to forecast future traffic and proactively adjust capacity. However, the spikes in this scenario are described as unpredictable, making accurate forecasting unreliable. Moreover, predictive scaling cannot provision capacity beyond the Auto Scaling group's maximum limit (2,000 instances), so it would still be insufficient during extreme spikes.
- D
Register additional EC2 instances in an on-premises data center as targets for the ALB and use manual failover.
Why wrong: This hybrid approach requires maintaining on-premises infrastructure and manual failover processes, which contradicts the requirement for no manual intervention. Additionally, integrating on-premises instances with an ALB typically involves a VPN or Direct Connect, adding complexity and latency. It does not provide the automatic buffering needed for unpredictable spikes.
CLF-C02 Cloud Technology and Services Practice Question
This CLF-C02 practice question tests your understanding of cloud technology and services. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: amazon SQS is 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 company runs a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application normally handles 1,000 requests per second, but occasionally experiences unpredictable spikes of up to 10,000 requests per second for a few minutes. The Auto Scaling group is configured with a maximum capacity of 2,000 instances, which is insufficient to handle the spikes. The company must ensure that no requests are lost during these spikes without requiring manual scaling. Which solution should the company implement?
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
Use an Amazon SQS queue between the ALB and the EC2 instances to decouple the request flow and buffer excess requests.
Option B is correct because an Amazon SQS queue decouples the ALB from the EC2 instances, allowing the ALB to offload excess requests into the queue during traffic spikes. The EC2 instances then process messages from the queue at their own pace, ensuring no requests are lost even if the spike exceeds the Auto Scaling group's maximum capacity. This buffering mechanism handles unpredictable bursts without requiring manual intervention or pre-provisioning.
Key principle: Amazon SQS is 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.
- ✗
Configure an Amazon CloudFront distribution in front of the ALB to cache responses and absorb the spike.
Why it's wrong here
CloudFront is a content delivery network (CDN) that caches static and dynamic content at edge locations. While caching can reduce load for repeated requests, it does not buffer dynamic request surges. It addresses latency and origin offload for cacheable content, not the temporary processing capacity shortage described in this scenario.
When this WOULD be correct
A company serves static content (e.g., images, videos) from EC2 behind an ALB and experiences traffic spikes. CloudFront would cache this content at edge locations, reducing load on the origin and absorbing the spike without scaling the backend.
- ✓
Use an Amazon SQS queue between the ALB and the EC2 instances to decouple the request flow and buffer excess requests.
Why this is correct
Amazon SQS is a fully managed message queuing service that can decouple application components. By placing an SQS queue between the ALB and the EC2 instances, incoming requests are stored as messages. The instances process messages at their own pace, buffering the excess during spikes. This ensures no requests are lost even when the spike exceeds the Auto Scaling group's maximum capacity.
Related concept
Amazon SQS is a fully managed message queuing service.
- ✗
Enable Amazon EC2 Auto Scaling with predictive scaling to forecast and pre-provision capacity for the spikes.
Why it's wrong here
Predictive scaling uses historical data to forecast future traffic and proactively adjust capacity. However, the spikes in this scenario are described as unpredictable, making accurate forecasting unreliable. Moreover, predictive scaling cannot provision capacity beyond the Auto Scaling group's maximum limit (2,000 instances), so it would still be insufficient during extreme spikes.
When this WOULD be correct
A company has a web application with predictable traffic patterns, such as daily peak hours or seasonal trends, and wants to automatically scale EC2 instances in advance to handle the expected load without manual intervention.
- ✗
Register additional EC2 instances in an on-premises data center as targets for the ALB and use manual failover.
Why it's wrong here
This hybrid approach requires maintaining on-premises infrastructure and manual failover processes, which contradicts the requirement for no manual intervention. Additionally, integrating on-premises instances with an ALB typically involves a VPN or Direct Connect, adding complexity and latency. It does not provide the automatic buffering needed for unpredictable spikes.
When this WOULD be correct
This option would be correct in a scenario where the company has a hybrid cloud architecture and needs to handle a predictable, planned increase in traffic by failing over to on-premises resources, and manual intervention is acceptable or part of the disaster recovery plan.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.
✓Use an Amazon SQS queue between the ALB and the EC2 instances to decouple the request flow and buffer excess requests.Correct answer▾
Why this is correct
Amazon SQS is a fully managed message queuing service that can decouple application components. By placing an SQS queue between the ALB and the EC2 instances, incoming requests are stored as messages. The instances process messages at their own pace, buffering the excess during spikes. This ensures no requests are lost even when the spike exceeds the Auto Scaling group's maximum capacity.
✗Configure an Amazon CloudFront distribution in front of the ALB to cache responses and absorb the spike.Wrong answer — click to see why▾
Why this is wrong here
CloudFront caches static content, but the web application likely handles dynamic requests that cannot be cached. It cannot absorb spikes in dynamic traffic because uncached requests still reach the ALB and EC2 instances, which are already overloaded.
★ When this WOULD be the correct answer
A company serves static content (e.g., images, videos) from EC2 behind an ALB and experiences traffic spikes. CloudFront would cache this content at edge locations, reducing load on the origin and absorbing the spike without scaling the backend.
Why candidates choose this
Candidates may think CloudFront can handle any traffic spike by caching, overlooking that dynamic requests cannot be cached and still require backend capacity.
✗Enable Amazon EC2 Auto Scaling with predictive scaling to forecast and pre-provision capacity for the spikes.Wrong answer — click to see why▾
Why this is wrong here
Predictive scaling forecasts based on historical patterns, but the question describes unpredictable spikes that cannot be accurately forecasted, so it would not pre-provision sufficient capacity in time.
★ When this WOULD be the correct answer
A company has a web application with predictable traffic patterns, such as daily peak hours or seasonal trends, and wants to automatically scale EC2 instances in advance to handle the expected load without manual intervention.
Why candidates choose this
Candidates may think predictive scaling can handle any spike because it uses machine learning, but they overlook that it requires historical data and cannot react to sudden, unpredictable bursts.
✗Register additional EC2 instances in an on-premises data center as targets for the ALB and use manual failover.Wrong answer — click to see why▾
Why this is wrong here
The company requires a solution that avoids manual scaling and ensures no requests are lost during unpredictable spikes. Option D relies on manual failover to on-premises instances, which contradicts the requirement for no manual scaling and may introduce latency or capacity limitations.
★ When this WOULD be the correct answer
This option would be correct in a scenario where the company has a hybrid cloud architecture and needs to handle a predictable, planned increase in traffic by failing over to on-premises resources, and manual intervention is acceptable or part of the disaster recovery plan.
Why candidates choose this
Candidates may think that adding on-premises instances provides extra capacity without needing to modify the cloud setup, overlooking the manual failover requirement and the unpredictability of spikes.
Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume CloudFront can absorb any traffic spike, but it only helps with cacheable content and does not prevent request loss for dynamic, uncacheable workloads.
Trap categories for this question
Scenario analysis trap
CloudFront is a content delivery network (CDN) that caches static and dynamic content at edge locations. While caching can reduce load for repeated requests, it does not buffer dynamic request surges. It addresses latency and origin offload for cacheable content, not the temporary processing capacity shortage described in this scenario.
Detailed technical explanation
How to think about this question
Under the hood, an SQS queue acts as a durable buffer with a default retention period of 4 days and can store up to 120,000 in-flight messages per queue. The ALB can be configured to send HTTP 503 responses or redirect requests to an SQS queue via a Lambda function or by using the ALB's native integration with SQS through target groups of Lambda functions that write to the queue. In real-world scenarios, this pattern is commonly used for asynchronous processing of order submissions or log ingestion where request loss is unacceptable.
KKey Concepts to Remember
- Amazon SQS is a fully managed message queuing service.
- SQS decouples application components, improving fault tolerance.
- SQS can buffer millions of messages, preventing request loss during spikes.
- EC2 instances poll SQS queues to process messages asynchronously.
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 is 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 is 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 is a fully managed message queuing service., then practise related CLF-C02 questions on the same topic to reinforce the concept.
- →
Cloud Technology and Services — study guide chapter
Learn the concepts, then practise the questions
- →
Cloud Technology and Services practice questions
Targeted practice on this topic area only
- →
All CLF-C02 questions
1,024 questions across all exam domains
- →
AWS Certified Cloud Practitioner CLF-C02 study guide
Full concept coverage aligned to exam objectives
- →
CLF-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CLF-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Cloud Concepts practice questions
Practise CLF-C02 questions linked to Cloud Concepts.
Security and Compliance practice questions
Practise CLF-C02 questions linked to Security and Compliance.
Cloud Technology and Services practice questions
Practise CLF-C02 questions linked to Cloud Technology and Services.
Billing, Pricing, and Support practice questions
Practise CLF-C02 questions linked to Billing, Pricing, and Support.
AWS shared responsibility model practice questions
Practise CLF-C02 questions linked to AWS shared responsibility model.
AWS IAM practice questions
Practise CLF-C02 questions linked to AWS IAM.
AWS pricing practice questions
Practise CLF-C02 questions linked to AWS pricing.
AWS support plans practice questions
Practise CLF-C02 questions linked to AWS support plans.
AWS S3 practice questions
Practise CLF-C02 questions linked to AWS S3.
AWS EC2 practice questions
Practise CLF-C02 questions linked to AWS EC2.
Practice this exam
Start a free CLF-C02 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 CLF-C02 question test?
Cloud Technology and Services — This question tests Cloud Technology and Services — Amazon SQS is a fully managed message queuing service..
What is the correct answer to this question?
The correct answer is: Use an Amazon SQS queue between the ALB and the EC2 instances to decouple the request flow and buffer excess requests. — Option B is correct because an Amazon SQS queue decouples the ALB from the EC2 instances, allowing the ALB to offload excess requests into the queue during traffic spikes. The EC2 instances then process messages from the queue at their own pace, ensuring no requests are lost even if the spike exceeds the Auto Scaling group's maximum capacity. This buffering mechanism handles unpredictable bursts without requiring manual intervention or pre-provisioning.
What should I do if I get this CLF-C02 question wrong?
Review amazon SQS is a fully managed message queuing service., then practise related CLF-C02 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Amazon SQS is 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 CLF-C02 practice questions
- A company publishes a message each time a new product is added to its catalogue. Three services need to receive this mes…
- A media company stores frequently accessed video thumbnails in Amazon S3. The thumbnails are read multiple times every d…
- A company needs a service to translate domain names (like www.example.com) into IP addresses, check the health of their…
- A startup runs an application on AWS and receives a monthly bill that charges exactly for the number of compute hours us…
- A financial institution runs its core banking application on-premises due to regulatory requirements. It has connected i…
- A company wants to run a MySQL database in AWS without managing database software installation, applying patches, settin…
Last reviewed: Jun 11, 2026
This CLF-C02 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 CLF-C02 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.