S3 Flashcards

1
Q

What is S3?

A

Simple Storage Service.

Provides development and IT teams with secure, durable, highly scalable object storage

Data is spread across multiple devices and facilities

  • high recovery
  • fast delivery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Size of files that can be uploaded to S3

A

0 bytes - 5 TB

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

Single PUT in S3 max size file

A

5GB

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

Multi-PUT in S3 max file size

A

5TB

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

Single PUT in console max file size

A

160GB

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

Storage limit for S3

A

unlimited

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

Naming conventions with S3

A

Uses a universal namespace so all names must be unique globally

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

Data consistency for S3

A

Read and write for PUTS of new objects

Eventual consistency for overwrite PUTS and DELETES (can take some time)

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

Transfer Acceleration for S3

A

Can enable by setting in the sub-resource of bucket (bucket specific config).

Note: need to have a DNS compliant name (cannot contain “.”) if want to enable Transfer Acceleration

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

Standard S3 Storage

Durability and Availability

A

Durability 99.999999999%

Availability
99.9%

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

Standard-IA S3 Storage Durability and Availability

A

Durability 99.999999999%

Availability
99.9%

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

OneZone-IA S3 Storage Durability and Availability

A

Durability 99.999999999%

Availability
99.5%

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

Glacier S3 Storage Durability and Availability

A

Durability 99.999999999%

Availability
99.9% after objects are restored

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

Reduced Redundancy Storage (RRS) S3 Storage Durability and Availability

A

Durability 99.99%

Availability
99.5%

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

When to use Standard-IA S3 Storage Class?

A

For data that is accessed less frequently but requires rapid access when needed.

Lower fee than S3 but…

Retrieval fee for all S3 IA Objects

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

When to use OneZone-IA Storage Class?

A

Don’t need resilient data

Cost is 20% less than regular S3-IA

17
Q

When to use Glacier S3 Storage Class?

A

Want to archive data for a cheap deal.

Don’t need to access data immediately (3-5hr to restore)

18
Q

When to use Reduced Redundancy Storage (RRS) S3 Storage Class?

A

NOT RECOMMENDED

Regular S3 is cheaper now

Used to store data that can be recreated if lost (ex. thumbnails)

19
Q

What service can you use if you have unknown or unpredictable access patterns for S3 bucket?

A

Intelligent Tiering which auto moves data between

  • Frequent
  • Infrequent access

So you can save money

There is a small monitoring fee of $0.0025 per 1000 objects.

20
Q

List the S3 charges

A

Storage per GB
Requests

Storage Management Pricing
- inventory, analytics, and object tags

Data Management Pricing
- data transferred out of S3

Transfer Acceleration
- use CloudFront to optimize transfers

21
Q

Can you encrypt objects already in S3 bucket?

A

No, If objects are already in bucket when you set encryption those objects will not be encrypted.

22
Q

What are the 3 types of At Rest encryption options for S3?

A

S3 managed keys (SSE-S3)

AWS Key management Service Managed Keys (SSE-KMS)

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

23
Q

When to use SSE-S3 encryption

A

Want to each object in S3 to be encrypted with its own key.

256 bit encryption

24
Q

When to use SSE-KMS encryption

A

AWS manages key for you

Get audit key

Option to use own key or default key

25
Q

When to use SSE-C encryption

A

AWS manages encryption and decryption

But customer handles keys

26
Q

How to enforce encryption on S3 bucket

A

Add special parameter in header
x-amz-server-side-encryption:AES256 or x-amz-server-side-encryyption:ams:kms:SSE-KMS

Enfoce server side ecryption by making in required to have x-amz-server-side-encryption parameter in request header

27
Q

If you have a S3 bucket that wants to access another public bucket what actions do you have to perform to allow bucket access

A

Must set up CORS even if bucket is public

28
Q

How to access performance metrics for S3

A

CloudWatch

29
Q

What to use if you have a large request rate in S3 (100 PUTS, LISTS, DELETES or < 300 GET)

A

Use CloudFront

30
Q

What service do you use if you want to receive Application Load Balancer Logs

A

S3

31
Q

How to modify an S3 object permissions at object level

A

use S3 Access Control Lists (ACLs)

32
Q

How to ensure only encrypted data is uploaded to S3?

A

Use bucket policy that only allows PUT with x-amz-server-side-encryption param in request header

33
Q

How to add CORS config to an S3 bucket in Console

A

In Permissions tab click CORS Configuration

34
Q

What headers do you need to include when using SSE-C key and want to upload object to bucket?

A

x-amz-server-side-encryption-customer-algorithm, x-amz-server-side-encryption-customer-key and x-amz-server-side-encryption-customer-key-MD5

35
Q

What do you need to do if you want Cross-region replication (CCR) to copy objects across all buckets in different AWS regions?

A

Versioning must be set