
Answer-first summary for fast verification
Answer: Pub/Sub
Pub/Sub is the correct choice because logs routed to it are available within seconds, making it ideal for real-time monitoring. Cloud Storage is incorrect as logs are exported in hourly batches. BigQuery is also incorrect due to a delay of minutes before logs appear in the table. Spanner is not a valid destination for logs. For more details, refer to Google Cloud's documentation on exporting logs: [Pub/Sub](https://cloud.google.com/logging/docs/export/using_exported_logs#pubsub-overview), [BigQuery](https://cloud.google.com/logging/docs/export/using_exported_logs#bigquery-overview), and [Cloud Storage](https://cloud.google.com/logging/docs/export/using_exported_logs#gcs-overview).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a DevOps Engineer for an energy client utilizing Google Kubernetes Engine (GKE) and Cloud Logging, you're tasked with real-time application usage monitoring using logs. What is the optimal destination for the export sink?
A
BigQuery
B
Cloud Storage
C
Pub/Sub
D
Spanner
No comments yet.