Your company’s finance department requires long-term storage of logs from a financial application, with a five-year retention period and accessibility within three days on demand. What storage method would you recommend?
- Archive the logs for immediate analysis in BigQuery.
- Migrate the logs to Cloud Storage, opting for the Coldline storage class.
- Keep the logs readily accessible in Cloud Logging.
- Channel the logs through Cloud Pub/Sub for event-responsive processing.
Explanation:
The most appropriate storage method in this scenario is to export the logs to Cloud Storage and select the Coldline storage class. Coldline Storage offers a highly cost-effective solution for storing data that is infrequently accessed but needs to be retained for long periods, such as the five-year requirement for financial logs. This storage class provides a balance of low cost, high durability, and reasonable access time, making it ideal for archival needs where data is not regularly accessed but must be available within a specific timeframe. In contrast, other options like BigQuery, Cloud Logging, or Cloud Pub/Sub are not primarily designed for long-term archival storage and may incur higher costs or lack the required accessibility for such use cases.