Your company uses Cloud Logging to manage large volumes of log data. You need to build a real-time log analysis architecture that pushes logs to a third-party application for processing. What should you do?
- ACreate a Cloud Logging log export to Pub/Sub. (correct answer)
- BCreate a Cloud Logging log export to BigQuery.
- CCreate a Cloud Logging log export to Cloud Storage.
- DCreate a Cloud Function to read Cloud Logging log entries and send them to the third-party application.
Reveal answer & explanationHide answer
The correct answer is A. Option A: Create a Cloud Logging log export to Pub/Sub.
Explanation
Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams. Cloud Logging centralizes, stores, and analyzes logs across services. This option meets the real-time / low-latency performance requirement.
