An ECS rolling-update service has three healthy tasks, a desired count of three, and both deployment percentages set to 100; deployment cannot progress. All three tasks must remain available, and capacity exists for another task. Which change allows progress?
Show the answer
Correct answerA. Set maximumPercent to 134.
AWhy this is right: The maximum rounds down to four, allowing a replacement to start while all three existing tasks remain available.
BWhy not this: 133% of three rounds down to three, leaving no room to start a replacement task.
CWhy not this: The minimum rounds up to three, so no task can stop and the unchanged maximum prevents an additional task.
DWhy not this: The minimum rounds up to two, permitting a task to stop before its replacement is available.
ECS rounds the maximum task count down: 134% of three permits four tasks, allowing a replacement to start before an old task stops. At 133%, the limit remains three; reducing the minimum either preserves the blockage or permits availability to fall below three.