Object Versioning and MFA delete Flashcards
Where can you control object versioning in S3?
At bucket level
What are the states and transitions of the versioning feature in S3?
3 states:
disabled -> enabled suspended
How are objects identified without versioning?
By the object key (name)
What is the value of the Object ID when versioning is disabled?
Null
What happens when an object is modified and versioning is disabled?
The object original object is replaced
Is versioning enabled by default?
No.
Can versioning be turned off?
No, once enabled, you can pause it or disable it temporarily
What is the value of the Object ID with versioning?
It is a unique identifier of the version of the object and it is not null
What happens when an object is modified with versioning?
A new object is created with a new ID
How is storage consumed with versioning?
All the versions of an object occupy disk space.
How can you achieve to reduce costs to 0 when your bucket has versioning enabled?
The only way how to achieve 0 costs is by deleting the bucket
What does S3 return when you fetch an object without explicitly mentioning the version?
It returns the latest version or current version.
What happens when an object is deleted?
AWS puts a delete marker on the object and hides all the previous versions (visually looks deleted)
Can you restore a removed object (with versioning enabled)?
Yes, the delete marker needs to be deleted.
How can you delete an object when having versioning?
Delete all the versions of that object using the delete marker.