Bird
0
0

What will happen if you run this command?

medium📝 service behavior Q13 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
ACommand fails due to missing ACL parameter
BBucket is created successfully in us-west-2
CBucket is created but in default region us-east-1
DError because bucket name contains dots and region requires special config
Step-by-Step Solution
Solution:
  1. Step 1: Understand bucket naming rules and region requirements

    Bucket names with dots require special handling in regions other than us-east-1 due to SSL certificate validation.
  2. Step 2: Analyze the command behavior

    Without specifying the --create-bucket-configuration for us-west-2, the command will fail because of the dot in the bucket name and region mismatch.
  3. Final Answer:

    Error because bucket name contains dots and region requires special config -> Option D
  4. Quick Check:

    Dots in bucket + region ≠ simple create [OK]
Quick Trick: Buckets with dots need extra config outside us-east-1 [OK]
Common Mistakes:
MISTAKES
  • Assuming bucket creates without error
  • Ignoring region-specific config for dots
  • Thinking ACL is mandatory for creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes