Bird
0
0

Which AWS CLI command correctly adds an IAM user named charlie to a group called Testers?

easy📝 Syntax Q3 of 15
AWS - Identity and Access Management
Which AWS CLI command correctly adds an IAM user named charlie to a group called Testers?
Aaws iam add-user-to-group --group Testers --user charlie
Baws iam add-user-to-group --group-name Testers --user-name charlie
Caws iam add-user-to-group --group-name Testers --user charlie
Daws iam add-user-to-group --group Testers --user-name charlie
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct CLI syntax

    The correct command uses the parameters --group-name and --user-name.
  2. Step 2: Validate options

    aws iam add-user-to-group --group-name Testers --user-name charlie uses both parameters correctly with proper values.
  3. Final Answer:

    aws iam add-user-to-group --group-name Testers --user-name charlie -> Option B
  4. Quick Check:

    Use --group-name and --user-name exactly [OK]
Quick Trick: Use --group-name and --user-name parameters [OK]
Common Mistakes:
  • Using --user instead of --user-name
  • Using --group instead of --group-name
  • Mixing parameter names incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes