Google
ASSOCIATE-CLOUD-ENGINEER · Question #362
Your company uses a multi-cloud strategy that includes Google Cloud. You want to centralize application logs in a third-party software-as-a-service (SaaS) tool from all environments. You need to integ
The correct answer is B. Create a Cloud Logging sink and configure Pub/Sub as the destination. Configure the SaaS tool. Exporting logs via a Cloud Logging sink to a Pub/Sub topic is the best option when you need low- latency, near real-time delivery of logs. Pub/Sub is designed for streaming data and can immediately deliver logs to the third-party SaaS tool that subscribes to the topic.
Submitted by khalil_dz· Mar 30, 2026Ensuring successful operation of a cloud solution
Question
Your company uses a multi-cloud strategy that includes Google Cloud. You want to centralize application logs in a third-party software-as-a-service (SaaS) tool from all environments. You need to integrate logs originating from Cloud Logging, and you want to ensure the export occurs with the least amount of delay possible. What should you do?
Options
- AUse a Cloud Scheduler cron job to trigger a Cloud Function that queries Cloud Logging and
- BCreate a Cloud Logging sink and configure Pub/Sub as the destination. Configure the SaaS tool
- CCreate a Cloud Logging sink and configure Cloud Storage as the destination. Configure the SaaS
- DCreate a Cloud Logging sink and configure BigQuery as the destination. Configure the SaaS tool
How the community answered
(31 responses)- A10% (3)
- B84% (26)
- C3% (1)
- D3% (1)
Explanation
Exporting logs via a Cloud Logging sink to a Pub/Sub topic is the best option when you need low- latency, near real-time delivery of logs. Pub/Sub is designed for streaming data and can immediately deliver logs to the third-party SaaS tool that subscribes to the topic.
Topics
#Cloud Logging sink#Pub/Sub#log export#real-time log streaming
Community Discussion
No community discussion yet for this question.