
Answer-first summary for fast verification
Answer: Implement a lifecycle policy to transition objects older than a week to Nearline storage.
The correct answer is **D** because Nearline storage is cost-effective for files accessed less frequently, such as once a month, while still providing quick access when needed. Object Lifecycle Management simplifies the transition process without requiring manual intervention. Coldline storage (Option C) is less suitable due to its higher retrieval costs and longer access times, making it overkill for monthly access needs. Options A and B involve unnecessary complexity by using Cloud Functions for a task that Lifecycle Management handles more efficiently.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
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 potential monthly reference. What is the most efficient method to reduce storage costs with minimal steps?
A
Create a Cloud Function that triggers upon object addition to a bucket, checks the file dates, and moves files older than a week to Nearline storage.
B
Create a Cloud Function that triggers upon object addition to a bucket, checks the file dates, and moves files older than a week to Coldline storage.
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.
No comments yet.