S3 (Simple Storage Service) Flashcards
(36 cards)
True or False, S3 bucket names must be globally unique?
True
In S3 files you upload are referred to as what?
Objects
The minimum and maximum size of an S3 Object
min: 0 Bytes
max: 5 Terabytes
The 6 types of S3 storage classes
Standard - (default)
Replicated across at least three AZs
Intelligent Tiering
Uses ML to analyze your object usage and determine the appropriate storage class. Data is moved to the most cost-effective access tier, without any performance impact or added overhead.
Standard Infrequently / Accessed (IA)
Cheaper if you access files less than once a month
(reduced availability)
Accessed (IA)
Objects only exist in one AZ. (Reduce durability) Data could get destroyed. A retrieval fee is applied.
Glacier
For long-term cold storage. Retrieval of data can take minutes to hours but the off is very cheap storage
Glacier Deep Archive
The lowest cost storage class. Data retrieval time is 12 hours.
In S3, Which is the lowest cost storage class, but also has the longest retrieval time for data?
Glacier Deep Archive
ˈgleɪʃər dip ˈɑrˌkaɪv
The 2 S3 Storage Classes used for Cold Storage
- Glacier
- Glacier Deep Archive
ˈgleɪʃər dip ˈɑrˌkaɪv
The durability % guaranteed for S3’s standard storage class
99.99999999999% (11 9s)
In S3, What is IA?
Infrequently Accessed
S3 Standard-IA is for data that is accessed less frequently, but requires rapid access when needed. S3 Standard-IA offers the high durability, high throughput, and low latency of S3 Standard, with a low per GB storage price and per GB retrieval fee.
In S3, Which 2 types of storage class have no data retrieval fees?
Standard
Intelligent Tiering
The rest of storage classes have the value of “Per GB”
What is the minimum storage duration for Intelligent Tiering, Standard IA and One-Zone IA?
30 days
What are the 2 methods of access control in S3?
Bucket Policies
Use a policy to define complex rule access.
Access Control Lists (ACL)
Legacy feature but not deprecated
Are All new buckets created public private by default?
Private
The process of encrypting files before uploading them to S3 is called what?
Client-Side Encryption (CSE)
How is data encrypted while in-transit?
SSL/TLS
The 3 types of server-side encryption (SSE) in S3
SSE-AES (AES-256)
SSE-KMS (AWS-KMS)
SSE-C (You provide the key yourself)
What are the three types of encryption in S3
Encryption in transit
Traffic, SSL/TLS
SSE - (Client side Encryption) Encryption at rest
AES, KMS, SSE-C
CSE (Client side Encryption)
You encrypt data before upload it
Which type of data consistency occurs when you overwrite an existing object in S3?
Eventual Consistency
True or False, when you upload a brand new file you can immediately read it back after uploading
True
The 2 types of data consistency in S3
Read After Write Consistency
When you upload a new S3 object you are able read immediately after writing.
Eventual Consistency
When you overwrite or delete an object it takes time for S3 to replicate versions to AZs.
If you were to read immediately, S3 may return you an old copy. You need to generally wait a few seconds before reading.
True or False, with Cross Region Replication (CRR) you can replicate data into a different AWS account
True
Create new bucket > Turn on versioning > Management > Replication > Add rule > Entire Bucket
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Buckets that are configured for object replication can be owned by the same AWS account or by different accounts. Object may be replicated to a single destination bucket or multiple destination buckets. Destination buckets can be in different AWS Regions or within the same Region as the source bucket.
To enable object replication, you add a replication configuration to your source bucket. The minimum configuration must provide the following:
- The destination bucket or buckets where you want Amazon S3 to replicate objects
- An AWS Identity and Access Management (IAM) role that Amazon S3 can assume to replicate objects on your behalf
What are 2 benefits of enabling Cross Region Replication (CRR) for your S3 data?
Higher durability
Better disaster recovery
You must have this enabled on both the source and destination buckets in order to enable Cross Region Replication (CRR) for S3
Versioning
S3, True or False, once versioning is enabled it cannot be disabled, only suspended
True
This S3 feature helps protect against deletion of your S3 data
MFA Delete