Resilient Cloud Solutions

Amazon ECS Service Auto Scaling increases a service's desired task count, but new tasks remain pending because the EC2 container instances lack resources. The service uses an Auto Scaling group capacity provider with managed scaling disabled; which change best enables automatic infrastructure expansion?

Show the answer

Correct answerA. Enable managed scaling on the service's capacity provider.

AWhy this is right: Managed scaling adjusts the associated Auto Scaling group's capacity to support task placement.

BWhy not this: A higher task limit permits greater task demand but does not scale the underlying container instances.

CWhy not this: A lower utilization target requests more tasks without adding the EC2 capacity needed to place them.

DWhy not this: Deployment maximum healthy percentage controls deployment overlap rather than provisioning container instances.

Capacity provider managed scaling adjusts the associated Auto Scaling group's capacity to accommodate task demand. Service Auto Scaling changes the number of tasks, not the number of EC2 container instances, so adjusting its target cannot resolve exhausted host capacity.