PROFESSIONAL-CLOUD-ARCHITECT · Question #263
Your company has an application that is running on multiple instances of Compute Engine. It generates 1 TB per day of logs. For compliance reasons, the logs need to be kept for at least two years. The
The correct answer is A. 1. Install a Cloud Logging agent on all instances.. For big query, when a partition expires, the data in the partition is no longer available for querying. BigQuery will eventually deletes the expired partition which doesn't meet the requirement described. https://cloud.google.com/logging/docs/agent/logging/installation https://cl
Question
Options
- A
- Install a Cloud Logging agent on all instances.
- B
- Write a daily cron job, running on all instances, that uploads logs into a Cloud Storage bucket.
- C
- Install a Cloud Logging agent on all instances.
- D
- Create a daily cron job, running on all instances, that uploads logs into a partitioned BigQuery
How the community answered
(41 responses)- A59% (24)
- B5% (2)
- C12% (5)
- D24% (10)
Explanation
For big query, when a partition expires, the data in the partition is no longer available for querying. BigQuery will eventually deletes the expired partition which doesn't meet the requirement described. https://cloud.google.com/logging/docs/agent/logging/installation https://cloud.google.com/logging/docs/export/configure_export_v2 https://cloud.google.com/bigquery/external-data-cloud-storage
Topics
Community Discussion
No community discussion yet for this question.