Which solution meets these requirements?

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?
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.

Answer: C

Explanation:

Auto Scaling groups automatically adjust the number of EC2 instances to handle the load on your application. A target tracking scaling policy adjusts the capacity of the Auto Scaling group based on a target metric, such as CPU utilization or application latency.

Create an Auto Scaling Group:

Navigate to the EC2 console and select "Auto Scaling Groups".

Create a new Auto Scaling group and specify the launch template or configuration for your EC2 instances.

Configure Target Tracking Scaling Policy:

In the Auto Scaling group settings, add a scaling policy.

Choose "Target Tracking" and select a predefined metric such as "Average CPU Utilization".

Set the target value (e.g., 50% CPU utilization).

Attach ALB to Auto Scaling Group:

In the "Load Balancing" section of the Auto Scaling group settings, attach your existing ALB. This ensures that new instances are automatically registered with the ALB. Review and Create:

Review the Auto Scaling group settings and create the group.

Reference: Amazon EC2 Auto Scaling

Target Tracking Scaling Policies

Latest SOA-C02 Dumps Valid Version with 54 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments