AWS Certified SysOps Administrator – Associate (SOA-C03) — Question 53
A company runs a web application on three Amazon EC2 instances behind an Application Load Balancer (ALB). The company notices that random periods of increased traffic cause a degradation in the application’s performance. A CloudOps engineer must scale the application to meet the increased traffic.
Which solution meets these requirements?
Answer options
- A. Create an Amazon CloudWatch alarm to monitor application latency and increase the size of each EC2 instance if the desired threshold is reached.
- B. Create an Amazon EventBridge rule to monitor application latency and add an EC2 instance to the ALB if the desired threshold is reached.
- C. Deploy the application to an Auto Scaling group of EC2 instances with a target tracking scaling policy. Attach the ALB to the Auto Scaling group.
- D. Deploy the application to an Auto Scaling group of EC2 instances with a scheduled scaling policy. Attach the ALB to the Auto Scaling group.
Correct answer: C
Explanation
The correct answer is C because deploying the application in an Auto Scaling group with a target tracking scaling policy allows it to automatically adjust the number of EC2 instances based on the traffic load, ensuring optimal performance. Options A and B involve manual interventions and do not provide automatic scaling capabilities, while option D uses a scheduled scaling policy, which is not as responsive to unpredictable traffic spikes.