GCP ACE · Question 38 · Domain 4.4: Managing storage and database solutions
You need to optimize costs for a Cloud Storage bucket used for backups. You want objects to automatically transition to the Coldline storage class 30 days after they are created, and then be permanently deleted 365 days after creation.
Which TWO Object Lifecycle Management rules should you configure? (Select TWO)
Answer options:
Action: SetStorageClass to Coldline, Condition: Age = 30 days
Action: Delete, Condition: Age = 365 days
Action: SetStorageClass to Coldline, Condition: CreatedBefore = 30 days
Action: Delete, Condition: MatchesStorageClass = Standard
Use Cloud Scheduler to run a Cloud Function daily to delete old objects
50 questions · hints · full answers · grading