AWS Certified Solutions Architect – Associate (SAA-C03) — Question 278

A company deploys an application on five Amazon EC2 instances. An Application Load Balancer (ALB) distributes traffic to the instances by using a target group. The average CPU usage on each of the instances is below 10% most of the time, with occasional surges to 65%.

A solutions architect needs to implement a solution to automate the scalability of the application. The solution must optimize the cost of the architecture and must ensure that the application has enough CPU resources when surges occur.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct because configuring an EC2 Auto Scaling group with a target tracking scaling policy based on ASGAverageCPUUtilization fully automates the scale-out and scale-in processes, optimizing both performance and cost. Option C is incorrect because defining capacity limits without a scaling policy will not trigger automatic scaling. Options A and D are incorrect because they either introduce unnecessary operational overhead with custom Lambda scripts or rely on manual intervention, failing to meet the automation requirement.