You are creating a solution to remove backup files older than 90 days from your backup Cloud Storage bucket. You want to optimize ongoing Cloud Storage spend. What should you do?
A.
Write a lifecycle management rule in XML and push it to the bucket with gsutil.
B.
Write a lifecycle management rule in JSON and push it to the bucket with gsutil.
C.
Schedule a cron script using gsutil is -lr gs://backups/** to find and remove items older than 90 days.
D.
Schedule a cron script using gsutil ls -1 gs://backups/** to find and remove items older than 90 days and schedule it with cron.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit