Section 14: Advanced Amazon S3 Flashcards
How can you be notified when there’s an object uploaded to your S3 bucket?
S3 Event Notifications
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?
S3 Lifecycle Rules - Expiration Actions
How can you automate the transition of S3 objects between their different tiers?
S3 Lifecycle Rules
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?
Use an S3 Lifecycle Policy to automate old/unfinished parts deletion
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?
S3 Analytics
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?
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
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?
Use S3 Multi-part Upload & S3 Transfer Acceleration
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?
S3 Select
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?
S3 Batch Operations
True/False: You can use S3 Transfer Acceleration to copy objects across S3 buckets in different Regions using S3 console
False - S3 Transfer Acceleration is used for file transfers between clients and S3 buckets
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?
30 days
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
False - Storage Class Analysis only makes recommendations regarding transitioning from STANDARD to STANDARD_IA
This command uses the CopyObject APIs to copy objects between S3 buckets
S3 sync
True/False: If you enable versioning on an S3 bucket, you can disable versioning to return it to an un-versioned state
False - You can only suspend bucket versioning once enabled
What are the two valid URL formats you can use for an Amazon S3 website endpoint?
s3-website dash (-) Region ‐ http://bucket-name.s3-website.Region.amazonaws.com
s3-website dot (.) Region ‐ http://bucket-name.s3-website-Region.amazonaws.com