Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a solutions architect automate scalability for an application deployed on EC2 instances behind an ALB, ensuring cost optimization and sufficient CPU resources during traffic surges?
A
Set up a CloudWatch alarm to trigger a Lambda function that terminates an EC2 instance when CPUUtilization drops below 20%.
B
Implement an Auto Scaling group with a target tracking policy for ASGAverageCPUUtilization, starting with 2 instances, scaling up to 6, aiming for 50% CPU utilization.
C
Establish an Auto Scaling group for the EC2 instances with a fixed capacity of 2 to 6 instances.
D
Use two CloudWatch alarms for CPUUtilization thresholds below 20% and above 50%, linked to SNS for email alerts to manually scale EC2 instances.