AWS Certified Solutions Architect - Associate

AWS Certified Solutions Architect - Associate

Get started today

Ultimate access to all questions.


How should a solutions architect maintain optimal CPU utilization at 40% for an application running on EC2 instances in an Auto Scaling group with an Application Load Balancer across multiple Availability Zones?




Explanation:

The correct answer is B: Utilize a target tracking policy for the Auto Scaling group. A target tracking policy is designed to keep a specified metric (in this case, CPU utilization) at a target value by dynamically adjusting the number of instances in the Auto Scaling group to maintain optimal performance. Option A (simple scaling policy) and Option D (scheduled scaling) are less responsive to real-time changes in workload, and Option C (AWS Lambda) is a more complex approach that isn't necessary for this use case.