Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


To optimize ongoing Cloud Storage spend by removing backup files older than 90 days from your backup Cloud Storage bucket, which approach should you take?




Explanation:

The correct answer is B because Cloud Storage supports automatically managing the lifecycle of objects using a JSON document that defines the rules. This method is efficient and directly supported by gsutil. Option A is incorrect because XML is not supported by gsutil for lifecycle configurations; it only works with direct REST APIs. Options C and D are not recommended because manually listing objects, calculating their age, and then deleting them is cumbersome and less efficient than using lifecycle management rules.