Section 14: Advanced Amazon S3 Flashcards

1
Q

How can you be notified when there’s an object uploaded to your S3 bucket?

A

S3 Event Notifications

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

You have an S3 bucket that has S3 Versioning enabled. This S3 bucket has a lot of objects, and you would like to remove old object versions to reduce costs. What’s the best approach to automate the deletion of these old object versions?

A

S3 Lifecycle Rules - Expiration Actions

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

How can you automate the transition of S3 objects between their different tiers?

A

S3 Lifecycle Rules

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

While you’re uploading large files to an S3 bucket using Multi-part Upload, there are a lot of unfinished parts stored in the S3 bucket due to network issues. You are not using these unfinished parts and they cost you money. What is the best approach to remove these unfinished parts?

A

Use an S3 Lifecycle Policy to automate old/unfinished parts deletion

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

You are looking to get recommendations for S3 Lifecycle Rules. How can you analyze the optimal number of days to move objects between different storage tiers?

A

S3 Analytics

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

You are looking to build an index of your files in S3, using Amazon RDS PostgreSQL. To build this index, it is necessary to read the first 250 bytes of each object in S3, which contains some metadata about the content of the file itself. There are over 100,000 files in your S3 bucket, amounting to 50 TB of data. How can you build this index efficiently?

A

Create an application that will traverse the S3 bucket, issue a Byte Range Fetch for the first 250 bytes, and store that information in RDS

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

You have a large dataset stored on-premises that you want to upload to the S3 bucket. The dataset is divided into 10 GB files. You have good bandwidth but your Internet connection isn’t stable. What is the best way to upload this dataset to S3 and ensure that the process is fast and avoid any problems with the Internet connection?

A

Use S3 Multi-part Upload & S3 Transfer Acceleration

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

You would like to retrieve a subset of your dataset stored in S3 with the .csv format. You would like to retrieve a month of data and only 3 columns out of 10, to minimize compute and network costs. What should you use?

A

S3 Select

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

A company is preparing for compliance and regulatory review on its infrastructure on AWS. Currently, they have their files stored on S3 buckets that are not encrypted, which must be encrypted as required for compliance and regulatory review. Which S3 feature allows them to encrypt all files in their S3 buckets in the most efficient and cost-effective way?

A

S3 Batch Operations

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

True/False: You can use S3 Transfer Acceleration to copy objects across S3 buckets in different Regions using S3 console

A

False - S3 Transfer Acceleration is used for file transfers between clients and S3 buckets

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

What is the minimum storage duration for a S3 Standard object before you can transition it to S3 Standard-IA or S3 One Zone-IA?

A

30 days

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

True/False: S3 Storage Class Analysis provides you with recommendations to help you determine when to transition objects from STANDARD storage to STANDARD_IA, ONEZONE_IA or GLACIER storage classes

A

False - Storage Class Analysis only makes recommendations regarding transitioning from STANDARD to STANDARD_IA

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

This command uses the CopyObject APIs to copy objects between S3 buckets

A

S3 sync

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

True/False: If you enable versioning on an S3 bucket, you can disable versioning to return it to an un-versioned state

A

False - You can only suspend bucket versioning once enabled

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

What are the two valid URL formats you can use for an Amazon S3 website endpoint?

A

s3-website dash (-) Region ‐ http://bucket-name.s3-website.Region.amazonaws.com
s3-website dot (.) Region ‐ http://bucket-name.s3-website-Region.amazonaws.com

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

This S3 Storage Class is a good choice for storing secondary backup copies of on-premises data or easily re-creatable data. It costs 20% less than S3 Standard-IA

A

S3 One Zone-IA

17
Q

True/False: S3 can encrypt object metadata by using Server-Side Encryption

A

False - Metadata is not encrypted while being stored on Amazon S3. Therefore, AWS recommends that customers not place sensitive information in Amazon S3 metadata.

18
Q

What type of request could you make if you wanted to only retrieved a specified portion of an S3 object?

A

Byte-Range Fetches