Google Cloud Monitoring

  • Cloud Monitoring collects metrics, events, and metadata, hosted uptime probes, and application instrumentation to gain visibility into the performance, availability, and health of your applications and infrastructure.

Features

  • Collect metrics from multicloud and hybrid infrastructure in real time.
  • Metrics, events, and metadata are displayed with rich query language that helps identify issues and uncover significant patterns.
  • IT Certification Category (English)728x90
  • Reduces time spent navigating between systems with one integrated service for metrics, uptime monitoring, dashboards, and alerts.

Workspaces

  • Cloud Monitoring utilizes workspaces to organize and manage its information.
  • A Workspace can manage the monitoring data for a single Google Cloud project, or it can manage the data for multiple Google Cloud projects and AWS accounts.
  • But, a Google Cloud project or an AWS account can only be associated with one Workspace at a time.
  • You must have at least one of the following IAM role name for the Google Cloud project to create a Workspace:
    • Monitoring Editor
    • Monitoring Admin
    • Project Owner

Cloud Monitoring Agent

  • The Cloud Monitoring agent is a collectd-based daemon that collects application and system metrics from virtual machine (VM) instances.
  • The Monitoring agent collects disk, network, CPU, and process metrics by default.
  • You can configure the Monitoring agent to monitor third-party applications.

Pricing

  • Monitoring charges only for the volume of ingested metric data and Cloud Monitoring API read calls that exceed the free monthly allotment.
  • Non-chargeable metrics and Cloud Monitoring API write calls don’t count towards the allotment limit.

Validate Your Knowledge

Question 1

You are managing your company’s cloud resources that are residing in multiple GCP projects. You are tasked to set up centralized monitoring of all the CPU, memory, and disk metrics of your resources. You want to follow Google’s recommended best practices.

What should you do?

  1. Create an export sink on each project. Export the logs on a single BigQuery dataset.
  2. Create a new project in Google Workspace. Add all the existing GCP projects to the new workspace.
  3. Enable Cloud Monitoring on all projects to monitor all resources. Create a custom application that processes metrics from Cloud Monitoring.
  4. Deploy Cloud Monitoring agent on all projects to collect metrics. Create an application that consumes and presents these metrics.

Correct Answer: 2

Workspace is a monitoring tool for cloud resources in different GCP Projects and AWS Accounts. A workspace needs a host project for it to be created. The host project, stores all of the configurations of the workspace. Deleting the host project will delete the Workspace as well.

Workspaces always monitor their host project. When monitoring multiple projects, GCP recommends creating a new project to host the Workspace then adding all the GCP Projects and AWS Accounts that will be monitored.

Cloud Monitoring uses Workspaces to organize monitoring information. A Workspace can manage the monitoring data for a single Google Cloud project, or it can manage the data for multiple Google Cloud projects and AWS accounts. However, a Google Cloud project or an AWS account can only be associated with one Workspace at a time.

A Google Cloud project or AWS account can be monitored by exactly 1 Workspace. A Workspace always monitors its Google Cloud host project. However, you can configure a Workspace to monitor up to 100 Google Cloud projects and AWS accounts.

Hence, the correct answer is: Create a new project in Google Workspace. Add all the existing GCP projects to the new workspace.

The option that says: Create an export sink on each project. Export the logs on a single BigQuery dataset is incorrect because you can’t use BigQuery for monitoring cloud resources. BigQuery is primarily used for storing and analyzing large data like logs using SQL queries.

The option that says: Enable Cloud Monitoring on all projects to monitor all resources. Create a custom application that processes metrics from Cloud Monitoring is incorrect as this is not a Google recommended practice. Doing so will consume significant costs. It also takes time to set up and maintain. Cloud Monitoring is primarily used to monitor a single GCP project and not multiple ones.

The option that says: Deploy Cloud Monitoring agent on all projects to collect metrics. Create an application that consumes and present these metrics is incorrect because Cloud Monitoring agents are only used to collect metrics from VMs. These metrics are then forwarded to Cloud Monitoring. A better solution is to use Google Workspace instead.

References:
https://cloud.google.com/monitoring/workspaces
https://cloud.google.com/blog/products/workspace/introducing-google-workspace
https://cloud.google.com/spanner/docs/monitoring-cloud

Note: This question was extracted from our Google Certified Associate Cloud Engineer Practice Exams.

For more Google Cloud practice exam questions with detailed explanations, check out the Tutorials Dojo Portal:

Google Certified Associate Cloud Engineer Practice Exams

References:
https://cloud.google.com/monitoring
https://cloud.google.com/monitoring/workspaces/create
https://cloud.google.com/monitoring/agent

Pass your AWS, Azure, and Google Cloud Certifications with the Tutorials Dojo Portal

Tutorials Dojo portal

Our Bestselling AWS Certified Solutions Architect Associate Practice Exams

AWS Certified Solutions Architect Associate Practice Exams

Enroll Now – Our AWS Practice Exams with 95% Passing Rate

AWS Practice Exams Tutorials Dojo

Enroll Now – Our Azure Certification Exam Reviewers

azure reviewers tutorials dojo

Enroll Now – Our Google Cloud Certification Exam Reviewers

Tutorials Dojo Exam Study Guide eBooks

Tutorials Dojo Study Guide and Cheat Sheets-2

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

FREE Intro to Cloud Computing for Beginners

FREE AWS, Azure, GCP Practice Test Samplers

Browse Other Courses

Generic Category (English)300x250

Recent Posts

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?

error: Content is protected !!