
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.
✅ **A** is correct because it accurately sets up the data to be moved to Coldline after 30 days for archival purposes and deletes it after 365 days, meeting the requirement for long-term archival and eventual deletion. - **Rule 1 (Move to Coldline):** After 30 days in Standard, data moves to Coldline, suitable for archival. - **Rule 2 (Delete):** After 365 days in Coldline, data is deleted, fulfilling the requirement. ❌ **B** uses Nearline, which is less suitable for long-term archival compared to Coldline. ❌ **C** and **D** both incorrectly set the deletion age to 275 days, prematurely deleting the data before the intended one-year period.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company plans to store data files in Cloud Storage, starting with a regional bucket. You're tasked with setting up Cloud Storage lifecycle rules to archive the data after 30 days and delete it after a year. What are the two correct actions to achieve this?
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 Nearline, and a second rule with Age: 365, Storage Class: Nearline, and Action: Delete.
C
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.
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.