DVA-C02 · Question #566
DVA-C02 Question #566: Real Exam Question with Answer & Explanation
The correct answer is B: Configure an S3 Lifecycle rule to retain one newer noncurrent version of the objects.. Amazon S3 Lifecycle policies allow you to automate the management of object versions. By configuring a lifecycle rule, you can specify that only the current version and the most recent noncurrent version (the previous version) of each object should be retained. This effectively m
Question
A company stores data in an Amazon S3 bucket. The data is updated multiple times every day from an application that runs on a server in the company's on-premises data center. The company enables S3 Versioning on the S3 bucket. After some time, the company observes multiple versions of the same objects in the S3 bucket. The company needs the S3 bucket to keep the current version of each object and the version immediately previous to the current version. Which solution will meet these requirements?
Options
- AConfigure an S3 bucket policy to retain one newer noncurrent version of the objects.
- BConfigure an S3 Lifecycle rule to retain one newer noncurrent version of the objects.
- CEnable S3 Object Lock. Configure an S3 Object Lock policy to retain one newer noncurrent
- DSuspend S3 Versioning. Modify the application code to check the number of object versions
Explanation
Amazon S3 Lifecycle policies allow you to automate the management of object versions. By configuring a lifecycle rule, you can specify that only the current version and the most recent noncurrent version (the previous version) of each object should be retained. This effectively manages version retention according to the company's requirements. You can use transitions and expiration actions in the lifecycle configuration to automatically delete older versions after retaining the desired ones.
Community Discussion
No community discussion yet for this question.