nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #90

You are capturing important audit activity in Stackdriver Logging. You need to read the information from Stackdriver Logging to perform real-time analysis of the logs. You will have multiple processes

The correct answer is C. Set up a Stackdriver Logging sync to Cloud Pub/Sub, and read the logs from a Cloud Pub/Sub. A is not correct because the API has read limits and is not a suitable solution if you have multiple readers. (https://cloud.google.com/logging/quotas) B is not correct because this solution is not real time. (https://cloud.google.com/logging/docs/export/using_exported_logs#bigqu

Monitoring, logging, and debugging

Question

You are capturing important audit activity in Stackdriver Logging. You need to read the information from Stackdriver Logging to perform real-time analysis of the logs. You will have multiple processes performing different types of analysis on the logging data. What should you do?

Options

  • ARead the logs directly from the Stackdriver Logging API.
  • BSet up a Stackdriver Logging sync to BigQuery, and read the logs from the BigQuery table.
  • CSet up a Stackdriver Logging sync to Cloud Pub/Sub, and read the logs from a Cloud Pub/Sub
  • DSet up a Stackdriver Logging sync to Cloud Storage, and read the logs from a Cloud Storage

How the community answered

(24 responses)
  • A
    8% (2)
  • B
    8% (2)
  • C
    79% (19)
  • D
    4% (1)

Explanation

A is not correct because the API has read limits and is not a suitable solution if you have multiple readers. (https://cloud.google.com/logging/quotas) B is not correct because this solution is not real time. (https://cloud.google.com/logging/docs/export/using_exported_logs#bigquery-availability) C is correct because this solution is real time. (https://cloud.google.com/logging/docs/export/using_exported_logs#pubsub-availability) D is not correct because this solution is not real time. (https://cloud.google.com/logging/docs/export/using_exported_logs#gcs-availability)

Topics

#Cloud Logging#Cloud Pub/Sub#Real-time data processing#Log Sinks

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice