QuestionQ47

Data Management

You manage a Cloud Storage bucket that holds temporary files generated during data processing. The temporary files are required for only seven days and are no longer needed afterward. To lower storage costs and keep the bucket organized, you want these files deleted automatically once they are more than seven days old. What should you do?

Explanation

A Cloud Storage lifecycle rule can apply a Delete action when an object reaches a specified age. An age condition of seven days automatically removes the temporary objects, providing the required retention period without operating scheduled Cloud Run, Dataflow, or Cloud Scheduler workloads.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!