Examtopics

Associate Data Practitioner
  • Topic 1 Question 5

    You manage a Cloud Storage bucket that stores temporary files created during data processing. These temporary files are only needed for seven days, after which they are no longer needed. To reduce storage costs and keep your bucket organized, you want to automatically delete these files once they are older than seven days. What should you do?

    • Set up a Cloud Scheduler job that invokes a weekly Cloud Run function to delete files older than seven days.

    • Configure a Cloud Storage lifecycle rule that automatically deletes objects older than seven days.

    • Develop a batch process using Dataflow that runs weekly and deletes files based on their age.

    • Create a Cloud Run function that runs daily and deletes files older than seven days.


    シャッフルモード