
Answer-first summary for fast verification
Answer: Use the Bucket Lock feature to set the retention policy on the data., Create a lifecycle management policy to set the storage class to Coldline for objects older than 14 days.
The requirements include storing data for 7 years, frequent access for the first two weeks, annual access afterward, and minimizing costs. Bucket Lock (A) ensures data retention for exactly 7 years by enforcing a time-based retention policy, preventing deletion before the period ends. Creating a lifecycle management policy to set the storage class to Coldline for objects older than 14 days (D) minimizes costs by automatically transitioning objects to Coldline Storage after 14 days, which is cheaper than Nearline for data accessed annually. These options together meet the requirements efficiently without unnecessary maintenance or higher costs associated with other options.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You've developed a web app that transfers daily logs to a Cloud Storage bucket. Authenticated users frequently access logs from the last 14 days for critical events, while external auditors review logs annually. Data must be retained for at least 7 years. Which two storage solutions would meet these requirements while minimizing costs?
A
Use the Bucket Lock feature to set the retention policy on the data.
B
Run a scheduled job to set the storage class to Coldline for objects older than 14 days.
C
Create a JSON Web Token (JWT) for users needing access to the Coldline storage buckets.
D
Create a lifecycle management policy to set the storage class to Coldline for objects older than 14 days.
E
Create a lifecycle management policy to set the storage class to Nearline for objects older than 14 days.
No comments yet.