S3 Versioning & Delete Flashcards

1
Q

What is S3 Object Versioning and how is it enabled?

A

S3 Object Versioning is a feature that keeps multiple variants of an object within the same bucket. This allows you to preserve, retrieve, and restore every version of every object stored in your S3 bucket. It is enabled through the bucket settings in the S3 console or via the S3 API.

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

How does S3 Object Versioning protect against accidental deletion?

A

With S3 Object Versioning, if an object is deleted, S3 inserts a delete marker rather than actually deleting the object. You can recover the object by deleting the delete marker. For versions that are deleted, a version ID of the delete marker is provided, making it possible to restore the version.

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

What is MFA Delete in Amazon S3, and how does it enhance security?

A

MFA Delete is a feature that requires multi-factor authentication (MFA) to permanently delete an object version or to change the versioning state of the bucket. This adds an additional layer of security by requiring a second form of authentication before a user can delete S3 object versions.

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

How can you enable MFA Delete on an S3 bucket?

A

MFA Delete can only be enabled using the AWS Command Line Interface (CLI) or AWS SDKs. It cannot be enabled through the AWS Management Console. Additionally, MFA Delete can be enabled only if versioning is enabled on the bucket.

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

Is it possible to enable MFA Delete on an S3 bucket without enabling S3 Object Versioning?

A

No, it is not possible. MFA Delete can only be enabled on a bucket where S3 Object Versioning is already enabled. Versioning must be active for MFA Delete to function because it specifically applies to the deletion of object versions.

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

How does enabling Object Versioning impact storage costs?

A

Enabling Object Versioning in S3 increases storage costs, as it stores multiple versions of an object. Each version of an object is stored and billed as an individual object, leading to an increase in storage usage and accordingly, storage costs.

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

Can you disable S3 Object Versioning once it has been enabled?

A

You cannot fully disable Object Versioning once it has been enabled on an S3 bucket. You can only suspend it. Once suspended, new objects added to the bucket are not versioned, but previously versioned objects maintain their versions.

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

What happens to existing object versions if Object Versioning is suspended on an S3 Bucket?

A

Suspending Object Versioning does not affect existing object versions. They remain stored in the bucket and accessible by their version ID. Only new objects added while versioning is suspended are not versioned.

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

How can S3 Object Versioning affect data retrieval costs?

A

If you access or retrieve non-current versions of objects from your S3 bucket, there might be additional data retrieval costs, especially if the retrieved version is stored in a storage class like Glacier or Glacier Deep Archive.

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

What are the benefits of using S3 Object Versioning?

A

Benefits of using S3 Object Versioning include the ability to recover from accidental deletions or overwrites, archive older versions of objects, and enhance data protection and compliance by preserving every version of every object in your S3 bucket.

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