ASSOCIATE-CLOUD-ENGINEER · Question #224
You manage three Google Cloud projects with the Cloud Monitoring API enabled. You want to follow Google-recommended practices to visualize CPU and network metrics for all three projects together. What
The correct answer is B. 1. Create a Cloud Monitoring Dashboard.. To visualize metrics from multiple Google Cloud projects collectively, the recommended practice is to create a Cloud Monitoring dashboard in a designated 'scoping project' which can aggregate metrics from all associated monitored projects.
Question
Options
- A
- Create a Cloud Monitoring Dashboard
- B
- Create a Cloud Monitoring Dashboard.
- C1 Create a Service Account and apply roles/viewer on the three projects
- D
- Create a fourth Google Cloud project
How the community answered
(19 responses)- B84% (16)
- C5% (1)
- D11% (2)
Why each option
To visualize metrics from multiple Google Cloud projects collectively, the recommended practice is to create a Cloud Monitoring dashboard in a designated 'scoping project' which can aggregate metrics from all associated monitored projects.
This option is identical to B, describing the correct method for aggregating and visualizing metrics across multiple projects in Cloud Monitoring.
Google Cloud Monitoring allows you to create a 'scoping project' which can monitor resources from multiple associated Google Cloud projects. By creating a Cloud Monitoring Dashboard within this scoping project, you can add widgets that display metrics (like CPU and network usage) from any of the projects monitored by that workspace, providing a consolidated view across all three projects.
Creating a service account and granting viewer roles is for programmatic access control to projects, not the mechanism for aggregating and visualizing metrics from multiple projects in a single monitoring view.
Creating a fourth Google Cloud project is not inherently the step to aggregate monitoring; while that project *could* become the scoping project, the key action is the dashboard setup within Cloud Monitoring (and project association), not just creating a project.
Concept tested: Cross-project Cloud Monitoring dashboards
Source: https://cloud.google.com/monitoring/docs/create-project-multi-project
Topics
Community Discussion
No community discussion yet for this question.