Bird
0
0

Given an Auto Scaling group with MinSize=2, MaxSize=6, and DesiredCapacity=4, what happens if the current number of running servers is 5 and one server fails?

medium📝 service behavior Q13 of 15
AWS - Auto Scaling
Given an Auto Scaling group with MinSize=2, MaxSize=6, and DesiredCapacity=4, what happens if the current number of running servers is 5 and one server fails?
AThe group does nothing because the current number of running servers equals DesiredCapacity
BThe group launches a new server to maintain DesiredCapacity of 4
CThe group terminates another server to reach DesiredCapacity
DThe group launches two new servers to reach MaxSize
Step-by-Step Solution
Solution:
  1. Step 1: Understand DesiredCapacity role

    DesiredCapacity is the target number of servers to keep running, here 4.
  2. Step 2: Analyze failure impact

    One server fails, so running servers drop from 5 to 4, which matches DesiredCapacity.
  3. Step 3: Check if scaling needed

    Since running servers dropped below DesiredCapacity, the group launches a new server to maintain DesiredCapacity.
  4. Final Answer:

    The group launches a new server to maintain DesiredCapacity of 4 -> Option B
  5. Quick Check:

    Running servers < DesiredCapacity triggers scaling [OK]
Quick Trick: Scaling triggers only if running servers < DesiredCapacity [OK]
Common Mistakes:
MISTAKES
  • Assuming scaling happens immediately on failure
  • Confusing MinSize with DesiredCapacity
  • Thinking MaxSize limits minimum servers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes