A company is running a web application on AWS using an Application Load Balancer (ALB) in front of an Auto Scaling group of EC2 instances. The application experiences periodic traffic spikes that cause increased latency. The company wants to implement a solution to automatically adjust capacity in anticipation of traffic changes. What should a solutions architect do?
Trap 1: Configure a simple scaling policy based on CPU utilization.
Simple scaling is reactive and adds capacity after metrics exceed thresholds.
Trap 2: Configure a scheduled scaling policy to add instances during known…
Scheduled scaling requires manual setup and does not adapt to unexpected spikes.
Trap 3: Configure a target tracking scaling policy based on average CPU…
Target tracking is also reactive, maintaining a target metric.
- A
Configure a simple scaling policy based on CPU utilization.
Why wrong: Simple scaling is reactive and adds capacity after metrics exceed thresholds.
- B
Configure a scheduled scaling policy to add instances during known peak hours.
Why wrong: Scheduled scaling requires manual setup and does not adapt to unexpected spikes.
- C
Configure a target tracking scaling policy based on average CPU utilization.
Why wrong: Target tracking is also reactive, maintaining a target metric.
- D
Configure a predictive scaling policy using historical traffic patterns.
Predictive scaling uses machine learning to forecast traffic and proactively scale.