Bird
0
0

You want an Auto Scaling group that maintains at least 2 instances, scales up to 5 during high load, and automatically replaces unhealthy instances. Which configuration achieves this?

hard📝 Best Practice Q15 of 15
AWS - Auto Scaling
You want an Auto Scaling group that maintains at least 2 instances, scales up to 5 during high load, and automatically replaces unhealthy instances. Which configuration achieves this?
ASet MinSize=2, MaxSize=5, DesiredCapacity=2, enable health checks and instance replacement
BSet MinSize=5, MaxSize=2, DesiredCapacity=3, disable health checks
CSet MinSize=0, MaxSize=5, DesiredCapacity=5, no health checks
DSet MinSize=2, MaxSize=5, DesiredCapacity=5, disable instance replacement
Step-by-Step Solution
Solution:
  1. Step 1: Define scaling limits

    MinSize=2 ensures at least 2 instances, MaxSize=5 allows scaling up to 5.
  2. Step 2: Set desired capacity and health checks

    DesiredCapacity=2 starts with 2 instances. Enabling health checks and instance replacement ensures unhealthy instances are replaced automatically.
  3. Step 3: Evaluate other options

    The other options either have invalid MinSize/MaxSize, disable health checks, or disable instance replacement.
  4. Final Answer:

    Set MinSize=2, MaxSize=5, DesiredCapacity=2, enable health checks and instance replacement -> Option A
  5. Quick Check:

    Correct scaling limits and health checks enabled [OK]
Quick Trick: MinSize ≤ DesiredCapacity ≤ MaxSize with health checks enabled [OK]
Common Mistakes:
  • Setting MinSize greater than MaxSize
  • Disabling health checks or instance replacement
  • Setting DesiredCapacity outside Min/Max range

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes