
Answer-first summary for fast verification
Answer: Route the logs to a single region Cloud Storage bucket with the archive storage class.
Option C is the most cost-effective solution for storing logs for 7 years due to the lower costs associated with single-region archive storage class buckets. Option A is incorrect because it's an expensive option. Option B is not suitable as BigQuery is primarily designed for analytics, not long-term storage. Option D is more expensive than a single-region archive storage class bucket. For more details, refer to Google Cloud's documentation on [log routing](https://cloud.google.com/logging/docs/routing/overview) and [storage classes](https://cloud.google.com/storage/docs/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 these 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 single region Cloud Storage bucket with the archive storage class.
D
Route the logs to a multi-region Cloud Storage bucket with standard storage class.