AWS S3 Flashcards

S3 core parts

1
Q

What are S3 standard properties?

A
Versioning
Server Access Logging
Static website hosting
Object level logging
Default encryption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are S3 advanced properties?

A
Object lock
Tags
Transfer Acceleration
Events
Requester Pays
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are versioning states?

A

Unversioned - default
Versioning enabled
Versioning suspended

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

How can versioning be removed?

A

Versioning cannot be removed. Once enabled it cannot be disabled but can be suspended. The old versions will remain and no new versions will be created in suspended state

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

What is the version of the objects that have uploaded before the versioning have been enabled?

A

Null

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

What happens when a versioned object is deleted?

A

All versions stay. A new version is created with ‘delete marker’. This ensures no object is returned when a GET request on the document is issued

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

What is the guarantee of Server Access Logging?

A

No guarantee. It is executed on a best effort basis

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

What inputs have to be provided to enable Server Access Logging?

A

Target Bucket

Prefix

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

Can I have target bucket in a different region?

A

No

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

Static web Hosting? Does it support HTTPS?

A

No. Only http. Bucket and contents must be marked as public. No Requester Pays

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

How to enable public access to contents in your bucket?

A

Through setting a bucket policy

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

What are the steps to Static Website Hosting?

A

Enable static website hosting
Add index.html file
Enable bucket for public access
Add bucket policy to access bucket contents

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

Which other AWS service is S3 object level logging closely related?

A

AWS CloudTrail

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

What is Default Encryption?

A

Encrypt objects uploaded to bucket

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

What happens to object uploaded prior to enabling default encryption?

A

They remain unencrypted

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

What options are provided in default encryption?

A

AES-256 => SSE-S3

KMS

17
Q

When can object lock be enabled?

A

During creation time only

18
Q

What other S3 feature should be enabled to enable object lock?

A

Versioning

19
Q

How do I disable object lock?

A

Can’t be disabled

20
Q

What are the object lock retention modes?

A

Governance mode

Compliance mode

21
Q

What is the key difference between the governance mode and compliance mode?

A

Nobody can delete an object under compliance mode. Not even the root user during the retention period

22
Q

Can I delete an object whose retention period has expired but has a legal hold on it?

A

No. Only when the legal hold has been removed

23
Q

What are tags?

A

Tags are used to categorization. Also called cost allocation tags. Can be enabled in billing for reporting

24
Q

Which AWS service does Transfer Acceleration use?

A

AWS CloudFront

25
Q

For Transfer Acceleration to work what feature should your bucket name adhere to?

A

It should be DNS compliant

26
Q

Which S3 operation Transfer Acceleration does not support?

A

GET service (list bucket)
PUT Bucket (create bucket)
DELETE Bucket
Cross Region copies using PUT Object

27
Q

Where can S3 events be sent?

A

Lambda function
SNS Topic
SQS Queue

28
Q

Which part of the cost is borne by the owner and which part by the Requester?

A

Owner - Storage

Requester - Requests, Data transfer

29
Q

What types of HTTP requests are paid by the requester?

A

POST
GET
HEAD

30
Q

What HTTP header key should be part of the GET request for requester pay enabled bucket?

A

x-amz-requester-payer>