AWS S3 101 Flashcards

1
Q

S3 Description

A

Secure, durable, highly-scalable object storage.

Web service interface to store & retrieve any amount of data from anywhere on the web

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

Is S3 Object-Based?

A

Yes

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

Object-Based storage

A

S3 Storage
Not for file systems, booting
videos, flat-files, pictures, etc.
Flat files

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

Block-Based storage

A

EC2 storage

For file systems, booting

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

S3 File Size limits

A

0 bytes to 5 Terabytes

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

Is there unlimited storage?

A

yes

Amazon keeps adding storage

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

S3 is a universal namespace

A

names must be globally unique

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

Bucket Name Format

A

https: //s3-REGION.amazonaws.com/BUCKETNAME
https: //s3-eu-west-1.amazonaws.com/stevesbucket

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

HTTP response code for successful upload

A

HTTP 200

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

Data Consistency Model for S3 PUTS

A

Read after Write consistency for PUTS of new objects

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

S3 has atomic updates

A

You get new data or old data.

Don’t get partial or corrupted data

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

S3 is a key-value store

object based and objects consist of what?

A

Key - filename of object (salt if many files w/similar names)
Value - data of file
Version ID
Metadata
Subresources (2 types ACL’s and Torrent (bit torrent)

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

S3 Availability, as-built

A

Built for 99.99%

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

S3 Availability, guaranteed by Amazon (SLA)

A

99.9%

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

S3 Durability

A

eleven nines

99.999999999%

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

Lifecycle Management

A

Move data based on age to cheaper/slower/archival storage

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

Does S3 support versioning?

A

Yes

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

Does S3 support Encryption?

A

Yes

Multiple methods

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

Two ways to secure data in S3

A

Access Control Lists

Bucket Policies

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

S3 Storage Tier / Class: S3 Standard

A

99.99% Availability
eleven nines durability
stored redundantly across multiple devices in multiple facilities and can sustain loss of 2 facilities concurrently

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

S3 Storage Tier / Class: IA (infrequently accessed)

A
99.9% Availability
eleven nines durability
For data accessed infrequently but requires rapid access
Cheaper than S3
Charged retrieval fee
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

S3 Storage Tier / Class: RRS (Reduced Redundancy Storage)

A

99.99% Availability
99.99% Durability
Use for data that can be regenerated (thumbnails)

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

S3 Storage Tier / Class: Glacier

A
99.9% Availability (after restore)
eleven nines durability
Archival only
Takes 3-5 hours to restore
Very cheap, has retrieval fee
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What are you charged for with S3?

A
storage
requests
storage management pricing (tags)
data transfer pricing (moving data within S3, inter-region)
transfer acceleration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
S3 Transfer Acceleration
enables fast, easy, secure transfer of files over long distances between users and an S3 bucket. Utilizes global CLOUDFRONT edge locations, then gets routed to S3 over optimized path
26
Data consistency model for S3 overwrite puts and deletes
Eventual Consistency for OVERWRITE PUTS and DELETES | can take some time because changes propagate across the redundant storage
27
S3 Version, do you pay for each stored version?
Yes
28
What happens when you delete an object that has versioning enabled
It puts a delete marker on the object, but doesn't remove it
29
Can versioning be disabled?
No. Only suspended. Have to delete bucket to fully remove versioning
30
Does versioning integrate with lifecycle rules?
yes
31
Does versioning integrate with lifecycle management?
yes
32
Does cross-region replication require versioning?
yes
33
Does cross-region replication require versioning?
yes
34
Rules for transitioning to IA storage class
128Kb and 30 days after creation date
35
Rules for archiving to Glacier storage class
30 days after going to IA. | If not using IA, can go immediately after going into S3
36
Cloudfront edge location
where content is cached
37
Cloudfront origin
``` origin of all files the CDN will distribute Route 53 S3 bucket EC2 instance ELB ```
38
Cloudfront Distribution
Name of the CDN, consists of collection of edge locations
39
Web distribution
for websites
40
RTMP distributions
media streaming
41
Are edge locations read-only
no. | can write to them
42
How long are objects cached on Edge location
depends on the TTL | default is 24 hours
43
Are you charged for clearing cached objects at edge locations?
yes
44
What are the access controls on new buckets?
private
45
2 methods to secure buckets
Bucket Policies | Access Control Lists
46
Can you configure S3 buckets to create access logs?
yes. Send them to another bucket
47
Server side encryption (SSE) options
S3 managed keys: SSE-S3. Amazon managed keys. Uses AES 256 AWS KMS: SSE-KMS Like SSE-S3 but more options, more expensive Provides audit trail of key usage Customer Provided keys: SSE-C
48
File Gateway
Uses NFS | For storing flat files on S3
49
Volume Gateway - Stored Volumes
iSCSI storage. Block based storage Presents your apps with disk volumes using iSCSI 1GB - 16TB volume size Entire dataset stored on-site and asynchronously backed up to S3 Data can be stored as EBS snapshots
50
Volume Gateway - Cached Volumes
iSCSI storage. Block based storage. 1GB - 32TB volume size Entire dataset stored on S3. most frequently accessed data cached on site.
51
Gateway Virtual Tape Library (VTL)
Used for backups | iSCSI presentation to backup programs
52
Snowball Standard
Storage Starts at 50TB AES-256
53
Snowball Edge
Storage and compute (can run Lambda) | mini version of AWS data center
54
Snowmobile
100 Petabytes, in 40 foot trailer
55
S3 transfer acceleration
people upload to edge location, then it goes to S3
56
S3 transfer acceleration
people upload to edge location, then it goes to S3 Uses unique URL like bucketname.s3-accelerate.amazonaws.com
57
How to speed uploads to S3
use multipart upload
58
How to speed uploads to S3. Allows larger files.
use multipart upload
59
Default amount of buckets per account
100
60
Do individual objects inherit the bucket's tags?
No
61
What can you use MFA delete for in S3 versioning?
changing version state of your bucket | permanently deleting an object version
62
Are existing files in a bucket replicated automatically?
No. | All subsequent files replicate automatically
63
Are delete markers replicated?
yes
64
Can you replicate to multiple buckets?
No
65
Are individual versions or delete markers replicated?
No
66
Can you use Use Signed URLs or | Signed Cookies to restrict access to cloud front or S3?
Yes
67
Can ACL's apply to individual objects as well as buckets?
yes
68
Client Side encryption options
encrypt data yourself and upload to S3
69
AWS Storage Gateway
local software appliance that connects local IT environment to AWS storage
70
General Info on Volumes Gateway
Uses iSCSI Block Based Storage Could use for running Operating systems, databases, etc.
71
URL Format for static website in S3
yourbucketname.s3-website-yourregion.amazonaws.com
72
S3 Rate "limits"
100 PUT / LIST / DELETE requests per second 300 GETS per second S3 will autoscale but if you expect more than 300 and 800, contact support to prepare for workload
73
When to use S3 performance recommendations?
(for routinely > 100 requests per second)
74
What workloads do you use appropriate key names for, to ensure better performance?
mixed GET, PUT, DELETE or Get Bucket requests
75
What workloads do you use Cloudront CDN for, to improve perfomance?
when workload is mostly GET requests
76
What do you do with file names (key names) to improve performance?
Give files random names to avoid sequential key names ie salt them with a hex hash prefix
77
Why do sequential file names cause performance problems?
They can all get stored in the same index, and rapid operations can overwhelm that particular disk IO Randomizing them spreads out the workload
78
IAM Policies | Type of Access Control for accounts and users
AWS Account-Level Control - NO | User-Level Control - YES
79
ACL's | Type of Access Control for accounts and users
AWS Account-Level Control - YES | User-Level Control - NO
80
Bucket Policies | Type of Access Control for accounts and users
AWS Account-Level Control - YES | User-Level Control - YES