Object Storage and CDN Flashcards

1
Q

What type of storage is S3?

A

Object based i.e. allows you to upload files. Not suitable to install an OS on.

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

File size range

A

0 bytes to 5 TB

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

How much storage in S3?

A

Unlimited

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

Files are stored in

A

Buckets

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

When you register a bucket

A

S3 is a universal namespace, so names must be unique globally

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

S3 bucket naming:

A

http://s3-aws-region.amazonaws.com/bucket

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

Consistency for PUTS of new objects

A

Read After Write

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

Consistency for overwrite PUTS and DELETES

A

Eventual

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

S3 Storage Classes/Tiers

A

S3 Standard (immediately available, frequently accessed data)
S3 – Infrequently Accessed (immediately available, infrequently accessed data)
S3 One Zone - Infrequently Accessed (lower cost for IA, but multiple AZ is not required)
Glacier (archival, extremely cheap)

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

Core fundamentals of S3

A
Key (name)
Value (data)
Version ID
Metadata
Subresources (ACLs)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Versioning

A

Stores all versions of an object (including all writes and even if you delete an object), great backup tool

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

Versioning costs

A

Pay for each version, since storage accumulates

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

Once versioning is enabled

A

it cannot be disabled, only suspended. Only way to disable versioning is to delete and recreate the bucket

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

Does versioning integrate with Lifecycle Rules?

A

Yes

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

Does versioning have MFA Delete?

A

Yes, it provides an additional layer of security

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

Cross Region Replication requirements:

A

versioning enabled on both source and destination bucket. only new files automatically replicated as well as all versions. permissions also replicated. if you restore object or delete individual versions, not replicated, chaining not allowed

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

Can Lifecycle Management be used with versioning?

A

Can be used with versioning, but not required. Can be applied to current and previous versions.

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

Lifecycle Management Actions

A

Transition to Standard - IA (128 kb and 30 days after creation date)
Archive to Glacier (30 days after IA, if relevant. 60 days after creation date, or you can move to Glacier day after object uploaded to S3)
Permanently Delete

19
Q

What is a Edge Location?

A

location where content will be cached. separate from an AZ/Region

20
Q

What is a Origin in relation to CDN?

A

origin of all files that the CDN will distribute. can either be an S3 bucket, EC2 instance, an ELB, or Route53

21
Q

What is a Distribution?

A

name given to the CDN which consists of a collection of edge locations

22
Q

What are the Distribution types?

A

Web Distribution (websites), RTMP (media streaming)

23
Q

Are edge locations read only?

A

No, you can write to them too

24
Q

How long are objects cached?

A

TTL

25
Q

Can you clear cached objects manually?

A

Yes, but you will be charged

26
Q

By default, all newly created buckets are

A

PRIVATE

27
Q

You can set up access control to your buckets using

A

Bucket Policies, ACLs

28
Q

What can you use to track Access Logging for S3 buckets?

A

S3 buckets can be configured to create access logs which log all request made to the S3 bucket. This can be done to another bucket

29
Q

Encryption types

A

In Transit, At Rest

30
Q

In Transit protocol

A

SSL/TLS

31
Q

At Rest encrypton

A

Server Side Encryption:
-S3 Managed Keys (SSE-S3)
-AWS Key Management Service, Managed Keys (SSE - KMS)
-Server Side Encryption with Customer Provided Keys (SSE - C)
Client Side Encryption

32
Q

S3 Managed Keys (SSE-S3)

A

each object encrypted with a unique key employing strong multifactor encryption. as additional safeguard, encrypts the key itself with a master key that rotates regularly (AES-256). AWS manages this

33
Q

AWS Key Management Service, Managed Keys (SSE - KMS)

A

similar to SSE-S3, has benefits + costs. allows use of an envelope key (key that protects encryption key). allows for audit trail

34
Q

Server Side Encryption with Customer Provided Keys (SSE - C)

A

You manage keys yourself, S3 manages encryption/decryption

35
Q

Client Side Encryption

A

You encrypt data on client side, upload to S3

36
Q

Storage Gateway Types

A

File Gateway - for flat files, stored directly on S3
Volume Gateway
-Stored Volumes: Entire dataset stored on site and asynchronously backed up to S3
-Cached Volumes: Entire dataset stored on S3 and most frequently accessed data is cached on site
Gateway Virtual Tape Library (VTL): used for backup and uses popular backup apps like NetBackup, Backup Exec, Veam etc

37
Q

Stored Volumes good for

A

connectivity issues, low latency

38
Q

Snowball types

A

Snowball (pure storage)
Snowball Edge (storage + compute)
Snowmobile

39
Q

Snowball Can

A

Import to S3, Export from S3

40
Q

You can speed up transfers to S3 using

A

S3 transfer acceleration. costs extra, and has the greatest impact on people who are far away

41
Q

S3 static websites

A

You can use S3 to host static websites, serverless, very cheap + scales automatically, cannot host dynamic sites

42
Q

Code for successful write to S3

A

HTTP 200

43
Q

How to load files to S3 much faster?

A

enable multipart upload