195k views
4 votes
A website hosted on amazon ecs container instances loads slowly during peak traffic, affecting its availability. currently, the container instances are run behind an application load balancer, and cloudwatch alarms are configured to send notifications to the operations team if there is a problem in availability so they can scale out if needed. a solutions architect needs to create an automatic scaling solution when such problems occur. Which solution could satisfy the requirement? (Select TWO.)

a. Create an AWS Auto scaling policy that scales out the ECS service when the service’s memory utilization is too high.
b. Create an AWS Auto scaling policy that scales out the ECS cluster when the cluster’s CPU utilization is too high.
c. Create an AWS Auto scaling policy that scales out an ECS service when the ALB endpoint becomes unreachable
d. Create an AWS Auto scaling policy that scales out the ECS service when the ALB hits a high CPU utilization
e. Create an AWS Auto scaling policy that scales out the ECS cluster when the ALB target group’s CPU utilization is too high.

1 Answer

2 votes

Final answer:

The student can create an AWS Auto Scaling policy for the ECS service based on high memory usage, and another AWS Auto Scaling policy for the ECS cluster based on high CPU utilization to automatically scale the resources during peak traffic.

Step-by-step explanation:

To create an automatic scaling solution for a website hosted on Amazon ECS that experiences slow load times during peak traffic, one could implement one or both of the following strategies:

  • Create an AWS Auto Scaling policy that scales out the ECS service when the service's memory utilization is too high.
  • Create an AWS Auto Scaling policy that scales out the ECS cluster when the cluster's CPU utilization is too high.

These scalability policies ensure that the website can handle increased loads by adding more resources as the load increases, thus maintaining its availability without manual intervention.

User Nexussim Lements
by
8.0k points