PROFESSIONAL-CLOUD-DEVELOPER · Question #249
You recently developed a web application to transfer log data to a Cloud Storage bucket daily. Authenticated users will regularly review logs from the prior two weeks for critical events. After that,
The correct answer is A. Use the Bucket Lock feature to set the retention policy on the data. D. Create a lifecycle management policy to set the storage class to Coldline for objects older than 14. Two actions are needed: enforce the 7-year retention requirement and minimize storage costs after the 2-week active review period. (A) Bucket Lock with a retention policy ensures objects cannot be deleted or overwritten before the 7-year minimum retention period expires - this sa
Question
You recently developed a web application to transfer log data to a Cloud Storage bucket daily. Authenticated users will regularly review logs from the prior two weeks for critical events. After that, logs will be reviewed once annually by an external auditor. Data must be stored for a period of no less than 7 years. You want to propose a storage solution that meets these requirements and minimizes costs. What should you do? (Choose two.)
Options
- AUse the Bucket Lock feature to set the retention policy on the data.
- BRun a scheduled job to set the storage class to Coldline for objects older than 14 days.
- CCreate a JSON Web Token (JWT) for users needing access to the Coldline storage buckets.
- DCreate a lifecycle management policy to set the storage class to Coldline for objects older than 14
- ECreate a lifecycle management policy to set the storage class to Nearline for objects older than
How the community answered
(40 responses)- A85% (34)
- B3% (1)
- C3% (1)
- E10% (4)
Explanation
Two actions are needed: enforce the 7-year retention requirement and minimize storage costs after the 2-week active review period. (A) Bucket Lock with a retention policy ensures objects cannot be deleted or overwritten before the 7-year minimum retention period expires - this satisfies the regulatory requirement. (D) A lifecycle management policy that transitions objects to Coldline storage after 14 days automates cost reduction: Coldline is designed for data accessed at most once a year, matching the annual auditor review pattern. Option B (scheduled job) is a manual, error-prone alternative to lifecycle policies. Option C (JWT for Coldline) is irrelevant to the storage solution. Option E (Nearline) is designed for monthly access frequency, which costs more than Coldline for data accessed only once a year.
Topics
Community Discussion
No community discussion yet for this question.