Bird
0
0

Which AWS CLI command is used to create a new S3 bucket named my-new-bucket?

easy📝 Conceptual Q1 of 15
AWS - CLI
Which AWS CLI command is used to create a new S3 bucket named my-new-bucket?
Aaws s3 mb s3://my-new-bucket
Baws s3 create-bucket my-new-bucket
Caws s3 new-bucket my-new-bucket
Daws s3 make-bucket my-new-bucket
Step-by-Step Solution
Solution:
  1. Step 1: Understand the AWS CLI command for creating buckets

    The correct command to create a bucket uses the 'mb' (make bucket) subcommand with the bucket URL.
  2. Step 2: Identify the correct syntax

    The syntax is 'aws s3 mb s3://bucket-name'. Options B, C, and D use incorrect subcommands.
  3. Final Answer:

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

    Create S3 bucket = aws s3 mb s3://bucket-name [OK]
Quick Trick: Use 'mb' to make a bucket in S3 CLI commands [OK]
Common Mistakes:
MISTAKES
  • Using 'create-bucket' instead of 'mb'
  • Omitting the 's3://' prefix
  • Using incorrect subcommands like 'new-bucket' or 'make-bucket'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes