S3 Quiz
A company needs to store images that are uploaded by users via a mobile application. There is also a need to ensure that a security measure is in place to avoid the data loss.
What step should be taken for protection against unintended user actions?
A.
Store data in an EBS volume and create snapshots once a week.
B.
Store data in an S3 bucket and enable versioning.
C.
Store data in two S3 buckets in different AWS regions.
D.
Store data on EC2 instance storage.
B. Store data in an S3 bucket and enable versioning.
Amazon S3 has an option for versioning as shown below. Versioning is on the bucket level and can be used to recover prior versions of an object.
For more information on AWS S3 versioning, please visit the following URL:
https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html
Option A is invalid as it does not offer protection against accidental deletion of files.
Option C is invalid as S3 buckets are global.
Option D is ephemeral.