Bird
0
0

You tried to create a bucket with this command:

medium📝 Debug Q14 of 15
AWS - S3 Fundamentals
You tried to create a bucket with this command:
aws s3api create-bucket --bucket 123_invalid_bucket --region us-east-1

But it failed. What is the most likely reason?
ABucket name contains underscores which are invalid
BBucket name starts with numbers which is not allowed
CRegion us-east-1 does not support bucket creation
DMissing --acl parameter causes failure
Step-by-Step Solution
Solution:
  1. Step 1: Review bucket naming rules

    Bucket names cannot contain underscores (_) but can start with numbers.
  2. Step 2: Check command and region validity

    Region us-east-1 supports bucket creation and --acl is optional, so failure is due to invalid underscore in name.
  3. Final Answer:

    Bucket name contains underscores which are invalid -> Option A
  4. Quick Check:

    Underscores not allowed in bucket names [OK]
Quick Trick: Bucket names cannot have underscores, even if starting with numbers [OK]
Common Mistakes:
MISTAKES
  • Thinking numbers can't start bucket names
  • Assuming region blocks creation
  • Believing --acl is required

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes