S3 - Lifecycle Rules/Requestor Pays/Event Notifications/Batch Operations/`Storage Lens Flashcards

1
Q

What is the purpose of Amazon S3 Lifecycle Rules?

A

To automate the transition of objects between storage classes and manage object expiration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the components of an S3 Lifecycle Rule?

A

Transition actions, expiration actions, and filters (prefixes or tags).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do transition actions work in S3 Lifecycle Rules?

A

They move objects to lower-cost storage classes after a specified number of days.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Give an example of a transition action.

A

Move objects to Standard-IA after 60 days or to Glacier after 6 months.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What do expiration actions do in S3 Lifecycle Rules?

A

They delete objects, old versions, or incomplete multi-part uploads after a specified time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can you manage objects that are infrequently accessed?

A

Transition them to Standard-IA or One-Zone-IA using lifecycle rules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can S3 Lifecycle Rules handle versioned objects?

A

Non-current versions can be transitioned to lower-cost storage classes or deleted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What tool helps determine the optimal time to transition objects between classes?

A

Amazon S3 Analytics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Can objects be transitioned between any storage classes?

A

Yes, but the transitions must follow the supported paths (e.g., Standard → Standard-IA → Glacier).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a common scenario for using One-Zone-IA?

A

Storing secondary copies of backups or data that can be easily recreated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the S3 Requester Pays feature?

A

A feature where the requester, not the bucket owner, pays for the data transfer costs associated with downloading objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Who pays for the storage costs in an S3 Requester Pays bucket?

A

The bucket owner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When should you consider using the S3 Requester Pays feature?

A

When sharing large datasets and you want the requester to bear the data transfer costs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Can anonymous users use S3 Requester Pays buckets?

A

No, the requester must be authenticated with AWS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why must the requester be authenticated in S3 Requester Pays buckets?

A

To ensure AWS can bill the requester for the data transfer costs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are S3 Event Notifications?

A

A feature that allows you to react to events in Amazon S3, such as object creation, removal, or replication.

17
Q

What destinations can S3 Event Notifications send to?

A

SNS topics, SQS queues, Lambda functions, and Amazon EventBridge.

18
Q

What is required to enable S3 Event Notifications for an SNS topic?

A

An SNS resource access policy to authorize the S3 bucket to send messages to the topic.

19
Q

What policy is required for S3 Event Notifications to send to an SQS queue?

A

An SQS resource access policy to allow the S3 service to send messages to the queue.

20
Q

What is needed for S3 to invoke a Lambda function using Event Notifications?

A

A Lambda resource policy that authorizes S3 to invoke the Lambda function.

21
Q

What are S3 Batch Operations?

A

A feature that allows you to perform bulk operations on existing S3 objects with a single request.

22
Q

What are the components of an S3 Batch Operation job?

A

A list of objects.
The action to perform.
Optional parameters.

23
Q

Why use S3 Batch Operations instead of scripting your own solution?

A

Built-in retry management.
Progress tracking.
Completion notifications.
Automatic report generation.

24
Q

How can you generate a list of objects for an S3 Batch Operation?

A

Use S3 Inventory to create an object list and S3 Select to filter the objects.

25
Q

What is the purpose of S3 Storage Lens?

A

To help you understand, analyze, and optimize storage across your AWS Organization by providing insights into anomalies, cost efficiencies, and data protection practices.

26
Q

How can S3 Storage Lens metrics be exported?

A

Metrics can be exported in CSV or Parquet format to an S3 bucket.

27
Q

Name some use cases for S3 Storage Lens metrics.

A

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).

28
Q

What AWS service can S3 Storage Lens metrics be published to?

A

Amazon CloudWatch.