Bird
0
0

Which of the following is the correct JSON snippet to set an Auto Scaling group with MinSize 2, MaxSize 5, and DesiredCapacity 3?

easy📝 Configuration Q3 of 15
AWS - Auto Scaling
Which of the following is the correct JSON snippet to set an Auto Scaling group with MinSize 2, MaxSize 5, and DesiredCapacity 3?
A{"MinSize": 3, "MaxSize": 2, "DesiredCapacity": 5}
B{"MinSize": 2, "MaxSize": 3, "DesiredCapacity": 5}
C{"MinSize": 5, "MaxSize": 3, "DesiredCapacity": 2}
D{"MinSize": 2, "MaxSize": 5, "DesiredCapacity": 3}
Step-by-Step Solution
Solution:
  1. Step 1: Verify MinSize, MaxSize, DesiredCapacity values

    MinSize must be less than or equal to DesiredCapacity, which must be less than or equal to MaxSize.
  2. Step 2: Check JSON syntax correctness

    {"MinSize": 2, "MaxSize": 5, "DesiredCapacity": 3} correctly sets MinSize=2, MaxSize=5, DesiredCapacity=3 with valid JSON syntax.
  3. Final Answer:

    {"MinSize": 2, "MaxSize": 5, "DesiredCapacity": 3} -> Option D
  4. Quick Check:

    MinSize ≤ DesiredCapacity ≤ MaxSize and valid JSON [OK]
Quick Trick: MinSize ≤ DesiredCapacity ≤ MaxSize in JSON config [OK]
Common Mistakes:
  • Swapping MinSize and MaxSize values
  • Setting DesiredCapacity outside Min/Max range
  • Invalid JSON formatting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes