
Explanation:
The correct answer is D because Nearline storage is cost-effective for files accessed once a month, aligning with the team's needs. Object Lifecycle Management simplifies the transition process. Coldline storage (Option C) is less cost-effective for monthly access. Options A and B are inefficient as lifecycle management automates transitions without the need for Cloud Functions.
Ultimate access to all questions.
No comments yet.
Your data team is developing new machine learning models and generates several files daily, storing them in a regional bucket. They primarily access files from the last week but wish to retain all files for occasional monthly reference. What is the most efficient method to reduce storage costs?
A
Create a Cloud Function that triggers upon object addition to a bucket, checking file dates and moving them to Nearline storage if older than a week.
B
Create a Cloud Function that triggers upon object addition to a bucket, checking file dates and moving them to Coldline storage if older than a week.
C
Implement a lifecycle policy to transition objects older than a week to Coldline storage.
D
Implement a lifecycle policy to transition objects older than a week to Nearline storage.