Bird
0
0

Which of the following is the correct way to set the minimum size of an Auto Scaling group using AWS CLI?

easy📝 Configuration Q12 of 15
AWS - Auto Scaling
Which 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 2
Baws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --min-size 2
Caws autoscaling create-auto-scaling-group --min 2 --name my-asg
Daws autoscaling configure-group --asg my-asg --minimum 2
Step-by-Step Solution
Solution:
  1. Step 1: Recall AWS CLI command for updating Auto Scaling group

    The correct command to update settings is 'update-auto-scaling-group' with parameters for group name and min size.
  2. Step 2: Check each option's syntax

    aws 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.
  3. Final Answer:

    aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --min-size 2 -> Option B
  4. Quick 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 update
  • Wrong parameter names like --min or --minimum
  • Incorrect command verbs like set-minimum or configure-group

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes