
Answer-first summary for fast verification
Answer: Use Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 365 days.
The correct answer is B. Cloud Storage Object Lifecycle Management allows you to define rules to automatically transition objects to different storage classes or delete them based on age conditions. The Age condition is measured from the object's creation time. Therefore, you don't need to recalculate the time needed for deletion after a year. Set the 'SetStorageClass' action to 90 days and the 'Delete' action to 365 days, as the age is calculated from the original creation date.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a Google Associate Cloud Engineer, you are tasked with managing the lifecycle of video files stored in a Cloud Storage Regional bucket. Your objective is to optimize storage costs by implementing a lifecycle policy that transitions these video files to a more cost-effective storage class and eventually deletes them. Specifically, you need to configure a policy that automatically moves videos to Coldline storage after 90 days and deletes them one year after their creation date. How should you configure this lifecycle policy to achieve the desired outcome?
A
Use Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 275 days (365-90).
B
Use Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 365 days.
C
Use gsutil rewrite and set the Delete action to 275 days (365-90).
D
Use gsutil rewrite and set the Delete action to 365 days.
No comments yet.