
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
An application runs on Amazon EC2 instances across multiple Availability Zones. The instances run in an Amazon EC2 Auto Scaling group behind an Application Load Balancer. The application performs best when the CPU utilization of the EC2 instances is at or near 40%. What should a solutions architect do to maintain the desired performance across all instances in the group?
A
Use a simple scaling policy to dynamically scale the Auto Scaling group.
B
Use a target tracking policy to dynamically scale the Auto Scaling group.
C
Use an AWS Lambda function to update the desired Auto Scaling group capacity.
D
Use scheduled scaling actions to scale up and scale down the Auto Scaling group.
Explanation:
Correct Answer: B - Use a target tracking policy to dynamically scale the Auto Scaling group.
Why this is correct:
Target tracking scaling policies are specifically designed to maintain a specific metric at a target value. In this case, the requirement is to keep CPU utilization at or near 40%.
How target tracking works:
Benefits over other options:
Key AWS Concepts:
Best Practice: For maintaining specific metric targets (like CPU utilization, request count per target, or average network I/O), target tracking scaling policies are the recommended approach in AWS.