AWS Certified SysOps Administrator – Associate — Question 68
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 SysOps administrator 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 (Amazon CloudWatch Events) 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
Option C is correct because using an Auto Scaling group with a target tracking scaling policy allows the application to automatically adjust to changes in traffic, maintaining performance. Option A only addresses resizing existing instances, which may not be sufficient. Option B suggests adding instances based on latency but lacks the continuous scaling capability of Auto Scaling. Option D relies on a scheduled policy, which does not adapt to real-time traffic fluctuations.