Advanced Amazon S3 Flashcards

1
Q

LifeCycle Rules - Transition Actions

A

move obj to Standard IA 60 days after creation

move to Glacier for Archiving after 6 months etc

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

LifeCycle Rules - Expiration Actions

A

configure obj to expire (delete) after some time

Access log can be deleted after 365 days

Can be used to delete old version of files (if versioning enabled)

Can delete incomplete multi-part uploads

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

Can you create LifeCycle rules for certain prefix? - s3://mybucket/mp3/*

A

Yes

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

Can you create LifeCycle rules for certain object Tags? (e.g. Department: Finance)

A

yes

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

What can Amazon S3 Analytics do with Storage classes?

A

Help decide when to transition objects to right storage class

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

Which Storage classes does Amazon S3 Analytics work with?

A

Only Standard and Standard IA

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

S3 - Requester Pays

A

Option to enable for the requester to pay instead of the owner of the bucket

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

S3 general charging model?

A

Bucket owners pay for all S3 storage and data transfer costs associated with their bucket

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

When would you use Requester Pays?

A

If you have an object that is too big and you don’t want to be charged

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

Use cases for Requester Pays?

A

When you want to share large datasets with other accounts?

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

What does the requester must be in order to download objects from a bucket?

A

Authenticated in AWS (cannot be anonymous)

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

S3 Event Notification use cases

A

Generate thumbnails of images uploaded to S3

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

What are the 3 main destinations for S3 events notifications?

A

SNS
SQS
Lambda Function

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

S3 Event Notifications with Amazon EventBridge (architecture)

A

Events go into S3 bucket, then all of them are sent over to EventBridge.

EventBridge can then send events, depending on rules set, over to 18 AWS services as destinations

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

When is Multi-Part upload recommended?

A

For anything greater than 100MB

Mandatory for anything over 5GB

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

S3 Transfer Acceleration (upload/download)

A

Increase transfer speed by transferring file to AWS edge location which forwards the data to S3 bucket in the target region

17
Q

How does S3 Transfer Acceleration work?

A

If your file is in USA, you transfer it publicly (www) to an Edge Location in USA and then you send it to the S3 Bucket in AUS via private AWS.

Meaning you decrease the amount of public internet you go through

18
Q

S3 Byte-Range Fetches

A

Parallelise GETs by requesting specific byte ranges

Better resilience in case of failures

19
Q

S3 Byte-Range Fetches architecture

A

You have a file in S3, you break it down into parts and request these parts in parallel - speeds up download

20
Q

What are the 2 use cases for Byte-Range Fetches?

A

Speed up downloads
Retrieve only partial data (head of a file for example)

21
Q

S3 Select & Glacier Select

A

Retrieve less data using SQL - server side filtering

Filter rows and columns

Less network transfer, less CPU cost client-side

22
Q

How does S3 Select & Glacier Select work?

A

Instead of receiving the whole file and then filtering it on client-side, S3 Select does the filtering on the S3 and then sends you exactly what you need.

SQL is used

23
Q

S3 Select & Glacier Select architecture

A

You ask for a CSV with S3 Select. Amazon S3 does server-side filtering, then sends the filtered dataset to you

24
Q

S3 Batch Operations

A

Perform bulk operations on existing S3 objects with a single request

25
Q

S3 Batch Operations Examples

A

Modify object metadata & properties
Copy objects between S3 buckets
Encrypt un-encrypted objects
Modify ACLs, tags
Restore objects from S3 Glacier
Invoke Lambda Function to perform custom action on each object

26
Q

What do S3 Batch Operations manage?

A

Retries, track progress, sends completion notifications, generate reports

27
Q

How can you use S3 inventory?

A

To get object list and use S3 Select to filter your objects

28
Q

S3 Inventory use (architecture)

A

S3 inventory sends Objects list report to S3 select, then S3 select sends filtered list to S3 Batch Operations.

The user can also add operations & parameters, and then everything gets sent from S3 Batch Operations to Processed Objects