S3 Flashcards

Lear all about S3

1
Q

What is S3?

A

“Simple Storage Service”. It is essentially a key-value store.
It provides secure, durable, highly-scalable object storage with a simple web interface to store and retrieve any amount of data from anywhere on the web.

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

What is the size limitation on S3?

A

Files can be 0 bytes to 5 TB. There is unlimited storage (pay by the GB).

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

What are buckets?

A

That is where files are stored. Think of them as folders.

The bucket namespace is universal. It must be unique globally.

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

What do the S3 Bucket URLs look like?

A

“https://s3-region.amazonaws.com/bucketname”, e.g., “https://s3-eu-west-1.amazonaws.com/my-bucket”

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

What is the data consistency model for S3?

A
  • Read after write consistency for PUTS of new object.

* Eventual consistency for overwrite PUTS and DELETES (can take time to propagate)

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

What does the store look like?

A
  • Key: this is the object name
  • Value: this is the object value
  • Version ID: used for versioning
  • Metadata: data about what is being stored
  • Subresources:
    • Access Control Lists
    • Torrents
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the availability, durability of S3?

A

Built for 99.99%, Amazon guarantees 99.9% availability.

Amazon guarantees 99.999999999% durability (11 nines).

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

What are the storage tiers/classes?

A
  • S3 Standard: 99.99% availability, 99.999999999% durability. Stored redundantly across multiple devices in multiple facilities and is designed to sustain the concurrent loss of 2 facilities.
  • S3 - IA: Infrequently access. For when data is accessed less frequently but requires rapid access when needed. Lower fee than S3 standard but incurs a retrieval fee.
  • S3 One Zone - IA: lower cost than IA and does not require multiple availability zone (stored in 1 availability zone only) resilience.
  • Glacier: very cheap for archival use only. Comes in 3 flavors: expedited, standard, and bulk. An expedited retrieval takes a few minutes (more expensive). A standard retrieval takes 3-5 hours. Bulk takes 5-12 hours.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What S3 charges are there?

A
  • Storage (e.g, charged per GB)
  • Requests (e.g., 1000 requests/minute)
  • Storage manage pricing (e.g, tags/metadata)
  • Data transfer pricing (e.g., transfering from one region to another, i.e., cross region replication)
  • Transfer acceleration (e.g, takes advantage of CloudFront’s technology )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Have you read the S3 FAQ?

A

No!. READ IT before exam.

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

Are objects public or private by default?

A

Objects are not public by default. All buckets are also private by default.

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

What are the types of server side encryption?

A
  • Server side encryption with Amazon S3 managed keys (SSE-S3)
  • Server side encryption with KMS (SSE-KMS)
  • Server side encryption with customer provided keys (SSE-C)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If an versioning is turned on and an object is made public and then a new version is uploaded, is the new version public?
What about if the new version is then deleted, is the previous version still public?

A

The new version will not be public but once it is deleted the previous version will still be public since it was made public before (and S3 remembers).

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

Can you add 2-FA/MFA for deleting an object?

A

Yes. (only if versioning is enabled?)

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

When you set up new S3 replication, which object get replicated?

A

New objects and changed objects. Existing objects will not get replicated. If you want to move existing files over then you must use the command line tool.

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

What happens to a file in a replication bucket if you delete the file (or a version) in the primary bucket?

A

The file (or version) in the replication bucket will not be automatically deleted.

17
Q

If the primary bucket has versioning enabled, does the replication bucket also require versioning?

A

Yes.

18
Q

Can the replication bucket exist in the same region as the primary bucket?

A

No. (It’s cross region DUH)

19
Q

Can you replicate to more than one bucket or daisy chain?

A

No, not at this time (may change?)

20
Q

Can lifecycle management be used with or without versioning?

A

It can be used with versioning, and without versioning.

21
Q

Does lifecycle management apply to current versions and/or previous versions?

A

It can be applied to both current and previous versions.

22
Q

What can lifecycle management do?

A

It can transition to IA after x days, it can transition to Glacier after y days of IA, it can delete after z days.

23
Q

What is a bucket policy?

A

Set access control bucket wide

24
Q

What is an access control list?

A

Can set access on individual objects.

25
Q

Does S3 have access logs?

A

Yes. They can also be saved to other buckets and other accounts.

26
Q

What is S3 Transfer Acceleration?

A

It allows you to use a CloudFront edge location to upload your data to is makes it a little faster.

27
Q

What is the S3 static web hosting URL format?

A

http://.s3-website-.amazonaws.com

28
Q

How do you make an entire bucket public?

A

Use a bucket policy.