Bird
0
0

You try to create a bucket with this command:

medium📝 Debug Q6 of 15
AWS - S3 Fundamentals
You try to create a bucket with this command:
aws s3api create-bucket --bucket my_bucket_01 --region us-east-2 --create-bucket-configuration LocationConstraint=us-east-2

The command fails. What is the most likely cause?
ALocationConstraint is missing
BBucket name contains underscores which are not allowed
CRegion parameter is incorrect
DBucket name is too short
Step-by-Step Solution
Solution:
  1. Step 1: Review bucket naming rules for allowed characters

    Underscores (_) are not allowed in bucket names.
  2. Step 2: Check other parameters

    Region and LocationConstraint are correctly specified for us-east-2.
  3. Final Answer:

    Bucket name contains underscores which are not allowed -> Option B
  4. Quick Check:

    Underscores forbidden in bucket names = B [OK]
Quick Trick: Use only lowercase letters, numbers, dots, and hyphens in bucket names [OK]
Common Mistakes:
MISTAKES
  • Using underscores in bucket names
  • Omitting LocationConstraint for non-us-east-1 regions
  • Incorrect region spelling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes