An Amazon ECS service uses an EC2 Auto Scaling group capacity provider, and service auto scaling already adjusts its desired task count. The team wants ECS to adjust instance capacity while targeting approximately 20% spare capacity; what should it configure?
Show the answer
Correct answerA. Capacity provider managed scaling with targetCapacity set to 80
AWhy this is right: Managed scaling adjusts EC2 capacity, and a targetCapacity of 80 targets approximately 20% spare capacity.
BWhy not this: A targetCapacity of 100 targets full capacity utilization rather than reserving approximately 20% headroom.
CWhy not this: An ASG CPU target does not express the spare task-placement capacity that ECS capacity provider managed scaling targets.
DWhy not this: Service auto scaling changes the desired task count, not the underlying EC2 instance capacity.
Capacity provider managed scaling adjusts the underlying Auto Scaling group. A targetCapacity of 80 targets 80% capacity utilization, leaving approximately 20% spare capacity; 100 does not reserve that headroom.