Bird
0
0

Which AWS CLI command correctly creates an S3 bucket named my-unique-bucket in the us-east-1 region?

easy📝 Configuration Q12 of 15
AWS - S3 Fundamentals
Which AWS CLI command correctly creates an S3 bucket named my-unique-bucket in the us-east-1 region?
Aaws s3 create-bucket --bucket my-unique-bucket --region us-east-1
Baws s3 mb my-unique-bucket --region us-east-1
Caws s3api create-bucket --bucket my-unique-bucket --region us-east-1
Daws s3api create-bucket --bucket my-unique-bucket --create-region us-east-1
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct AWS CLI syntax for creating buckets

    The aws s3api create-bucket command is the standard for bucket creation with region specification.
  2. Step 2: Check the region parameter correctness

    The correct parameter is --region, not --create-region. Also, aws s3 mb is shorthand but requires the bucket URL format.
  3. Final Answer:

    aws s3api create-bucket --bucket my-unique-bucket --region us-east-1 -> Option C
  4. Quick Check:

    Correct CLI syntax = aws s3api create-bucket --bucket my-unique-bucket --region us-east-1 [OK]
Quick Trick: Use 'aws s3api create-bucket' with --region for bucket creation [OK]
Common Mistakes:
  • Using 'aws s3 mb' without s3:// prefix
  • Wrong parameter name like --create-region
  • Omitting the --region parameter

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes