AWS - Auto ScalingWhich of the following is the correct way to set the minimum size of an Auto Scaling group using AWS CLI?Aaws autoscaling set-minimum --group my-asg --size 2Baws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --min-size 2Caws autoscaling create-auto-scaling-group --min 2 --name my-asgDaws autoscaling configure-group --asg my-asg --minimum 2Check Answer
Step-by-Step SolutionSolution:Step 1: Recall AWS CLI command for updating Auto Scaling groupThe correct command to update settings is 'update-auto-scaling-group' with parameters for group name and min size.Step 2: Check each option's syntaxaws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --min-size 2 uses correct command and parameters. Others use invalid commands or parameters.Final Answer:aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --min-size 2 -> Option BQuick Check:Update Auto Scaling group with correct CLI syntax [OK]Quick Trick: Use 'update-auto-scaling-group' to change min size [OK]Common Mistakes:Using create command instead of updateWrong parameter names like --min or --minimumIncorrect command verbs like set-minimum or configure-group
Master "Auto Scaling" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - CORS configuration - Quiz 8hard AWS Lambda - Lambda handler function structure - Quiz 2easy AWS Lambda - Lambda layers for shared code - Quiz 3easy Auto Scaling - Scaling policies (target tracking, step, simple) - Quiz 3easy CloudWatch - CloudWatch metrics - Quiz 12easy CloudWatch - Why monitoring matters - Quiz 4medium Elastic Load Balancing - Health checks configuration - Quiz 15hard RDS and Relational Databases - Read replicas for performance - Quiz 8hard RDS and Relational Databases - RDS supported engines - Quiz 12easy RDS and Relational Databases - Multi-AZ deployment for high availability - Quiz 3easy