S3 Flashcards

1
Q

What happens when you encrypt an object in S3?

A

It creates a new version of the object, which is encrypted. An old unencrypted version still exists

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

What is MFA Delete and what is it used for?

A

It is Multi-Factor Auth Delete and it is used to prevent accidental deletes.

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

What 2 things do you need MFA Delete to do?

A
  • permanently delete an object

- suspend versioning on an object

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

How do you enable MFA Delete?

A

The root account owner must enable it via the CLI

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

What is the new way to enable encryption in S3?

A

Use the Console to enable default encryption

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

What was the old way to enable encryption in S3?

A

Set the “x-amz-server-side-encrption:AES256”

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

How do you calculate the total number of IP addresses of a given CIDR Block

A

Subtract the mask number from 32, then raise 2 to the power of the result:
/27 = 32 - 27 = 5
2^5 = 32

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

What are the 5 steps of S3 cross region replication?

A
Select Bucket Replication tab
Select Source/Destination buckets
Make sure Versioning is enabled
Assign/Create IAM role
Copy previous files to the destination using command-line
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the default timeout for S3 pre-signed URLs?

A

3600 seconds (1 hour)

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

How can you change the pre-signed URL timeout?

A

Use the –expires-in [seconds] argument

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

What are 3 examples of why you would use a pre-signed URL?

A
  • Allow logged in users to download premium content from a bucket
  • You want to generate URLs dynamically for an ever-changing list of users
  • Allow temp access to a bucket
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you make sure your generated URL is compatible with KMS?

A

Run “aws configure set default.s3.signature_version s3v4”

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

Using the CLI, how do you generate a pre-signed URL?

A

Run “aws s3 presign s3://bucket/file –expires-in 300 –region us-east-1”

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

What 3 services does Cloudfront work with?

A
  • S3
  • EC2
  • Load Balancing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Cloudfront Origin Access Identity

A

A Special Cloudfront user associated with your distribution

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

What is the availability of S3, S3-IA and S3-RRS?

A

99.99%

17
Q

What is the availability of S3 One-Zone IA?

A

99.5%

18
Q

What are the 4 storage tiers of S3?

A

S3 standard
S3 IA
S3 IA-One Zone
Glacier

19
Q

Whats is the S3 durability?

A

99.999999999%

20
Q

What is S3 Analytics used for?

A

It is used to recommend what tier your data should be on

21
Q

What are items in Glacier called?

A

Archives

22
Q

What are Archives stored in?

A

Vaults

23
Q

What are the 3 Glacier retrieval options and how long do they take?

A
  • Expedited (1 - 5 minutes)
  • Standard (3 - 5 hours)
  • Bulk (5 - 12 hours)
24
Q

What is a Lock Policy?

A

A policy you apply to a Vault that is immutable and usually used for regulatory/compliance

25
Q

What is the WORM Policy?

A

Write once read many

26
Q

How would you implement the WORM Policy?

A

Apply a Lock Policy

27
Q

What are the 4 types of Storage Gateways?

A

File Gateway
Stored Volumes
Cached Volumes
Tape Gateway

28
Q

What is Storage Gateway?

A

It is a bridge between AWS S3 and on-premise data

29
Q

What storage Gateway would you use for Files?

A

File Gateway

30
Q

What Storage Gateway would you use for Block Storage iSCSI?

A

Volume Gateway

31
Q

What Storage Gateway would you use for Physical Tapes?

A

Tape Gateway