
Answer-first summary for fast verification
Answer: Route the logs to a single region Cloud Storage bucket with the archive storage class.
The correct answer is to route the logs to a single region Cloud Storage bucket with the archive storage class, as it is the most cost-effective option for long-term storage. Other options are less optimal: updating the retention policy on the _Default log bucket does not address cost-effectiveness; BigQuery is suited for analytics rather than long-term storage; and a multi-region standard storage class bucket is more expensive than a single-region archive storage class bucket. For more details, refer to: Routing and storage Storage classes.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
As a DevOps Engineer in a Finance company managing the Cloud Landscape, you oversee several applications on GKE clusters that write logs to Cloud Logging. With a legal requirement to store logs for 7 years, what is the most cost-effective storage solution?
A
Update the retention policy on the _Default log bucket to 7 years.
B
Route the logs from Cloud Logging to BigQuery.
C
Route the logs to a multi-region Cloud Storage bucket with standard storage class.
D
Route the logs to a single region Cloud Storage bucket with the archive storage class.