S3 Flashcards
Fill in the blank.
S3 allows people to store ________.
Objects.
What is a “bucket”?
A directory where objects (files) are stored.
True or False.
S3 buckets must have a globally unique name.
True.
What is the max size of an object?
5TB
What is a bucket policy?
Bucket wide rules from the S3 console.
How do you allow Public Access to an S3 bucket?
Use a Bucket Policy to allow Public Access.
How do you allow an IAM user Access to an S3 bucket?
Attach an IAM policy to allow that IAM user to access the S3 bucket.
How do you allow an EC2 Instance access to an S3 bucket?
Attach an EC2 Instance role to the EC2 that contains IAM Permissions allowing access to the S3 bucket.
How do you allow Cross Account access to an S3 bucket?
Use a bucket policy to allow cross account access that would allow an IAM user from another account to access the S3 bucket.
At what level is versioning enabled?
Bucket Level.
Why should you version your buckets?
Protect against unintended deletes.
Easy roll back to a previous version.
Where are S3 Access Logs stored and what information is tracked with S3 Access Logs?
Logs that are stored in another S3 bucket that shows:
Any request made to S3
Authorised and Denied requests
Why would you enable S3 Access Logs?
To get to Root Cause of an Issue
Audit Purposes
View suspicious patterns
What is CRR and what are the use cases for CRR?
CRR = Cross Region replication
Used for compliance, lower latency access, replication across accounts.
What is SRR and what are the use cases for SRR?
SRR = Same Region replication
Used for log aggregation, live replication between prod and test accounts
When would you use General Purpose S3?
Use for frequently accessed data that requires low latency and high throughput.