AWS Certified Sysops Administrator Associate · Free Practice Question Medium

Question 25

An application has been deployed that stores configuration files in an Amazon S3 bucket. A history of revisions of the configuration files must be maintained in case a rollback is required.

How can a SysOps Administrator configure the S3 bucket to meet these requirements?

  • A

    Enable cross-origin resource sharing on the S3 bucket.

  • B

    Enable a lifecycle policy on the S3 bucket.

  • C

    Enable versioning on the S3 bucket.

  • D

    Enable object tagging on the S3 bucket.

Reveal correct answer

Correct answer: C

Explanation

Versioning is a means of keeping multiple variants of an object in the same bucket. You can use versioning to preserve, retrieve, and restore every version of every object stored in your Amazon S3 bucket.

With versioning, you can easily recover from both unintended user actions and application failures. When you enable versioning for a bucket, if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all of the objects.

CORRECT: "Enable versioning on the S3 bucket" is the correct answer.

INCORRECT: "Enable a lifecycle policy on the S3 bucket" is incorrect. Lifecycle policies are used to move data between different storage classes, they do not retain copies of versions of files.

INCORRECT: "Enable cross-origin resource sharing on the S3 bucket" is incorrect. CORS is not related to retaining copies of versions of an object on S3.

INCORRECT: "Enable object tagging on the S3 bucket" is incorrect. Tagging adds metadata to your objects, it does not assist with retaining versions.

References:

https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html

Save time with our AWS cheat sheets:

https://digitalcloud.training/amazon-s3-and-glacier/

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need