PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice question 25 of 25
[Building and implementing service monitoring strategies] You want to share a Cloud Monitoring custom dashboard with a partner team What should you do?
Full set: 205 questionsThe standard and most effective way to share a Cloud Monitoring dashboard's complete configuration is by exporting its definition to a JSON file. This file encapsulates the entire dashboard layout, including all charts, metrics, queries (MQL/PromQL), and filters. The partner team can then use this JSON file to create an identical copy of the dashboard in their own Google Cloud project using the gcloud command-line tool or the Cloud Console API, ensuring a perfect replication.
A. A dashboard URL is specific to a project and user permissions. The partner team, likely in a different project, would not have access to view or copy it.
B. Exporting metrics to BigQuery and using Looker Studio is an overly complex workaround that involves a different tool and recreating the dashboard from scratch, not sharing the existing one.
C. A dashboard typically contains multiple charts and queries. Sending a single MQL query is insufficient to replicate the entire dashboard's structure and content.
1. Google Cloud Documentation, "Create and manage custom dashboards". Under the section "Share dashboards", it states: "To share a custom dashboard, you can generate a JSON representation of it. You can then share the JSON file with other users, who can import the file into their Google Cloud projects."
2. Google Cloud Documentation, gcloud monitoring dashboards create. The command documentation shows how to create a dashboard from a file: gcloud monitoring dashboards create --config-from-file=FILEPATH. This confirms that using a JSON definition file is the intended mechanism.
Keep practicing
Take the free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice questions
- Question 1[Building and implementing CI/CD pipelines for a service] You need to enforce several con…
- Question 2You deployed an application into a large Standard Google Kubernetes Engine (GKE) cluster.…
- Question 3You are responding to a high-priority incident where a critical, user-facing payment serv…
- Question 4[Applying Site Reliability Engineering (SRE) principles to a service] You support a user-…
- Question 5You are deploying an application that needs to access sensitive information. You need to …
- Question 6[Building and implementing CI/CD pipelines for a service] You are building an application…
