Object Versioning and MFA delete Flashcards

1
Q

Where can you control object versioning in S3?

A

At bucket level

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

What are the states and transitions of the versioning feature in S3?

A

3 states:

disabled -> enabled suspended

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

How are objects identified without versioning?

A

By the object key (name)

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

What is the value of the Object ID when versioning is disabled?

A

Null

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

What happens when an object is modified and versioning is disabled?

A

The object original object is replaced

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

Is versioning enabled by default?

A

No.

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

Can versioning be turned off?

A

No, once enabled, you can pause it or disable it temporarily

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

What is the value of the Object ID with versioning?

A

It is a unique identifier of the version of the object and it is not null

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

What happens when an object is modified with versioning?

A

A new object is created with a new ID

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

How is storage consumed with versioning?

A

All the versions of an object occupy disk space.

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

How can you achieve to reduce costs to 0 when your bucket has versioning enabled?

A

The only way how to achieve 0 costs is by deleting the bucket

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

What does S3 return when you fetch an object without explicitly mentioning the version?

A

It returns the latest version or current version.

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

What happens when an object is deleted?

A

AWS puts a delete marker on the object and hides all the previous versions (visually looks deleted)

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

Can you restore a removed object (with versioning enabled)?

A

Yes, the delete marker needs to be deleted.

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

How can you delete an object when having versioning?

A

Delete all the versions of that object using the delete marker.

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

Can you enable any extra security features to avoid deleting objects by mistake?

A

Yes, MFA delete can be enabled and it will be requested to delete versions of an object. Only when versioning is enabled.