S3 - Lifecycle Rules/Requestor Pays/Event Notifications/Batch Operations/`Storage Lens Flashcards
What is the purpose of Amazon S3 Lifecycle Rules?
To automate the transition of objects between storage classes and manage object expiration.
What are the components of an S3 Lifecycle Rule?
Transition actions, expiration actions, and filters (prefixes or tags).
How do transition actions work in S3 Lifecycle Rules?
They move objects to lower-cost storage classes after a specified number of days.
Give an example of a transition action.
Move objects to Standard-IA after 60 days or to Glacier after 6 months.
What do expiration actions do in S3 Lifecycle Rules?
They delete objects, old versions, or incomplete multi-part uploads after a specified time.
How can you manage objects that are infrequently accessed?
Transition them to Standard-IA or One-Zone-IA using lifecycle rules.
How can S3 Lifecycle Rules handle versioned objects?
Non-current versions can be transitioned to lower-cost storage classes or deleted.
What tool helps determine the optimal time to transition objects between classes?
Amazon S3 Analytics.
Can objects be transitioned between any storage classes?
Yes, but the transitions must follow the supported paths (e.g., Standard → Standard-IA → Glacier).
What is a common scenario for using One-Zone-IA?
Storing secondary copies of backups or data that can be easily recreated.
What is the S3 Requester Pays feature?
A feature where the requester, not the bucket owner, pays for the data transfer costs associated with downloading objects.
Who pays for the storage costs in an S3 Requester Pays bucket?
The bucket owner.
When should you consider using the S3 Requester Pays feature?
When sharing large datasets and you want the requester to bear the data transfer costs.
Can anonymous users use S3 Requester Pays buckets?
No, the requester must be authenticated with AWS.
Why must the requester be authenticated in S3 Requester Pays buckets?
To ensure AWS can bill the requester for the data transfer costs.
What are S3 Event Notifications?
A feature that allows you to react to events in Amazon S3, such as object creation, removal, or replication.
What destinations can S3 Event Notifications send to?
SNS topics, SQS queues, Lambda functions, and Amazon EventBridge.
What is required to enable S3 Event Notifications for an SNS topic?
An SNS resource access policy to authorize the S3 bucket to send messages to the topic.
What policy is required for S3 Event Notifications to send to an SQS queue?
An SQS resource access policy to allow the S3 service to send messages to the queue.
What is needed for S3 to invoke a Lambda function using Event Notifications?
A Lambda resource policy that authorizes S3 to invoke the Lambda function.
What are S3 Batch Operations?
A feature that allows you to perform bulk operations on existing S3 objects with a single request.
What are the components of an S3 Batch Operation job?
A list of objects.
The action to perform.
Optional parameters.
Why use S3 Batch Operations instead of scripting your own solution?
Built-in retry management.
Progress tracking.
Completion notifications.
Automatic report generation.
How can you generate a list of objects for an S3 Batch Operation?
Use S3 Inventory to create an object list and S3 Select to filter the objects.
What is the purpose of S3 Storage Lens?
To help you understand, analyze, and optimize storage across your AWS Organization by providing insights into anomalies, cost efficiencies, and data protection practices.
How can S3 Storage Lens metrics be exported?
Metrics can be exported in CSV or Parquet format to an S3 bucket.
Name some use cases for S3 Storage Lens metrics.
Identifying underused or fast-growing buckets.
Managing and optimizing storage costs.
Ensuring data protection best practices (e.g., versioning enabled buckets).
Understanding bucket ownership and event notifications.
Monitoring performance and activity (e.g., GET/PUT requests).
What AWS service can S3 Storage Lens metrics be published to?
Amazon CloudWatch.