Most Cost-Effective EC2 Scaling for Sudden Seasonal Sale Traffic?

SAA-C03 By islever Editorial Last updated

Short answer

D Configure an Auto Scaling group to scale out as traffic rises and use a launch template with a preconfigured AMI to start instances quickly.

Question

An ecommerce company is running a seasonal online sale. The company hosts its website on Amazon EC2 instances spanning multiple Availability Zones. The company wants its website to manage sudden traffic increases during the sale. Which solution will meet these requirements MOST cost-effectively?
  1. Create an Auto Scaling group that is large enough to handle peak traffic load. Stop half of the Amazon EC2 instances. Configure the Auto Scaling group to use the stopped instances to scale out when traffic increases.
  2. Create an Auto Scaling group for the website. Set the minimum size of the Auto Scaling group so that it can handle high traffic volumes without the need to scale out.
  3. Use Amazon CloudFront and Amazon ElastiCache to cache dynamic content with an Auto Scaling group set as the origin. Configure the Auto Scaling group with the instances necessary to populate CloudFront and ElastiCache. Scale in after the cache is fully populated.
  4. Configure an Auto Scaling group to scale out as traffic increases. Create a launch template to start new instances from a preconfigured Amazon Machine Image (AMI). Correct Answer

Key Takeaways

The question tests matching an elasticity pattern to a cost requirement — the trap is picking an answer that either runs peak capacity year-round or bolts on caching services the scenario never asked for.

For a multi-AZ EC2 website facing sudden seasonal sale traffic spikes, the most cost-effective solution is an Auto Scaling group that scales out on demand using a launch template built from a preconfigured AMI (D). This page explains why paying only for capacity as it is needed beats provisioning for peak load or adding CloudFront and ElastiCache caching layers.

Common mistake: Choosing C because CloudFront and ElastiCache sound like classic cost/performance optimizations; for a short seasonal burst they add ElastiCache node hours, cache-fill complexity, and unpredictable dynamic-content hit rates that simple demand-based scaling avoids.

Expert Analysis

Why the Answer Is Correct

Option D directly satisfies both halves of the requirement: the website must absorb sudden traffic increases, and it must do so MOST cost-effectively. An Auto Scaling group that scales out when traffic rises and scales in when the sale ends means the company pays only for the EC2 capacity actually consumed, plus it keeps the multi-AZ architecture intact. The launch template is not decoration — it captures the preconfigured AMI, instance type, security groups, and user data so new instances launch ready to serve traffic in minutes without manual setup, which is what makes rapid scale-out viable during a flash sale. As JA2018 put it, using a launch template with a preconfigured AMI "ensures new instances are quickly provisioned". Nothing in the scenario suggests predictable, steady-state demand that would justify pre-buying capacity, so elastic scaling on demand is the cheapest correct design.

Why the Other Options Are Wrong

Option A is an anti-pattern: a stopped EC2 instance still counts toward the Auto Scaling group's desired capacity, and the group treats an impaired instance as unhealthy and replaces it rather than "using" it to scale out — so the design does not work as described. Option B sizes the minimum capacity to handle peak traffic without scaling out, which means paying for peak-capable infrastructure 24/7 for a sale that lasts days; that is the opposite of cost-effective. Option C is technically plausible but not the cheapest: Amazon ElastiCache nodes bill continuously, dynamic content from an ecommerce site often has low cache hit ratios, and the answer even requires running enough instances "to populate CloudFront and ElastiCache" before scaling in, which front-loads cost the scenario does not need. As buzzinmumbai summarized, "C is not cost effective to use elasticache".

Community Comment Notes

Consensus is overwhelmingly for D — the recommended answer received all recorded votes from commenters such as Andy_09, stephensimudemy, and geraltRebo. sandordini made the key judgment call plainly: CloudFront "could be a good idea, but it seems to be a simple scaling scenario". buzzinmumbai added the cost argument against caching. One commenter (viejito) argued in Spanish for C on the grounds that caching reduces the load on EC2, which is true for performance but ignores the ongoing ElastiCache cost for a short seasonal spike, and geraltRebo posted both C and D, showing the caching distractor is attractive but not the cost-optimal reading.

Official Reference

Exam Strategy

When a scenario says "MOST cost-effectively" together with "sudden traffic increases" or a short-lived event, look for demand-based, pay-for-what-you-use scaling and eliminate answers that provision for peak year-round or add extra managed services. Also sanity-check the mechanics of each distractor — an option that stops instances inside an Auto Scaling group is invalid regardless of cost.

Frequently Asked Questions

Why is CloudFront plus ElastiCache (option C) not the most cost-effective choice?

ElastiCache nodes and CloudFront caching of dynamic content add ongoing cost and complexity, while demand-based Auto Scaling pays only for EC2 capacity actually used during the sale.

Why doesn't stopping half the instances inside an Auto Scaling group (option A) work?

Stopped instances still count toward the group's desired capacity and are treated as unhealthy, so the group replaces them instead of using them as spare scale-out capacity.

More SAA-C03 FAQ →

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 11 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 11

  1. [Removed] 👍 6 Answered D
    The most cost-effective solution is: D. Configure an Auto Scaling group to scale out as traffic increases. Create a launch template to start new instances from a preconfigured Amazon Machine Image (AMI).
  2. sandordini 👍 3 Answered D
    Cloudfront coulld be a good idea, but it seems to be a simple scaling scenario.. IMO: D
  3. JA2018 👍 2 Answered D
    Reasons? Cost-effective scaling: Allows the company to only pay for the EC2 instances needed during peak traffic periods, automatically scaling up when necessary and scaling down when traffic subsides, which is the most cost-efficient approach. Launch template and AMI: Using a launch template with a preconfigured AMI simplifies the scaling process by ensuring new instances are quickly provisioned with the required configurations.
  4. buzzinmumbai 👍 2
    Answer is D .C is not cost effective to use elasticache .Not sure if you can have ASG as the origin.
  5. TruthWS 👍 2
    Option D bring a most cost effective
Show 6 more comments
  1. viejito 👍 1
    En la respuesta C : Al usar servicios como Amazon CloudFront y Amazon ElastiCache para almacenar en caché el contenido dinámico, reduciendo la carga en las instancias de Amazon EC2 y mejorando la velocidad de entrega del contenido a los usuarios finales. Esto resulta en una solución más rentable y eficiente en comparación con la respuesta D : simplemente escalar instancias de EC2 sin considerar medidas adicionales para optimizar el rendimiento y reducir los costos . Por lo que la opción correcta es la C .
  2. Andy_09 👍 8
    Option D
  3. stephensimudemy 👍 3 Answered D
    It's D
  4. geraltRebo 👍 2 Answered D
    Sorry D
  5. JCAWS 👍 1 Answered C
    C more suitable
  6. geraltRebo 👍 1 Answered C
    Option C

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Practice All SAA-C03 Questions

Access 120 questions with complete answers and detailed explanations.

View Full SAA-C03 Practice Test →

← Back to SAA-C03 Study Guide