PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice question 11 of 25

[Building and implementing service monitoring strategies] 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 information aggregated on a quarterly basis. You want to use Google Cloud Platform solutions. What should you do?

Full set: 205 questions
Answer options
A: 1. Export VM utilization logs from Stackdriver to BigOuery.2. Create a dashboard in Data Studio.3. Share the dashboard with your stakeholders. Correct answer
B: 1. Export VM utilization logs from Stackdriver to Cloud Pub/Sub.2. From Cloud Pub/Sub, send the logs to a Security Information and Event Management (SIEM) system.3. Build the dashboards in the SIEM system and share with your stakeholders.
C: 1. Export VM utilization logs (rom Stackdriver to BigQuery.2. From BigQuery. export the logs to a CSV file.3. Import the CSV file into Google Sheets.4. Build a dashboard in Google Sheets and share it with your stakeholders.
D: 1. Export VM utilization logs from Stackdriver to a Cloud Storage bucket.2. Enable the Cloud Storage API to pull the logs programmatically.3. Build a custom data visualization application.4. Display the pulled logs in a custom dashboard.
Correct Answer:
A. 1. Export VM utilization logs from Stackdriver to BigOuery.2. Create a dashboard in Data Studio.3. Share the dashboard with your stakeholders.
Explanation

Exporting VM-utilization logs from Cloud Logging (formerly Stackdriver) to BigQuery enables near-real-time ingestion. Looker Studio (formerly Data Studio) connects live to BigQuery, supports time-window aggregation (e.g., quarterly), interactive filters, and simple sharing through URL access, fulfilling all stated requirements with fully managed GCP services.

Why Incorrect

B. Pub/Sub to external SIEM adds complexity, extra cost, and leaves GCP’s native visualization tools unused.
C. Exporting to CSV/Sheets breaks real-time updates and does not scale for large log volumes.
D. Building a custom app on Cloud Storage requires significant development and lacks interactive tooling.

References

1. Cloud Logging Export to BigQuery – “Streaming export delivers logs in near real time” (Docs > Routing > BigQuery, para 2).

2. Looker Studio BigQuery Connector – “Visualize and share BigQuery data in interactive dashboards” (Looker Studio Help, Connectors).

3. BigQuery Time Aggregation – “Use TIMESTAMPTRUNC to aggregate by quarter” (SQL Reference, Functions).

Scroll to Top