Bird
0
0

Which of the following is the correct way to set the desired capacity to 5 in an AWS Auto Scaling group configuration snippet?

easy📝 Configuration Q12 of 15
AWS - Auto Scaling
Which of the following is the correct way to set the desired capacity to 5 in an AWS Auto Scaling group configuration snippet?
ADesiredCapacity => 5
B"DesiredCapacity" = 5
CDesiredCapacity: "5"
D"DesiredCapacity": 5
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct JSON syntax

    In JSON, keys and string values use double quotes and key-value pairs use colon (:).
  2. Step 2: Check each option

    "DesiredCapacity": 5 uses correct JSON syntax: key in quotes, colon, numeric value without quotes.
  3. Final Answer:

    "DesiredCapacity": 5 -> Option D
  4. Quick Check:

    JSON key-value uses colon and quotes [OK]
Quick Trick: JSON uses colon and quotes for keys [OK]
Common Mistakes:
MISTAKES
  • Using equals sign instead of colon
  • Putting numbers in quotes unnecessarily
  • Using arrow symbols instead of colon

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes