PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #175
You currently store the virtual machine (VM) utilization logs in Stackdriver. You need to provide an easy-to-share interactive VM utilization dashboard that is updated in real time and contains…
The correct answer is A. 1. Export VM utilization logs from Stackdriver to BigQuery. 2. Create a dashboard in Data Studio. To create an interactive, real-time, and shareable VM utilization dashboard with quarterly aggregation from Stackdriver logs, export the logs to BigQuery and then visualize them using Data Studio.
Question
Options
- A
- Export VM utilization logs from Stackdriver to BigQuery. 2. Create a dashboard in Data Studio.
- B
- Export VM utilization logs from Stackdriver to Cloud Pub/Sub. 2. From Cloud Pub/Sub, send
- C
- Export VM utilization logs from Stackdriver to BigQuery. 2. From BigQuery, export the logs to a
- D
- Export VM utilization logs from Stackdriver to a Cloud Storage bucket. 2. Enable the Cloud
How the community answered
(51 responses)- A76% (39)
- B12% (6)
- C8% (4)
- D4% (2)
Why each option
To create an interactive, real-time, and shareable VM utilization dashboard with quarterly aggregation from Stackdriver logs, export the logs to BigQuery and then visualize them using Data Studio.
Exporting VM utilization logs from Cloud Logging (formerly Stackdriver) to BigQuery allows for powerful, scalable querying and aggregation, including quarterly summaries. Connecting BigQuery as a data source to Data Studio (now Looker Studio) then enables the creation of interactive, real-time, and easily shareable dashboards, perfectly meeting all requirements.
Cloud Pub/Sub is a messaging service for real-time data ingestion and event-driven architectures; it is not a data warehousing solution suitable for historical aggregation and interactive dashboards directly.
Exporting logs from BigQuery to a Cloud Storage bucket would store raw or aggregated data, but Cloud Storage is an object storage service and does not natively provide the interactive dashboarding capabilities needed.
Storing logs directly in a Cloud Storage bucket is good for archival, but it doesn't provide built-in interactive dashboarding or real-time query capabilities for aggregation without further processing.
Concept tested: GCP logging export and data visualization for analytics
Source: https://cloud.google.com/logging/docs/export
Topics
Community Discussion
No community discussion yet for this question.