Alibaba Cloud Certified Associate – Cloud Computing — Question 6

A customer uses Alibaba Cloud Auto Scaling service and creates a scaling group. He/she sets the `Minimum number of instances` to 6 and `Maximum number of instances` to 8.
After correctly configuring scaling settings, the customer adds a scaling rule `Remove 5 ECS instances`, and creates a scheduled task based on this rule.
And then, the customer checks the scaling group and see it already contains 8 valid ECS instances, he/she then enables this scaling group immediately.
How many ECS instances are left in the scaling group when the scheduled task is activated once?

Answer options

Correct answer: B

Explanation

The correct answer is B because the scaling group starts with 8 instances and the rule is set to remove 5 instances, leaving 3. However, since the minimum is set to 6, the system will not allow the number of instances to drop below this minimum threshold, so it will retain 6 instances. The other options are incorrect as they do not account for the minimum instance restriction.