S3 Flashcards

1
Q

What is the max size for a single file upload? What is the min?

A

0 - 5TB

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

At what size is it recommended you do multi-part upload?

A

100 MB

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

At what size is it that you must do a multipart file upload?

A

over 5GB

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

When a file is uploaded successfully what is returned?

A

HTTP 200 status code

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

S3 buckets are private or public by default?

A

Private

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

What is an Object ACL?

A

Individual object level permissions

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

What is a bucket policy?

A

Permissions that apply to all objects in a bucket

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

Is S3 bucket names global? Why?

A

Yes, so that you can access the bucket from anywhere in the world it has a unique global dns name.

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

How do you make files public in a bucket?

A

Turn off Block Public Access in bucket properties. Select object and make it public.

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

What is the format for an s3 url? Which is going to be deprecated?

A

https://bucketname.s3.Region.amazonaws.com/filename

Path based style s3 url will be deprecated (https://s3.Region.amazonaws.com/bucket-name/key name)

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

What kind of files can you upload to S3?

A

Any kind of file can be uploaded

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

Can you install an OS or Database on S3?

A

No, it is object storage

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

What is an s3 bucket?

A

It is like a folder to store objects in it

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

What is the availability and durability?

A

99.9% and 11 9’s

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

What does durability mean?

A

The chance that data will be loss

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

What does availability mean?

A

The amount of time that data is available

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

How many availability zones does S3 store itself in? How many can it lose?

A

3 Az’s, can sustain the loss of 2 Az’s

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

What consistency is S3?

A

Strong Read After Write meaning if you write data you can immediately read the updated/new data

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

What are the steps to host a static website?

A
  1. Turn on Static Website Hosting for a bucket
  2. Turn off Block Public Access for the bucket
  3. create/set the index.html and error.html
  4. Use a bucket policy to set files as public in the bucket (getObject for all principals)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Once versioning is enabled for an S3 bucket can it be disabled?

A

It can’t be disabled, only suspended

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

How can you prevent accidental deletion of all versions of objects in S3?

A

Turn on MFA

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

What is versioning in S3?

A

All versions of an object are stored including PUT and Deletes

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

If you make objects public in an S3 bucket, does this apply to all versions of that object?

A

Previous versions will not be public even if the bucket policy makes objects public. You have to make the version public specifically.

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

How can you restore a file in S3 that was deleted?

A

You delete the delete marker

25
Q

What are S3 Standard use cases?

A

Most workloads like websites. Frequent accessed data

26
Q

What are S3 IA use cases?

A

Backups, critical data that is IA but needs rapid access

27
Q

What are S3 One Zone use cases?

A

Non-critical IA long-lived data.

28
Q

What is S3 Glacier used for?

A

Archiving long term data with retrieval time of minutes to hours

29
Q

What is S3 Glacier Deep archive used for?

A

Rarely accessed archived data with retrieval times of 12 hours plus

30
Q

What storage class should you use if you don’t know how frequently data will be accessed?

A

S3 intelligent Tiering

31
Q

What storage classes do not have retrieval fees?

A

Standard and Intelligent Tiering

32
Q

What is lifecycle management in S3?

A

Automate moving objects between storage tiers

33
Q

Why would you combine lifecycle management with versioning in S3?

A

To automate moving previous versions of objects to a different tier

34
Q

What are the 2 actions associated with S3 lifecycle management

A

Transition actions and Expiration actions

35
Q

What is S3 object lock?

A

Method to store objs as WORM (write once read many)

36
Q

Why use S3 object lock?

A

For regulatory compliance or extra protection layer

37
Q

What modes does S3 object lock have?

A

Governance Mode and Compliance Mode

38
Q

What is Governance Mode for S3 object locks?

A

Users cant overwrite/delete objects but some special permissions can be used to delete or alter retention settings

39
Q

What is Compliance Mode for S3 object locks?

A

Objects cannot be overwritten/deleted by any users at all. Retention settings cannot be changed for retention duration.

40
Q

What is an S3 object lock Legal Hold?

A

Legal Hold is a setting that prevents obj deletion/overwrite forever until a user removes it.

41
Q

At what granularity does S3 object lock apply to?

A

Either individual objects or bucket wide

42
Q

What is S3 Glacier Vault Lock?

A

Compliance controls for Glacier Vaults via a vault lock policy. e.g. WORM

43
Q

Can you change an S3 Glacier Vault Lock once locked?

A

No you cannot change or remove the vault lock policy once locked

44
Q

What are the 3 types of S3 encryption?

A

Encryption in Transit, Server side encryption, Client side encryption

45
Q

What is encryption in transit for S3?

A

Using SSL/TLS and HTTPS

46
Q

What are the 3 server side encryption options?

A
  1. SSE-S3 - S3 managed keys
  2. SSE-KMS - KMS managed keys
  3. SSE-C - Customer provided keys
47
Q

How do you enforce Server Side Encryption for S3 buckets?

A

Have a bucket policy that requires the server side encryption header to be present in PUTs (x-amz-server-side-encryption)

48
Q

What is an S3 prefix?

A

The logical path between bucket name and object name

49
Q

How do you improve S3 performance?

A

Spread operations across different prefixes

50
Q

What are some limitations of S3 prefixes? How would you fix this?

A

The built-in quota limits to calling KMS when uploading and downloading. No quota increases allowed. Fix by using native S3 encryption instead of KMS

51
Q

What is S3 multipart upload?

A

Uploading a file in parallel chunks to increases upload speed

52
Q

What is S3 byte ranges fetches?

A

Parallel download of certain chunks of a file

53
Q

What is the PUT/COPY/DELETE/POST limit on S3 api?

A

3500 calls per sec per prefix

54
Q

What is the GET/HEAD limit on S3 api?

A

5500 calls per sec per prefix

55
Q

What happens to old objects when you turn on replication in S3?

A

Old objects are not replicated. Only new or modified objects are

56
Q

What must be enabled for S3 replication to work?

A

Enable Versioning in both src and dest buckets

57
Q

What happens to delete markers in S3 replication?

A

By default replication will not copy delete markers

58
Q

What regions and accounts can you do S3 replication in?

A

You can do same region or cross region replication. You can do same account or cross account.