
Ultimate access to all questions.
Your data team is developing new machine learning models and generates several output files daily, which they wish to store in a regional bucket. They are primarily interested in the output files from the last month and want to automatically clean up files older than a month. What is the most efficient method to implement this solution?
A
Create a Cloud Function triggered upon object addition to a bucket, which checks the file dates and moves them to Coldline storage if older than a month.
B
Implement a lifecycle policy to delete objects older than a month.
C
Set up a lifecycle policy to transition objects older than a month to Coldline storage.
D
Develop a Cloud Function that activates when objects are added to a bucket, examines the date on all files, and deletes those older than a month.