0
0
AWScloud~10 mins

Creating S3 buckets in AWS - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create an S3 bucket named 'my-bucket'.

AWS
aws s3api create-bucket --bucket [1] --region us-east-1
Drag options to blanks, or click blank then click option'
Amy-bucket
Bbucket-name
Cmybucket123
Dtest-bucket
Attempts:
3 left
💡 Hint
Common Mistakes
Using a placeholder name instead of the exact bucket name.
Leaving the bucket name blank.
2fill in blank
medium

Complete the code to specify the region 'us-west-2' when creating the bucket.

AWS
aws s3api create-bucket --bucket my-bucket --region [1] --create-bucket-configuration LocationConstraint=[1]
Drag options to blanks, or click blank then click option'
Aap-south-1
Bus-east-1
Ceu-central-1
Dus-west-2
Attempts:
3 left
💡 Hint
Common Mistakes
Using the default region instead of the specified one.
Typing the region code incorrectly.
3fill in blank
hard

Fix the error in the command to create a bucket with public read access.

AWS
aws s3api create-bucket --bucket my-bucket --acl [1]
Drag options to blanks, or click blank then click option'
Apublic-read
Bpublic-read-write
Cprivate
Dauthenticated-read
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'public-read-write' which allows write access too.
Using 'private' which denies public access.
4fill in blank
hard

Fill both blanks to create a bucket named 'versioned-bucket' in region 'eu-west-1'.

AWS
aws s3api create-bucket --bucket [1] --region [2] --create-bucket-configuration LocationConstraint=[2]
Drag options to blanks, or click blank then click option'
Aversioned-bucket
Bus-east-1
Ceu-west-1
Dmy-bucket
Attempts:
3 left
💡 Hint
Common Mistakes
Mismatch between region and LocationConstraint.
Using a generic bucket name.
5fill in blank
hard

Fill all three blanks to enable versioning on an existing bucket named 'archive-bucket' in region 'ap-northeast-1'.

AWS
aws s3api put-bucket-versioning --bucket [1] --region [2] --versioning-configuration Status=[3]
Drag options to blanks, or click blank then click option'
Aarchive-bucket
Bap-northeast-1
CEnabled
DDisabled
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Disabled' instead of 'Enabled' for versioning.
Incorrect region or bucket name.