Bird
0
0

Which configuration correctly achieves this?

hard📝 Best Practice Q8 of 15
AWS - Auto Scaling
You want an Auto Scaling group to maintain at least 2 instances but never exceed 6. You also want it to scale out by 2 instances when average CPU exceeds 60%, and scale in by 1 instance when CPU drops below 30%. Which configuration correctly achieves this?
AMinSize=2, MaxSize=6, DesiredCapacity=2; scale out +2 at CPU>60%; scale in -1 at CPU<30%
BMinSize=6, MaxSize=2, DesiredCapacity=4; scale out +1 at CPU>30%; scale in -2 at CPU<60%
CMinSize=2, MaxSize=6, DesiredCapacity=6; scale out +1 at CPU>60%; scale in -2 at CPU<30%
DMinSize=1, MaxSize=6, DesiredCapacity=2; scale out +2 at CPU>30%; scale in -1 at CPU<60%
Step-by-Step Solution
Solution:
  1. Step 1: Set correct MinSize, MaxSize, DesiredCapacity

    MinSize=2 and MaxSize=6 ensure instance count stays between 2 and 6. DesiredCapacity starts at 2.
  2. Step 2: Define scaling policies matching CPU thresholds

    Scale out by 2 when CPU > 60%, scale in by 1 when CPU < 30% matches requirements.
  3. Final Answer:

    MinSize=2, MaxSize=6, DesiredCapacity=2; scale out +2 at CPU>60%; scale in -1 at CPU<30% -> Option A
  4. Quick Check:

    MinSize ≤ DesiredCapacity ≤ MaxSize with correct scaling [OK]
Quick Trick: MinSize ≤ DesiredCapacity ≤ MaxSize; scale policies match thresholds [OK]
Common Mistakes:
  • Setting MinSize higher than MaxSize
  • Reversing scale in/out CPU thresholds
  • Incorrect DesiredCapacity outside Min/Max range

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes