GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice question 35 of 35

For this question, refer to the HipLocal case study. Which Google Cloud product addresses HipLocal’s business requirements for service level indicators and objectives?

Full set: 265 questions
Answer options
A: Cloud Profiler
B: Cloud Monitoring Correct answer
C: Cloud Trace
D: Cloud Logging
Correct Answer:
B. Cloud Monitoring
Explanation

Cloud Monitoring is the Google Cloud service designed for defining and tracking service reliability. It includes a specific "Service Monitoring" feature that allows developers to define Service Level Indicators (SLIs), such as latency or availability, based on existing metrics. From these SLIs, they can configure Service Level Objectives (SLOs) which represent the target level of reliability. Cloud Monitoring then automatically calculates the remaining error budget and can trigger alerts when the service is at risk of violating its SLO. This directly addresses HipLocal's requirement to manage service performance against defined business objectives.

Why Incorrect

A. Cloud Profiler analyzes code-level performance (CPU/memory) to find inefficiencies. It does not monitor user-facing service level indicators like availability or latency against objectives.
C. Cloud Trace provides distributed tracing to analyze latency bottlenecks within a request's lifecycle. It provides data for an SLI but does not manage or alert on SLOs.
D. Cloud Logging is a centralized service for storing, searching, and analyzing log data. While logs can be used to create metrics, Cloud Monitoring is the tool that consumes them to manage SLOs.

References

1. Google Cloud Documentation, "Service Monitoring": "Google Cloud's Service Monitoring is built for operators of services. It helps you manage your services from the perspective of your users... Service Monitoring restructures the monitoring problem around services and the user journeys they provide. You start by telling Cloud Monitoring what your service is supposed to do—your service-level objectives (SLOs)—and then Cloud Monitoring provides the dashboards and alerting policies you need to manage your service."

Source: Google Cloud Documentation, "Service Monitoring", Introduction section.

2. Google Cloud Documentation, "Concepts in service monitoring": "A service-level objective (SLO) is a target value for a service level that is measured by a service-level indicator (SLI)... You use Cloud Monitoring to create SLOs for your services."

Source: Google Cloud Documentation, "Concepts in service monitoring", Service-level objectives section.

3. Google Cloud Documentation, "Cloud Profiler overview": "Cloud Profiler is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications."

Source: Google Cloud Documentation, "Cloud Profiler overview", Introduction section.

4. Google Cloud Documentation, "Cloud Trace overview": "Cloud Trace... provides latency sampling and reporting for App Engine, Load Balancing, and applications instrumented with the Cloud Trace API and SDKs... It helps you understand how requests propagate through your application."

Source: Google Cloud Documentation, "Cloud Trace overview", Introduction section.

Scroll to Top