
Answer-first summary for fast verification
Answer: Create a Cloud Storage lifecycle rule with Age: 30, Storage Class: Standard, and Action: Set to Coldline, and a second rule with Age: 365, Storage Class: Coldline, and Action: Delete.
The correct answer is A, as it involves two necessary actions: archiving after 30 days by setting the storage class to Coldline, and deleting the data after a year with the delete action set at 365 days. The Age condition is based on the object's creation time, not its modification time. Options C and D are incorrect because Nearline is not suitable for archival purposes. Option B is incorrect because the deletion age should be 365 days, not 275, relative to the object's creation date.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has decided to store data files in Cloud Storage, starting with a regional bucket. You need to configure Cloud Storage lifecycle rules to archive the data after 30 days and delete it after a year. Which two actions should you take?
A
Create a Cloud Storage lifecycle rule with Age: 30, Storage Class: Standard, and Action: Set to Coldline, and a second rule with Age: 365, Storage Class: Coldline, and Action: Delete.
B
Create a Cloud Storage lifecycle rule with Age: 30, Storage Class: Standard, and Action: Set to Coldline, and a second rule with Age: 275, Storage Class: Coldline, and Action: Delete.
C
Create a Cloud Storage lifecycle rule with Age: 30, Storage Class: Standard, and Action: Set to Nearline, and a second rule with Age: 365, Storage Class: Nearline, and Action: Delete.
D
Create a Cloud Storage lifecycle rule with Age: 30, Storage Class: Standard, and Action: Set to Nearline, and a second rule with Age: 275, Storage Class: Nearline, and Action: Delete.
No comments yet.