Your organization is a financial company that needs to store audit log files for 3 years. Your organization has hundreds of Google Cloud projects. You need to implement a cost-effective approach for log file retention. What should you do?
- ACreate an export to the sink that saves logs from Cloud Audit to BigQuery.
- BCreate an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket. (correct answer)
- CWrite a custom script that uses logging API to copy the logs from Stackdriver logs to BigQuery.
- DExport these logs to Cloud Pub/Sub and write a Cloud Dataflow pipeline to store logs to Cloud SQL.
Reveal answer & explanationHide answer
The correct answer is B. Option B: Create an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket. This option delivers the requirement at the lowest cost.