How Should EC2 Auto Scaling Maintain 50% CPU Headroom and Daily Peaks?
Short answer
B Use an EC2 Auto Scaling target tracking policy at 50% CPU plus scheduled scaling to add capacity at 09:00 and scale in at 17:00.
Question
How should the CloudOps engineer configure the scaling of the EC2 instances to meet these requirements?
Key Takeaways
The exam is testing whether you can separate predictable daily load patterns from unpredictable bursts, and the trap is choosing scheduled-only scaling or a 90% CPU threshold that leaves too little headroom.
This question tests how to combine EC2 Auto Scaling target tracking with scheduled scaling for a workload that needs 50% CPU headroom and predictable 09:00–17:00 peaks. The correct configuration uses a 50% CPU target tracking policy plus scheduled scale-out at 09:00 and scale-in at 17:00.
Common mistake: The most common wrong answer is D: scheduled scaling alone handles the known 09:00–17:00 pattern but cannot react to unexpected traffic bursts that would consume the required 50% CPU headroom.
Expert Analysis
Why the Answer Is Correct
Option B combines the two controls the scenario requires. A target tracking policy with a 50% CPU target keeps average utilization near 50%, preserving the requested headroom for bursts. Scheduled scaling at 09:00 pre-provisions capacity before the predictable daily increase, and the 17:00 scheduled action scales the fleet back in after the peak. Together, the dynamic policy handles unexpected load while the schedules handle the known 09:00–17:00 pattern.
Why the Other Options Are Wrong
Option A sets target tracking at 90% CPU, which leaves only about 10% headroom and risks saturation during bursts. Option C fixes the Auto Scaling group at two instances by setting minimum, maximum, and desired to 2, so it cannot scale out at all, and it only adds a 09:00 schedule without a scale-in action. Option D uses only scheduled scaling, so it cannot respond to traffic spikes inside or outside the scheduled window. Option B is the only choice that preserves 50% CPU headroom and covers both predictable and unpredictable demand.
Community Comment Notes
Bad_Mat's comment supports option B and describes the intended design clearly: a target tracking policy set to 50% CPU utilization, a scheduled policy at 09:00 to scale up before the predictable load increase, and a second scheduled policy at 17:00 to scale in after peak hours. That matches the requirement to keep 50% CPU available at all times while aligning capacity with the daily traffic pattern. No learner comments argue for a different configuration or identify a conflicting constraint.
Official Reference
- https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html
- https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When a scenario gives both a utilization headroom requirement and a predictable time window, look for an answer that combines target tracking with scheduled scaling. Eliminate options that set the target too close to saturation or rely only on schedules, because they fail the burst-handling requirement.
Frequently Asked Questions
Why is a scheduled-only scaling policy insufficient for this EC2 fleet?
Why not set target tracking at 90% CPU instead of 50%?
Discussion 1 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 1
-
Bad_Mat 👍 1 Answered BB: Create a target tracking scaling policy set to 50% CPU utilization, add a scheduled scaling policy for 09:00 to scale up before predictable load increases, and add a second scheduled scaling policy for 17:00 to scale in after peak hours.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SOA-C03 Questions
Access 100 questions with complete answers and detailed explanations.
View Full SOA-C03 Practice Test →