Course menuCLF-C02

Exams / CLF-C02 / Auto scaling and load balancing / Question 2

CLF-C02 practice question: Auto scaling and load balancing (2 of 2)

Cloud Technology and Services A free question from our original CLF-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A retailer's Auto Scaling group for its checkout servers has a minimum capacity of 3, a desired capacity of 6 and a maximum capacity of 12.

Overnight, traffic falls to almost zero, and the scaling policies reduce the group.

What is the smallest number of instances the group can run?

Choose one answer.

  1. A. 0, because Auto Scaling removes every instance when traffic is near zero
  2. B. 3, because scaling policies cannot reduce desired capacity below the minimum
  3. C. 6, because the group always keeps its original desired capacity
  4. D. 12, because the maximum keeps extra capacity ready for sudden peaks
Show the answer and explanation

Answer: B

  • A. Wrong: Zero is possible only if the minimum is set to 0. Here the minimum is 3, so the group can never drop below it.
  • B. Right: Correct. Scaling policies can change the desired capacity only within the minimum and maximum limits, so the group keeps at least 3 instances. Learn more: Amazon EC2 Auto Scaling group capacity limits (opens in a new tab)
  • C. Wrong: Desired capacity is the target the group works toward, and scaling policies can change it. It is not a floor, so the group can fall below 6.
  • D. Wrong: The maximum is a ceiling on group size. It does not set a minimum number of running instances.

Explanation

Minimum capacity is the lowest size the group can reach, and scaling policies cannot push desired capacity below it. Desired capacity is the target and can be lowered by scaling, and maximum capacity is only a ceiling. So the group keeps 3 instances overnight.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Auto scaling and load balancing? The 5 full-length practice sets have 10 more Auto scaling and load balancing questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets