Google Cloud Professional Cloud Developer — Question 145

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?

Answer options

Correct answer: A

Explanation

The correct answer is A, as exporting logs to Pub/Sub allows for real-time streaming of log data to a third-party application. Option B, exporting to BigQuery, is more suited for analysis rather than real-time processing. Option C, sending logs to Cloud Storage, provides storage but lacks real-time capabilities. Option D, while it could work, introduces unnecessary complexity compared to directly exporting to Pub/Sub.