Bird
0
0

Which of the following is the correct way to create a new S3 bucket using AWS CLI?

easy📝 Configuration Q12 of 15
AWS - S3 Fundamentals
Which of the following is the correct way to create a new S3 bucket using AWS CLI?
Aaws s3 mb s3://my-bucket
Baws s3 make-bucket --name my-bucket
Caws s3 new-bucket my-bucket
Daws s3 create-bucket --bucket my-bucket
Step-by-Step Solution
Solution:
  1. Step 1: Recall AWS CLI syntax for bucket creation

    The correct command uses 'mb' (make bucket) with the bucket URL.
  2. Step 2: Check each option

    aws s3 mb s3://my-bucket matches the correct syntax: 'aws s3 mb s3://my-bucket'. Others are invalid commands.
  3. Final Answer:

    aws s3 mb s3://my-bucket -> Option A
  4. Quick Check:

    Bucket creation CLI = aws s3 mb [OK]
Quick Trick: 'mb' means make bucket in AWS CLI [OK]
Common Mistakes:
MISTAKES
  • Using 'create-bucket' instead of 'mb'
  • Omitting 's3://' prefix
  • Using non-existent commands like 'new-bucket'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes