GCP Professional Cloud Architect Practice Question
Your e-commerce platform runs microservices in two Google Cloud projects (prod-us and prod-eu) and an on-premises Kubernetes cluster that already exports Prometheus metrics. You need a single dashboard showing aggregated request latency, error rate, and custom KPIs for the checkout service across all environments, and an alert when the checkout service's p99 latency exceeds 300 ms for 5 continuous minutes. Which solution provides these capabilities with the least operational overhead?
Use Cloud Logging exclusively: create logs-based metrics for latency, route all logs to Pub/Sub, and deploy a Cloud Function subscriber that aggregates the logs across projects and on-prem to generate custom alerts when p99 latency passes 300 ms.
Deploy independent Prometheus instances in each environment and federate them to a central Prometheus server on Compute Engine; build Grafana dashboards and use Alertmanager to notify when p99 latency is above 300 ms for five minutes.
Export metrics from Cloud Monitoring in each project to BigQuery, construct a Data Studio report that joins the datasets, and run a scheduled Cloud Function every five minutes to query BigQuery and send alerts if checkout latency exceeds 300 ms.
Create a single Cloud Monitoring Workspace in a new operations project, add the prod-us and prod-eu projects, deploy the Cloud Monitoring/Managed Service for Prometheus collector to the on-prem cluster, define a checkout service SLO with a 300 ms p99 latency objective, and configure an alerting policy that fires after five minutes of SLO violation.
Cloud Monitoring Workspaces can ingest metrics from multiple Google Cloud projects as well as external sources. Adding both projects to one workspace yields a unified dashboard without extra aggregation code. The Managed Service for Prometheus (or Prometheus receiver in the Ops Agent) lets you forward on-prem Prometheus metrics directly into Cloud Monitoring so they appear alongside GCP metrics. Within the workspace you can define a custom service, attach an SLO whose objective is p99 latency ≤ 300 ms, and create an alerting policy that triggers after five minutes of burn-rate violation-meeting the requirement without running or maintaining additional infrastructure.
The other approaches require you to operate and scale Prometheus, Grafana, Alertmanager, BigQuery jobs, or custom Cloud Functions, increasing operational burden and complexity while duplicating functionality already built into Cloud Monitoring.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Cloud Monitoring Workspace in GCP?
Open an interactive chat with Bash
How does the Managed Service for Prometheus work with on-prem clusters?
Open an interactive chat with Bash
What is an SLO in Cloud Monitoring, and how does it help?
Open an interactive chat with Bash
What is a Cloud Monitoring Workspace?
Open an interactive chat with Bash
What is the Managed Service for Prometheus in relation to Cloud Monitoring?
Open an interactive chat with Bash
What is an SLO and how does it relate to alerts in Cloud Monitoring?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Ensuring solution and operations excellence
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .