Bird
0
0

If an Auto Scaling group has MinSize=3, MaxSize=7, and DesiredCapacity=5, what happens if you try to set DesiredCapacity to 2?

easy📝 Conceptual Q2 of 15
AWS - Auto Scaling
If an Auto Scaling group has MinSize=3, MaxSize=7, and DesiredCapacity=5, what happens if you try to set DesiredCapacity to 2?
ADesiredCapacity will be set to 2 successfully
BDesiredCapacity will be adjusted to 3 automatically
CDesiredCapacity will be adjusted to 7 automatically
DAn error will occur and DesiredCapacity will not change
Step-by-Step Solution
Solution:
  1. Step 1: Check DesiredCapacity limits

    DesiredCapacity cannot be less than MinSize or greater than MaxSize.
  2. Step 2: Adjust DesiredCapacity if out of bounds

    Since 2 is less than MinSize 3, DesiredCapacity is adjusted up to 3 automatically.
  3. Final Answer:

    DesiredCapacity will be adjusted to 3 automatically -> Option B
  4. Quick Check:

    DesiredCapacity respects MinSize and MaxSize limits [OK]
Quick Trick: DesiredCapacity always stays between MinSize and MaxSize [OK]
Common Mistakes:
  • Assuming DesiredCapacity can be set below MinSize
  • Expecting an error instead of automatic adjustment

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes