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 in N. Virginia:

A

http: //bucket.s3.amazonaws.com
http: //s3.amazonaws.com/bucket

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

S3 bucket naming in other regions:

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
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
9
Q

Consistency for overwrite PUTS and DELETES

A

Eventual

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

S3 Storage Classes/Tiers

A

S3 Standard (immediately available, frequently accessed data)
S3 – Infrequently Accessed (immediately available, infrequently accessed data)
Reduced Redundancy Storage (easily reproducible data)
Glacier (archival, extremely cheap)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
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
12
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
13
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
14
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
15
Q

Does versioning integrate with Lifecycle Rules?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
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
17
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
18
Q

Lifecycle Management

A

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

19
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

20
Q

Edge Location

A

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

21
Q

Origin

A

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

22
Q

Distribution

A

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

23
Q

Distribution types

A

Web Distribution (websites), RTMP (media streaming)

24
Q

Are edge locations read only?

A

No, you can write to them too

25
Q

How long are objects cached?

A

TTL

26
Q

Can you clear cached objects manually?

A

Yes, but you will be charged

27
Q

By default, all newly created buckets are

A

PRIVATE

28
Q

You can set up access control to your buckets using

A

Bucket Policies, ACLs

29
Q

Access Logging

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

30
Q

Encryption types

A

In Transit, At Rest

31
Q

In Transit protocol

A

SSL/TLS

32
Q

At Rest

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

33
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

34
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

35
Q

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

A

You manage keys yourself, S3 manages encryption/decryption

36
Q

Client Side Encryption

A

You encrypt data on client side, upload to S3

37
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

38
Q

Stored Volumes good for

A

connectivity issues, low latency

39
Q

Snowball types

A

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

40
Q

Snowball Can

A

Import to S3, Export from S3

41
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

42
Q

S3 static websites

A

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

43
Q

successful write to S3

A

HTTP 200

44
Q

How to load files to S3 much faster?

A

enable multipart upload