Section 15: Amazon S3 Security Flashcards

1
Q

Security feature that forces users to generate a code on a device before doing important operations on S3

A

S3 MFA Delete

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

Web browser based security mechanism that allows requests to other origins while visiting the main origin page

A

S3 Cross-Origin Resource Sharing (CORS)

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

True/False: Any admin account can update S3 MFA Delete settings on a bucket

A

False - Only the root account can configure this

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

Option that allows you to log all access to S3 buckets for audit purposes

A

S3 Access Logs

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

Feature that lets you create a URL that allows temporary access to files in S3 buckets

A

S3 Pre-Signed URLs

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

S3 Object lock mode that prevents object version from being overwritten or deleted by any user - including the root user

A

Compliance

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

S3 Object lock mode that prohibits most users from overwriting or deleting an object version

A

Governance

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

S3 Object lock mode that protects the object indefinitely, but can be placed and removed from this mode by certain users as needed

A

Legal Hold

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

Your client wants to make sure that file encryption is happening in S3, but he wants to fully manage the encryption keys and never store them in AWS. You recommend him to use…

A

SSE-C

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

A company you’re working for wants their data stored in S3 to be encrypted. They don’t mind the encryption keys stored and managed by AWS, but they want to maintain control over the rotation policy of the encryption keys. You recommend them to use…

A

SSE-KMS

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

Your company does not trust AWS for the encryption process and wants it to happen on the application. You recommend them to use…

A

Client-Side Encryption

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

You have a website that loads files from an S3 bucket. When you try the URL of the files directly in your Chrome browser it works, but when the website you’re visiting tries to load these files it doesn’t. What’s the problem?

A

CORS is wrong

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

Feature that defines a way for client web applications that are loaded in one domain to interact with resources in a different domain

A

Cross-Origin Resource Sharing (CORS)

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

You suspect that some of your employees try to access files in an S3 bucket that they don’t have access to. How can you verify this is indeed the case without them noticing?

A

Enable S3 Access Logs and analyze them using Athena

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

You are looking to provide temporary URLs to a growing list of federated users to allow them to perform a file upload on your S3 bucket to a specific location. What should you use?

A

S3 Pre-Signed URLs

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

For compliance reasons, your company has a policy mandate that database backups must be retained for 4 years. It shouldn’t be possible to erase them. What do you recommend?

A

Glacier Vaults with Glacier Lock Policies

17
Q

You would like all your files in an S3 bucket to be encrypted by default. What is the optimal way of achieving this?

A

Enable Default Encryption

18
Q

You have enabled versioning and want to be extra careful when it comes to deleting files on an S3 bucket. What should you enable to prevent accidental permanent deletions?

A

Enable MFA Delete

19
Q

A company has its data and files stored on some S3 buckets. Some of these files need to be kept for a predefined period of time and protected from being overwritten and deletion according to company compliance policy. Which S3 feature helps you in doing this?

A

S3 Object Lock - Compliance Mode

20
Q

Which S3 Object Lock configuration allows you to prevent an object or its versions from being overwritten or deleted indefinitely and gives you the ability to remove it manually?

A

Legal Hold

21
Q

True/False: In order to enforce object encryption, you can create an S3 bucket policy that denies any S3 Put request that does not include the x-amz-server-side-encryption header

A

True - The x-amz-server-side-encryption header tells S3 to encrypt the object using SSE-C, SSE-S3, or SSE-KMS.