S3 Flashcards
What is S3?
Simple Storage Service
Where are files stored in S3?
Buckets (similar to folders)
What is the maximum object size in S3?
5 TB
What is the minimum object size in S3?
0 bytes
Is an S3 bucket name globally unique across all AWS accounts?
Yes, namespace already in use are not available.
S3 URLS follow a naming convention. Is this correct?
Https://bucketname.s3.region.amazonaws.com/keyname
Correct. The URL always has the bucket name, region, and keyname (filename).
What is the success code when uploading a file to an S3 bucket?
HTTP 200
What is a key in S3?
The name of an object (filename). An example is picture.jpg.
What is the value in S3?
The data itself, which is made up of a sequence of bytes.
What is a version ID in S3?
Multiple versions of the same object
What is metadata?
Data about the data you are storing.
An example is content-type, last modified, etc.
True or false: S3 is data that is spread across multiple devices and facilities to ensure availability and durability.
True
What is the guaranteed uptime of S3 availability?
x4 nines
99.95% - 99.99%
What is the guaranteed durability for data stored in S3?
x11 nines
99.999999999%
What is S3 Standard?
1) Data stored redundantly across 3 or more availability zones
High availability of 99.99%
Durability of 99.999999999%
2) Designed for frequent access
3) Suitable for most workload
Websites, content distribution, mobile/gaming apps, and big data analytics.
Is there tiered storage in S3?
Yes, they are known as S3 classes.
True or false: you can install an OS or run a DB in S3?
False. It’s only for storing files.
Is storage in S3 limited?
No, it’s unlimited.
True or false: S3 buckets uses an universal namespace.
True
What level does an object ACL work on?
The individual object level
What level does a bucket policy work on?
The entire bucket level
True or false: creating a bucket namespace is at the global not the regional level.
True. The bucket namespace is universal and spans all aws accounts.
What are the three steps to make an object publicly accessible?
Enable the following:
Bucket Level
1) Under bucket settings: Uncheck Block Public Access
2) Under Object Ownership, choose ACLs enabled
Object Level
3) Under the object, choose Make public
Are S3 buckets private by default?
Yes
True or false: S3 can be used to host only static websites.
True. S3 cannot host dynamic websites, such those that require database connections.
What is S3 automatic scaling?
A feature that automatically scales to high request rates.
S3 bucket configuration is encompassed in what type of file?
JSON
Javascript object notation
What needs to be enabled in order to host a static website?
Static website hosting
What are the steps to creating a static website?
1) Enable static website hosting
2) Specify the html home file (index page)
3) Enable public access by applying a bucket policy
3) Upload the html files
- home page file should match in step 2
What is S3 versioning?
Multiple versions of an object within S3. This needs to be enabled.
True or false: you can disable versioning once it’s enabled.
False. It can only be suspended.
How can you see all the versions of an object?
Select list versions to enable it
Will a previous version of an object still be publicly available?
No, by default, previous versions do not retain public access. You’ll need to make the object public.
What is a delete marker?
A placeholder for a versioned object when the object is deleted. It behaves as if the object is deleted.
Can S3 versioning use MFA?
Yes
What is the reason for versioning?
It’s a backup tool.
What are the seven S3 classes?
1) S3 Standard
2) S3 Intelligent Tiering
3) S3 Standard IA (Infrequent Access)
4) S3 one-zone IA (Infrequent Access)
5) S3 Glacier Instant Retrieval
6) S3 Glacier Flexible Retrieval
7) S3 Glacier Deep Archive
What is S3 Standard class?
Features:
- Low latency/high throughput
- Durability of x11 9s across multiple AZ
- Availability of x4 9s
- Supports SSL data in transit and encryption of data at rest
- Life cycle management for automatic migration of objects to other S3 storage class
What is S3 Intelligent Tiering class?
This moves data to the most cost-effective tier based on how frequently you access each object.
- Uses AI & machine learning to see how often data is accessed and can move objects around to different S3 classes to save money.
- 99.9% Availability
- x11 9s durability
- Moves data into the tiers: frequent, infrequent, and archive instant access
What is S3 Standard IA (Infrequent Access) class?
This is for data that is accessed less frequently but requires rapid access when needed.
- Low per GB storage and per GB retrieval price.
- Ideal for long-term storage, backups, and data store for DR files.
- Can use life cycle management to automatically transition objects between S3 classes.
What is S3 one-zone IA (Infrequent Access) class?
This is for data that is accessed less frequently but requires rapid access when needed. Only redundant within a single AZ.
- For non-critical data
- Costs 20% less than S3 Standard-IA
- Low per GB storage and per GB retrieval price.
- Ideal for storing secondary backup copies of on-prem data or easily re-creatable data.
- Can use life cycle management to automatically transition objects between S3 classes.
- Availability is only 99.95%
- Durability is x11 9s, but still within only one AZ
- Data can be afford to lose
If data is in the S3 Intelligent tiering class isn’t accessed for 30 days, where will this data be automatically moved?
Infrequent Access tier
If data is in the S3 Intelligent tiering class isn’t accessed for 90 days, where will this data be automatically moved?
Archive Instant access tier
If using S3 Intelligent tiering and objects do not need immediate access and have not been accessed for 180 days, where will it be moved?
Deep Archive Access tier
Are there retrieval charges for S3?
No
How many Glacier options are available?
Three
- Glacier Instant Retrieval
- Glacier Flexible Retrieval
- Glacier Deep Archive
What is the cheapest S3 storage class?
Glacier Deep Archive
What is Glacier Instant Retrieval?
This is for long-lived data that is rarely accessed and requires retrieval in milliseconds.
- Availability is 99.9%
- Durability is x11 9s
- Minimum 128KB object size
What is Glacier Flexible Retrieval?
For achived data that is accessed 1-2 times a year and retrieved asynchronously. Flexible in retrieving data at no cost so it can be accessed in mins to 12 hours.
- For backups or DR use cases
- Availability is 99.99%
- Durability is x11 9s
What is Glacier Deep Archive?
Supports long-term retention and digital preservation for data that is accessed 1-2 times a year.
Typical for highly regulated industries.
- Retrieval time is 12 hours, bulk retrieval is 48 hours
- Data stored across three AZs
- Durability is x11 9s
Which S3 class is the most expensive?
S3 Standard
Of the three Glacier classes, which is the most expensive?
S3 Instant Retrieval