Bird
0
0

Which of the following is the correct way to set a cooldown period of 300 seconds in an AWS Auto Scaling group using AWS CLI?

easy📝 Configuration Q12 of 15
AWS - Auto Scaling
Which of the following is the correct way to set a cooldown period of 300 seconds in an AWS Auto Scaling group using AWS CLI?
Aaws autoscaling configure-group --name my-asg --cooldown 300
Baws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --default-cooldown 300
Caws autoscaling create-cooldown --name my-asg --seconds 300
Daws autoscaling set-cooldown --group my-asg --time 300
Step-by-Step Solution
Solution:
  1. Step 1: Recall AWS CLI command for cooldown

    The correct command uses 'update-auto-scaling-group' with '--default-cooldown' option.
  2. Step 2: Match the correct syntax

    aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --default-cooldown 300 matches the official syntax to set cooldown to 300 seconds.
  3. Final Answer:

    aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --default-cooldown 300 -> Option B
  4. Quick Check:

    Correct CLI syntax = aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --default-cooldown 300 [OK]
Quick Trick: Use update-auto-scaling-group with --default-cooldown [OK]
Common Mistakes:
MISTAKES
  • Using non-existent commands like set-cooldown
  • Wrong parameter names like --time or --seconds
  • Confusing create and update commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes