Chapter 14: Athena Flashcards
How to use MFA-delete?
Must enable versioning on s3 bucket beforehand
when is MFA delete required?
- permanently delete an obj version
- suspend versioning on the bucket
who can enable/disable MFA-delete?
bucket owner
How to enforce encryption on s3 bucket
- use default encryption option for s3 bucket
- use a bucket policy and refuse any API call to put an s3 object without headers
rules for setting logging bucket
do not set your logging bucket to be the monitored bucket. it will create a logging loop, and your bucket will grow in size
Types of S3 replication
- cross region replication (CRR)
2. same region replication (SRR)
What must be set prior to s3 replication
- must enable versioning in source and destination
2. must give proper IAM permissions to s3
CRR use case
compliance, lower latency access, replication across accounts
SRR use case
logs, aggregation, live replication between production and test accounts
Which objects are replicated after s3 replication is enabled
only new objects are replicated
What happens when a user is given a pre-signed url?
user inherits the permissions of the person who generated the url for get/put
what are the s3 storage classes
- standard - general purpose
- standard - IA
- one zone infrequent access
- intelligent tiering
- glacier
- glacier deep archive
Describe the standard/general purpose s3 storage class
- high durability of objects across multiple az
- sustain 2 concurrent facility failures
- use case: big data analytics, mobile and gaming apps, content distribution
describe the standard IA s3 storage class
- for when data is less accessed but rapid access is required
- high durability across multiple az
- low cost compared to s3 standard
- sustain 2 concurrent facility failures
- use cases: as a data store for disaster recovery back-ups
describe one-zone IA s3 storage class
- same as IA but one zone
- low latency and high throughput performance
- support SSL for data at transit + encryption at rest
- lower cost than IA
- use case: secondary backup, or data you can recreate