Advanced S3 & Athena Flashcards
What is the EC2 URL to get the metadata?
http://169.254.169.254/latest/meta-data
How can MFA-Delete be enabled in S3?
You need to be the root user and use the CLI
What is the default timeout for S3 pre-signed urls?
3600 seconds (1 hour)
How do you change the timeout?
Use the –expires-in argument
What are the 6 S3 storage classes?
- S3 Standard - General Purpose
- S3 Standard - Infrequent Access (IA)
- S3 One Zone - Infrequent Access
- S3 Intelligent Tiering
- Amazon Glacier
- Amazon Glacier Deep Archive
What are the uses cases for S3 Standard?
Big data, content distribution
What are the use cases for S3 Standard Infrequent Access?
Data store for disaster recovery
What are the use cases for S3 One Zone - Infrequent Access?
Storing secondary backup or data you can recreate
What are the 3 retrieval options for Glacier?
- Expedited (1 - 5 minutes)
- Standard (3 - 5 hours)
- Bulk (5 - 12 hours)
What are the 2 retrieval options for Glacier Deep Archive?
- Standard (12 hours)
- Bulk (48 hours)
What is the minimum storage duration for Glacier?
90 days
What is the minimum storage duration for Glacier Deep Archive?
180 days
In Lifecycle rules, what are Transition Actions?
They define when objects get transitioned to another class
In Lifecycle Rules, what are Expiration Actions?
They configure objects to delete at certain times
Are Lifecycle Rules at the bucket level?
Lifecycle Rules can be applied for a certain prefix or for object tags
How do you retrieve deleted objects?
Enable S3 Versioning so that you can retrieve it
What is S3 Analytics?
It is a report that runs daily to determine when to transition objects from standard to IA
How many PUT/COPY/POST/DELETE requests per second can we get in S3?
3500 per second
How many GET/HEAD requests per second can we get in S3?
5500 per second
How can we filter data server-side in S3?
Use S3 Select or Glacier Select
What is S3 Requester Pays?
It allows you to set the requester of data downloads as the payer. The requester must be authenticated in AWS, cannot be random
What is Glacier Vault Lock?
It is when you write once, read many. Good for compliance etc