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?

  • 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.

  • 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.

  • 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.

GCP Professional Cloud Architect
Ensuring solution and operations excellence
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot