AWS Certified Solutions Architect – Associate (SAA-C02) — Question 384

An ecommerce website is deploying its web application as Amazon Elastic Container Service (Amazon ECS) container instances behind an Application Load
Balancer (ALB). During periods of high activity, the website slows down and availability is reduced. A solutions architect uses Amazon CloudWatch alarms to receive notifications whenever there is an availability issue so they can scale out resources. Company management wants a solution that automatically responds to such events.
Which solution meets these requirements?

Answer options

Correct answer: C

Explanation

Option C is correct because scaling an ECS service is best triggered by the service's own CPU utilization, which indicates the actual load on the container tasks. Concurrently, the underlying ECS cluster must be scaled based on CPU or memory reservation to ensure there is sufficient EC2 instance capacity to launch the newly scaled-out tasks. Other options are incorrect because ALBs and target groups do not have CPU utilization metrics, and scaling based on ALB timeouts is not a standard or reliable metric for auto-scaling.