S3 Flashcards

1
Q

Amazon S3

A

Amazon S3 allows people to store objects (files) in “buckets” (directories)

  • key is full path
  • allows for versioning at bucket level
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

S3 Encryption

A
  • SSE-S3: encrypts S3 objects using keys handled & managed by AWS
  • SSE-KMS: leverage AWS Key Management Service to manage encryption keys • SSE-C: when you want to manage your own encryption keys
  • Client Side Encryption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

S3 SSE

A

Server Side Encryption - objects are encrypted on the server

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

S3 KMS

A

Key Management Store - SSE controlled by KMS and allows for user control + audit trail

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

S3 SSE-C

A

SSE using data keys fully managed by the customer outside of AWS
- HTTPS must be used

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

Client Side Encryption

A

Encryption is done on the client and the encrypted object is stored on S3

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

S3 Security

A

User based - IAM policies (roles)

Resource based - bucket policies across all accounts

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

S3 Websites

A

S3 can host static websites and have them accessible on the www
- If you get a 403 (Forbidden) error, make sure the bucket policy allows public reads!

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

S3 CORS

A

If a client does a cross-origin request on our S3 bucket, we need to enable the correct CORS headers

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

S3 MFA-Delete

A

MFA (multi factor authentication) forces user to generate a code on a device (usually a mobile phone or hardware) before doing important operations on S3

  • versioning must be enabled
  • only bucket owners can enable/disable MFA-delete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

S3 Access Logs

A

Log S3 activity into another S3

- do not loop your logs into the same bucket

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

S3 Replication

A

Cross Region Replication - compliance, lower latency access, replication across accounts

Same Region Replication - log aggregation, live replication between production and test accounts

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

S3 Pre-Signed URLs

A

Users given a pre-signed URL inherit the permissions of the person who generated the URL for GET / PUT
- valid for 3600 by default

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

S3 Standard Storage - General Purpose

A

High Durability across multiple AZ

Big Data analytics, mobile & gaming applications, content distribution

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

S3 Standard – Infrequent Access (IA)

A

Suitable for data that is less frequently accessed, but requires rapid access when needed

High Durability across multiple AZ

Disaster Recovery and backups

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

S3 One Zone - Infrequent Access (IA)

A

Same as S3 Standard IA instead in a single AZ

17
Q

S3 Intelligent Tiering

A

Automatically moves objects between two access tiers based on changing access patterns

18
Q

Amazon Glacier

A

Low cost object storage meant for archiving / backup

- Data is retained for the longer term (10s of years)

19
Q

Glacier Deep Archive

A

Longer storage than Amazon Glacier

20
Q

S3 Lifecycle Rules

A
Transition actions: It defines when objects are transitioned to another storage class
• Move objects to Standard IA class 60 days after creation
• Move to Glacier for archiving after 6 months

Expiration actions: configure objects to expire (delete) after some time

21
Q

S3 Multi-Part upload

A

Upload large file in parallel chunks

22
Q

S3 Transfer Acceleration

A

Transfer files to an AWS edge location which will then forward the data to the S3 bucket

23
Q

S3 Byte-Range Fetches

A

Parallelize GETs by requesting specific byte ranges

24
Q

S3 Select & Glacier Select

A

Retrieve less data using SQL by performing server side filtering

25
Q

S3 Event Notifications

A

Events triggered when actions are performed on an S2 bucket

26
Q

AWS Athena

A

Serverless service to perform analytics directly against S3 files

Use case: Business intelligence / analytics / reporting, analyze & query

27
Q

S3/Glacier Object Lock

A

Prevent object version deletion for a specified amount of time

Helpful for compliance and data retention

28
Q

S3 - Consistency Model

A

If a user updates an existing object, it will eventually be consistent meaning you might get an older version of the data