S3 Flashcards

1
Q

What is Simple Storage Service (S3)?

A

An object-based storage. Store unlimited data without worry of underlying storage infrastructure

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

Across how many AZs is the data replicated across?

A

3 to ensure 99.99% availability and 11’ 9’s of durability

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

What can objects contain?

A

any type of data

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

What are the size limits for Objects

A

“0 Bytes up to 5 Terabytes
up to 5GB in a single PUT
for larger objects use Multipart upload”

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

What can Buckets contain?

A

objects and folders

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

What are the naming rules for S3 buckets?

A

They must be unique across all AWS accounts

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

What status code do you get from a succesful upload to an S3 bucket?

A

HTTP 200 code

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

What is the Lifecycle Management feature

A

Automatically deletes or moves objects between storage classes based on a schedule

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

What is the Versioning feature

A

“Objects are given a Version ID
Old objects are not removed upon upload of new objects
Old objects can be accessed via their Version ID
Deleting a newer version object restores the previous version
Once Versioning is activated it cannot be turned off only suspended”

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

What is the MFA Delete feature?

A

“Multi-Factor Authentication Delete
Delete operations require MFA token
Versioning must be turned on
MFA delete function can only be activated via the AWS CLI
Root account is allowed to delete objects”

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

What is the default bucket public access setting?

A

Private

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

What logging options do S3 buckets have?

A

“CloudTrail
Object-level logging to track operations performed on objects
CloudWatch
Monitor requests in your bucket”

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

Where do you configure a buckets Access control?

A

“Bucket Policies requiring a JSON

Access Control Lists(ACL) GUI”

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

Bucket Policy vs ACL

A

“Bucket Policies are complex and allow more customization

ACL’s are simplified and offer limited customization”

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

What is the SSE feature? How many options does SSE offer?

A

“Server Side Encryption

currently 3 options”

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

SSE-AES vs SSE-KMS vs SSE-C

A

“SSE-AES
AWS handles the key and uses Advanced Encryption Standard(AES)-256 algorithm
SSE-KMS
Envelope encryption via AWS Key Management System(KMS) managed by you
SSE-C
Customer provided key (you manage the keys)”

17
Q

What is Client-Side Encryption?

A

“The practice of encrypting files before uploading them to the S3
This is not a feature just a common practice”

18
Q

What is the Cross Region Replication (CRR) feature?

A

“Allows replication across regions for greater durability
Must have Versioning turned on
Can have CRR replicate to a bucket in another AWS account”

19
Q

What is the Transfer Acceleration feature?

A

“Provides faster and more secure uploads from anywhere in the world
Data is uploaded via a distinct url to an Edge Location
(Edge Locations refer to the zone or region from which the end user accesses the service)
Data is transfered via the AWS backbone network”

20
Q

What is the Presigned Urls feature?

A

“A url is generated via the AWS CLI or SDK ot provide temporary access to write or download object data
This is a common way to provide access to private objects”

21
Q

What are an S3 bucket’s properties?

A
"Versioning
Server access logging 
Static website hosting
Object-level logging - using CloudTrail
Tags
Transfer accelerations
Events"
22
Q

What is the storage class feature?

A

An object level feature providing different storage options

23
Q

What are the storage class’s offered?

A
"Standard
Standard-IA(infrequent access)
Intelligent-Tiering
One Zone-IA
Glacier
Glacier Deep Archive"
24
Q

What is metadata?

A
"An object level feature providing system metadata.
    Date
    Content-Length
    x-amz-server-side-encryption
    x-amz-version-id
    x-amz-storage-class"
25
Q

What is the eventual consistency feature?

A

“Overwrite PUTS and DELETES remain in the bucket until the deletion is fully propagated
GETS could list an object before the PUT or DELETE takes place”

26
Q

What is read-after-write consistency?

A

“New objects added in US Standard region rule:
PUTS of new objects are immediatly accessable
unless HEAD or GET directly proceeds PUT of new object”

27
Q

system vs user meta data

A

“System - can only be altered by the system
User - can be altered by either the system or the user
All optional user-defined metadata names begin with x-amz-meta-“

28
Q

What feature do you need to enable for writing logs into an S3?

A

“public access to the bucket is not required

PutObject access for Log Delievery group”

29
Q

What is the Log Delivery Group?

A

A special delivery account provided by AWS that controls access restrictions when using logging

30
Q

What are valid url patterns for S3 buckets?

A

“Virtual hosted style - bucket.s3.aws-region.amazonaws.com

Path style - s3.aws-region.amazonaws.com/bucket”

31
Q

What is a delete-marker?

A

When using versioning if you delete an object the version is kept in record but is marked to indicate it should not be used as the current version

32
Q

How do you permenantly delete a version from an object?

A

You must specifically delete the object by VersionId

33
Q

glacier retrieval times

A

The vault lock and standard retrieval are standard with 3 to 5 our retrieval time. bulk retrievals which can be considered the cheapest option have a 5 to 12 our retrieval time. expedited retrievals allow access in 125 minutes for a flat rate of $0.03/gb

34
Q

OAI and permission best practice

A

Create and OAI user to associate with distribution and modify permission on S3 bucket using object ACL’s