Google
PROFESSIONAL-CLOUD-ARCHITECT · Question #225
Your company sends all Google Cloud logs to Cloud Logging. Your security team wants to monitor the logs. You want to ensure that the security team can react quickly if an anomaly such as an unwanted…
The correct answer is C. Export logs to a Pub/Sub topic, and trigger Cloud Function with the relevant log events. Using BigQuery can get expensive if you have somehow check the logs for anomalies. https://cloud.google.com/blog/products/management-tools/automate-your-response-to-a-cloud-
Submitted by satoshi_tk· Mar 30, 2026Designing for security and compliance
Question
Your company sends all Google Cloud logs to Cloud Logging. Your security team wants to monitor the logs. You want to ensure that the security team can react quickly if an anomaly such as an unwanted firewall change or server breach is detected. You want to follow Google- recommended practices. What should you do?
Options
- ASchedule a cron job with Cloud Scheduler. The scheduled job queries the logs every minute for
- BExport logs to BigQuery, and trigger a query in BigQuery to process the log data for the relevant
- CExport logs to a Pub/Sub topic, and trigger Cloud Function with the relevant log events.
- DExport logs to a Cloud Storage bucket, and trigger Cloud Run with the relevant log events.
How the community answered
(30 responses)- A7% (2)
- B3% (1)
- C77% (23)
- D13% (4)
Explanation
Using BigQuery can get expensive if you have somehow check the logs for anomalies. https://cloud.google.com/blog/products/management-tools/automate-your-response-to-a-cloud-
Topics
#Cloud Logging#Pub/Sub#Cloud Functions#real-time alerting
Community Discussion
No community discussion yet for this question.