AWS - Auto ScalingWhich of the following is the correct way to set the desired capacity to 5 in an AWS Auto Scaling group configuration snippet?ADesiredCapacity => 5B"DesiredCapacity" = 5CDesiredCapacity: "5"D"DesiredCapacity": 5Check Answer
Step-by-Step SolutionSolution:Step 1: Identify correct JSON syntaxIn JSON, keys and string values use double quotes and key-value pairs use colon (:).Step 2: Check each option"DesiredCapacity": 5 uses correct JSON syntax: key in quotes, colon, numeric value without quotes.Final Answer:"DesiredCapacity": 5 -> Option DQuick Check:JSON key-value uses colon and quotes [OK]Quick Trick: JSON uses colon and quotes for keys [OK]Common Mistakes:MISTAKESUsing equals sign instead of colonPutting numbers in quotes unnecessarilyUsing arrow symbols instead of colon
Master "Auto Scaling" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - API deployment and stages - Quiz 3easy API Gateway - API deployment and stages - Quiz 5medium AWS Lambda - Lambda execution model - Quiz 13medium AWS Lambda - Event triggers for Lambda - Quiz 4medium Auto Scaling - Scaling policies (target tracking, step, simple) - Quiz 15hard Auto Scaling - Launch templates - Quiz 6medium DynamoDB - Tables, items, and attributes - Quiz 2easy Elastic Load Balancing - ALB vs NLB decision - Quiz 14medium RDS and Relational Databases - Parameter groups and option groups - Quiz 3easy SNS and SQS - Why messaging services matter - Quiz 1easy