S3 Flashcards

1
Q

S3 Exam Cram

A
  • You can store any type of file in S3
  • Files can be anywhere from 0 to 5 TB
  • There is unlimited storage available
  • S3 is a universal namespace so bucket names must be unique globally
  • However, you create your buckets within a REGION!!
  • It’s best practice to create buckets in regions that are physically closest to your users to reduce latency
  • There is no hierarchy for objects within a bucket
  • Delivers strong read-after-write consistency
  • Files are stored in buckets
  • A bucket can be viewed as a container for objects
  • A bucket is flat container of objects
  • It does not provide a hierarchy of objects
  • we can use a object key name (prefix) to mimic folders
  • 100 buckets per account by default (this is the limit)
  • You can store unlimited objects in your bucket
  • You can not create nested buckets
  • An object is a file uploaded to s3
  • S3 supports any file type
  • Each object is stored and retrieved by a unique key
  • Objects remain in the region they are stored you setup replication
  • Permissions can be defined on objects at any time
  • Storage class is set on the object level
  • Bucket policies are resource-based policies
  • Bucket policies can only be attached to Amazon S3 buckets
  • Principal is not defined with an IAM policy
  • AWS generally recommends using S3 bucket policies or IAM policies rather than ACLs
  • Can be attached to bucket or directly to an object
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

S3 Static Website

A

We can just use static and not dynamic websites. That means Java Script that would be executed on the client side is possible.
But you can’t run any code of the server side.

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

What is Multipart upload & Transfer Acceleration

A

Multipart upload:
- in parallel, independently and in any order
- It is recommended for objects of 100MB and larger.
- Can be used for object from 5MB to 5 TB
- Must be used for object larger than 5 GB

Transfer Acceleration:
- You can use CloudFront (it is a content delivery Network) edge locations to improve performance of transfers from client to S3 bucket.

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

What are the S3 storage classes

A
  • The storage classes (important for the exam to understand what is the different)!!
    • S3 Standard
    • S3 Intelligent Tiering
    • S3 Standard-IA
    • S3 One Zone-IA
    • S3 Glacier
    • S3 Glacier Deep Archive

Description:
S3 Standard is the default storage class and offers high availability, durability, and low-latency access to frequently accessed data.

Use Cases:
It’s suitable for frequently accessed data, big data analytics, mobile and gaming applications, content distribution, and more.

Description:
S3 Intelligent-Tiering is designed to automatically optimize costs by moving objects between two access tiers (frequent and infrequent) based on changing access patterns.

Use Cases:
It’s ideal for workloads with unknown or changing access patterns, where you want to save costs by automatically transitioning less frequently accessed data to a lower-cost storage class.

Description:
S3 Standard-IA offers the same performance as S3 Standard but at a lower cost per GB. It’s designed for infrequently accessed data.

Use Cases:
It’s suitable for backups, disaster recovery data, and other infrequently accessed data that still requires low-latency access when needed.

Description:
S3 One Zone-IA stores data in a single availability zone, offering lower costs compared to S3 Standard-IA but with less redundancy.

Use Cases:
It’s suitable for infrequently accessed data that can be recreated or doesn’t require high durability.

Description:
S3 Glacier is a very low-cost storage class designed for archiving data that may not need to be accessed for long periods (e.g., regulatory compliance data).

Use Cases:
It’s ideal for long-term data retention, compliance, and archives where retrieval times of several hours are acceptable.

Description:
S3 Glacier Deep Archive offers the lowest storage costs among all S3 classes but with the longest retrieval times (several hours).

Use Cases:
It’s suitable for data archives that rarely need to be accessed and have strict budget constraints.

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