S3 Object Versioning Flashcards
When versioning is disabled Version ID will be
null.
Deleting an object with a specific version ID
Will delete the specific version of the object version and the most recent version will be updated.
What happens if we delete an object without specifying version ID?
A new object version is created as delete marker, which will essentially hide all the versions of the objects.
Once deleted all the object versions are restored.
Without versioning how changes occur on an object
When we modify or delete an object then the changes are overwritten.
Latest or Current Version of the object
Most recent or current version of a specific object on a bucket level.
If version ID is not specified for a action on an object, then
Latest version of the object is used for the desired actions preferred by the user.
MFA Delete Config Setup
Enabled along with Versioning config on bucket level
By default versioning is
disabled
What is object versioning
Creating multiple versions of the same object with overwriting
How to access a specific version of an object ?
Version ID
States of Object Versioning
Enabled or suspended on bucket level but cannot be disabled and still charged even when suspended for existing version in the bucket.
Hence delete the bucket for no charges.
State of MFA
Enabled along with versioning config and once enabled, MFA is required to change bucket versioning state (enabled to suspend, vice versa and deleting or modifying an object)
MFA Code Format
Series of code (MFA) + Code passed along with api call.