Advanced S3 Flashcards
What are the two kinds of lifecycle rule actions?
- Transition - Move object from one storage class to another
- Expiration - Delete object after some time (can be used to delete old versions)
What are the two different ways you can define what objects a lifecycle rule applies to?
- Prefix
- Object tags
What does S3 Storage Class Analysis provide?
Recommendations for moving objects between Standard and Standard IA
What are the 3 services that can receive S3 event notifications? What must be created prior to these services receiving these events.
- SNS
- SQS
- Lambda
A resource policy must be created on the respective resource allowing the S3 bucket to access the resource.
By default, which service will receive all S3 events?
Amazon EventBridge
How many PUT/COPY/POST/DELETE requests can be made per second per prefix to a bucket?
3500
How many GET/HEAD requests can be made per second per prefix to a bucket?
5500W
What is a method to increase upload speed to an S3 bucket?
Use S3 Transfer Acceleration which works by transferring the file to an AWS edge location which will then forward the data to the S3 bucket in the target region
What is a method to increase download speed from an S3 bucket?
Use S3 Byte-Range fetches in parallel and construct the file on the client side
What must a user-defined metadata begin with?
x-amz-meta
Between object tags and user-defined metadata, which should you use when trying to define fine-grained permissions or performing analytics?
Object tags
True or false: Object tags and metadata are searchable.
False, instead you must create an external DB like DynamoDB to act as a search index