
Answer-first summary for fast verification
Answer: 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.
An Auto Scaling group with a target tracking scaling policy allows dynamic scaling based on actual application demand/traffic, which solves the issue of random periods of increased traffic efficiently. Attaching the Application Load Balancer (ALB) to the Auto Scaling group ensures that traffic is automatically distributed among the newly added instances. Scheduled scaling is inappropriate for random traffic periods, and manually scaling instance sizes (vertical scaling) requires downtime and is less automated.
Author: Ritesh Yadav
Ultimate access to all questions.
Question #52 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?
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.
No comments yet.