Chapter 5 - S3 Flashcards

1
Q

What does S3 stand for?

A

Simple Storage Service

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

What type of storage is S3?

A

Object-based storage.
“Flat files” that don’t change, such as text documents, videos, websites, etc.
Databases are NOT flat files.

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

What are the basic characteristics of S3?

A
  • Object-based
  • File size of 0 Bytes to 5 TB
  • Unlimited storage
  • Files stored in Buckets (aka Folder, Directory, etc)
  • Uses “Universal Namespace”. The name must be unique globally.
  • Successful upload of a file will result in a “HTTP 200 code”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How are S3 Objects identified?

A

S3 Objects are identified by Key:Value Pairs with the Key being the name of the object and the Value being the data in a sequence of bytes.

They will also contain a Version ID, Metadata and Subresources such as Access Control Lists and Torrents.

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

How is Data Consistency handled for S3?

A

Read after Write consistency for PUTS of NEW Objects is:
Immediate Read after Write

Eventual Consistency for OVERWRITE PUTS and DELETES:
Can take some time to propagate (few seconds)
May NOT be able to Read immediately after Write.
May STILL be able to Read after Delete.

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

What are the basic features of S3?

A
  • Tiered Storage Available
  • Lifecycle Management
  • Versioning
  • Encryption
  • Secure data using Server-Side Encryption, Access Control Lists and Bucket Policies
    *Data Consistency Model
    *After a successful write of a new object (PUT) or an overwrite of an existing object, any subsequent read request immediately
    receives the latest version of the object.
    Strong consistency for list operations, so after a write, you can immediately perform a listing of the objects in a bucket with all changes reflected.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the basic features of S3?

A
  • Tiered Storage Available
  • Lifecycle Management
  • Versioning
  • Encryption
  • Secure data using Server-Side Encryption, Access Control Lists and Bucket Policies
    *Data Consistency Model
    • After a successful write of a new object (PUT) or an overwrite of an existing object, any subsequent read request immediately
      receives the latest version of the object.
    • Strong consistency for list operations, so after a write, you can immediately perform a listing of the objects in a bucket with all
      changes reflected.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Are Buckets public or private by default?

A

Private

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

How do Object ACLs and Bucket Policies differ?

A
Object ACLs (Access Control Lists) are for individual objects.
Bucket policies are for entire buckets.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you know if an upload of a file has been successful?

A

An HTTP 200 status code is received as a result of a successful upload (PUT).

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

Are Buckets public or private by default?

A

Private

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

How do Object ACLs and Bucket Policies differ?

A
Object ACLs (Access Control Lists) are for individual objects.
Bucket policies are for entire buckets.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do you know if an upload of a file has been successful?

A

An HTTP 200 status code is received as a result of a successful upload (PUT).

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

What type of websites can be hosted on S3?

A

You can use S3 to host static websites, such as .html sites.

Dynamic websites, such as those that require database connections, cannot be hosted on S3.

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

How does S3 handle scaling of websites?

A

S3 scales automatically to meet demand. Many enterprises will put static websites on S3 when they think there is going to be a large number of requests.

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

What is Versioning?

A

Version control of your objects or files.

17
Q

What are the advantages of Versioning?

A
  • All versions of an object are stored in S3. This includes all writes and even if you delete an object.
  • Can be a great backup tool.
  • Once enabled, versioning cannot be disabled, only suspended.
  • Can be integrated with lifecycle rules.
  • Can support multi-factor authentication.
18
Q

How are versions of objects or files listed in AWS?

A
In a reverse chronological file tree.
Example:
     * Delete Marker
          * Version 3
               * Version 2
                    * Version 1
19
Q

Are old versions public by default?

A

No.
Even when you have a policy that enables all objects in a bucket to be public, it doesn’t apply to previous versions of those objects. You must manually make older versions public.

20
Q

With Versioning enabled, what happens when you delete an object in AWS?

A

The system does not actually delete the object but rather inserts a Delete Marker at the top of the file tree making the object inaccessible

21
Q

With Versioning enabled, how do you make a deleted object accessible again?

A

You must delete the Delete Marker.

22
Q

List the S3 storage classes:

A
  • S3 Standard
  • S3 Standard - IA (Infrequent Access)
  • S3 One Zone - IA (Infrequent Access)
  • Glacier
  • Glacier Deep Archive
  • S3 - Intelligent Tiering
  • S3 Outposts
23
Q

What are the characteristics of S3 Standard?

A
Availability
     99.99%
Durability
     11 9’s
Availability Zones (AZs)
     >= 3
Use Case
     Suitable for most workloads (e.g. websites, content distribution, mobile and gaming applications, and big data analytics)
24
Q

What are the characteristics of S3 Standard - IA (Infrequent Access)?

A
Availability
     99.9%
Durability
     11 9’s
Availability Zones (AZs)
     >= 3
Use Case
     Long term, infrequently accessed critical data (e.g. backups, data store for disaster recovery files, etc)
25
Q

What are the characteristics of S3 One Zone - IA (Infrequent Access)?

A
Availability
     99.5%
Durability
     11 9’s
Availability Zones (AZs)
     >= 1
Use Case
     Long-term, infrequently accessed, non-critical data
26
Q

What are the characteristics of Glacier?

A
Availability
     99.99%
Durability
     11 9’s
Availability Zones (AZs)
     >= 3
Use Case
     Long-term data archiving that occasionally needs to be accessed within a few hours or minutes
27
Q

What are the characteristics of Glacier Deep Archive?

A
Availability
     99.99%
Durability
     11 9’s
Availability Zones (AZs)
     >= 3
Use Case
     Rarely accessed data archiving with a default retrieval time of 12 hours (e.g. financial records for regulatory purposes)
28
Q

What are the characteristics of S3 - Intelligent Tiering?

A
Availability
     99.9%
Durability
     11 9’s
Availability Zones (AZs)
     >= 3
Use Case
     Unknown or unpredictable access patterns
29
Q

What are the characteristics of S3 Outposts?

A

Amazon S3 on Outposts delivers object storage to your on-premises AWS Outposts environment to meet local data processing and data residency needs.

Mentioned in the Cloud Practitioner course as a new service.
Not mentioned in Solutions Architect Associate course.

30
Q

What are the 3 advantages / benefits of Lifecycle Management?

A
  • Automates moving your object between the different storage tiers thereby maximizing your cost effectiveness.
  • Can be combined with Versioning to move different versions of objects to different storage tiers.
  • Can be applied to current versions or previous versions.