GCP ACE · Question 36 · Domain 4.4: Managing storage and database solutions
You have a Cloud Storage bucket containing millions of images. You want to automatically transition images older than 90 days to Nearline storage to save costs, and delete images older than 365 days.
What is the MOST efficient way to implement this?
Answer options:
Write a Cloud Function triggered by a Cloud Scheduler job to run a gsutil script daily.
Configure an Object Lifecycle Management policy on the bucket.
Use the Storage Transfer Service to move old files to a new Nearline bucket.
Manually run 'gsutil rewrite' commands every month.
50 questions · hints · full answers · grading