Given that the finance department requires logs from a financial application to be retained for five years, rarely accessed but available within three days if needed, what is the most suitable storage recommendation?
- Archive the logs in BigQuery for on-demand analysis.
- Transfer the logs to Cloud Storage and utilize Coldline storage class.
- Retain the logs in Cloud Logging for straightforward retrieval.
- Relocate the logs to Cloud Pub/Sub for process-driven analysis.
Explanation:
The most suitable option for storing logs that need to be kept for an extended period but accessed infrequently is to export them to Cloud Storage and use the Coldline storage class. Coldline Storage is designed for long-term storage of data that is rarely accessed, offering a cost-effective solution with high durability. This storage class is perfect for archival purposes, like storing financial logs for five years, as it ensures data availability within a reasonable time frame (three days) while keeping costs low. Other options, such as storing in BigQuery, Cloud Logging, or using Cloud Pub/Sub, are not as efficient or cost-effective for long-term, infrequently accessed data storage.