Bird
0
0

What is the best approach?

hard📝 Architecture Q9 of 15
AWS - Auto Scaling
An Auto Scaling group has MinSize=1, MaxSize=5, and DesiredCapacity=3. You want to temporarily increase capacity to 6 instances during peak hours without changing MaxSize permanently. What is the best approach?
ASet MinSize to 6 during peak hours
BSet DesiredCapacity to 6 without changing MaxSize
CTemporarily increase MaxSize to 6, then revert after peak hours
DTerminate instances manually to reach 6
Step-by-Step Solution
Solution:
  1. Step 1: Understand MaxSize limit

    DesiredCapacity cannot exceed MaxSize, so MaxSize must be increased to 6 temporarily.
  2. Step 2: Revert MaxSize after peak

    After peak hours, revert MaxSize to original to control costs.
  3. Final Answer:

    Temporarily increase MaxSize to 6, then revert after peak hours -> Option C
  4. Quick Check:

    MaxSize limits maximum instances, must be adjusted for temporary scale-up [OK]
Quick Trick: MaxSize must allow DesiredCapacity increase before scaling up [OK]
Common Mistakes:
MISTAKES
  • Trying to set DesiredCapacity above MaxSize without changing MaxSize
  • Using MinSize to control maximum instances

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes