Bird
0
0

What will happen if you run this command?

medium📝 Predict Output Q5 of 15
AWS - S3 Fundamentals
What will happen if you run this command?
aws s3api create-bucket --bucket my.bucket.name --region us-west-2 --create-bucket-configuration LocationConstraint=us-west-2
ABucket is created but with a warning about dots
BCommand fails because bucket names cannot contain dots
CBucket is created successfully with dots in the name
DCommand fails due to region mismatch
Step-by-Step Solution
Solution:
  1. Step 1: Check bucket name rules regarding dots

    Bucket names can contain dots but may affect SSL and virtual-hosted style URLs.
  2. Step 2: Verify region and LocationConstraint

    Region and LocationConstraint match us-west-2, so no error there.
  3. Final Answer:

    Bucket is created successfully with dots in the name -> Option C
  4. Quick Check:

    Dots allowed in bucket names = A [OK]
Quick Trick: Dots are allowed but can affect URL style access [OK]
Common Mistakes:
  • Believing dots are forbidden in bucket names
  • Confusing region and LocationConstraint mismatch
  • Expecting warnings to block creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes