Professional Cloud Developer · Free Practice Question Medium
Question 33
To manage large volumes of log data, your company utilizes Cloud Logging. Your task is to create a real-time log analysis architecture that will send logs to a third-party application for processing.
What actions do you need to take?
- A Create a Cloud Logging log export to Cloud Storage.
- B Create a Cloud Function to retrieve Cloud Logging log entries and forward them to a third-party app.
- C Create a Cloud Logging log export to Pub/Sub.
- D Create a Cloud Logging log export to BigQuery.
Reveal correct answer
Correct answer: C
Explanation
The correct option is to create a Cloud Logging log export to Pub/Sub. According to the Professional Google Cloud Developer documentation, a log export sends log entries from Cloud Logging to another destination, such as BigQuery or Pub/Sub. Pub/Sub is a messaging service that decouples senders and receivers, allowing for real-time log analysis. By exporting logs to Pub/Sub, a third-party application can process and analyze the log data in real-time. This architecture provides a scalable and flexible solution for managing large volumes of log data and allows for the integration of various third-party tools for log analysis.Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
