S3 - MFA Delete/Access Logs/Glacier Vault Lock & Object Lock Flashcards

1
Q

What is the primary purpose of MFA Delete?

A

To provide extra protection against the permanent deletion of object versions and to prevent accidental or malicious changes to Versioning settings.

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

Who can enable or disable MFA Delete on a bucket?

A

Only the bucket owner (root account) can enable or disable MFA Delete.

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

What must be enabled on a bucket to use MFA Delete?

A

Versioning must be enabled on the bucket.

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

When is MFA required in Amazon S3 when MFA Delete is enabled?

A

Permanently deleting an object version.
Suspending Versioning on a bucket.

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

What is the purpose of S3 Access Logs?

A

To log all requests made to an S3 bucket, whether authorized or denied, for audit and analysis purposes.

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

Where are S3 Access Logs stored?

A

In a separate S3 bucket (called the logging bucket) in the same AWS region.

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

What can you use to analyze S3 Access Logs?

A

You can analyze the logs using tools like Amazon Athena.

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

What is a critical warning about the logging bucket?

A

Never set the logging bucket to be the same as the monitored bucket, as this will create an infinite logging loop and significantly increase costs.

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

What is a pre-signed URL for S3?

A

Users are given a URL which inherits the permissions of the user that generated the URL. This is so they can access objects within the bucket. You can enable from 1-720 minutes.

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

What is the purpose of S3 Glacier Vault Lock?

A

To enforce a Write Once Read Many (WORM) model by locking Glacier Vaults, preventing objects from being modified or deleted.

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

How do you enable S3 Glacier Vault Lock?

A

Create a Vault Lock Policy.
Lock the policy to prevent future edits.

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

What are the key benefits of S3 Glacier Vault Lock?

A

Ensures compliance and data retention.
Prevents objects from being deleted or modified by any user, including administrators.

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

What is S3 Object Lock, and how does it differ from Glacier Vault Lock?

A

S3 Object Lock applies at the object level, not the bucket level.
Supports a WORM model for individual object versions.

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

What must be enabled on a bucket to use S3 Object Lock?

A

Versioning must be enabled.

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

What are the two retention modes for S3 Object Lock?

A

Compliance Mode:
Object versions cannot be deleted or overwritten by any user, including the root user.
Retention modes and periods cannot be changed or shortened.

Governance Mode:
Most users cannot delete or overwrite object versions.
Admins with special IAM permissions can modify retention settings or delete objects.

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

What is the purpose of a retention period in S3 Object Lock?

A

To specify the duration during which an object version is protected from deletion or modification.

17
Q

Can the retention period for S3 Object Lock be extended?

A

Yes, the retention period can be extended.

18
Q

What is a legal hold in S3 Object Lock?

A

A legal hold protects an object indefinitely, independent of retention mode or period.
Used for legal or compliance purposes.

19
Q

Who can manage legal holds on S3 objects?

A

Users with the S3 PutObjectLegalHold IAM permission can place or remove legal holds.

20
Q

What is the difference between retention modes and legal holds in S3 Object Lock?

A

Retention Modes: Protect objects for a specified period based on compliance or governance rules.
Legal Holds: Protect objects indefinitely, overriding retention periods.