Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
Your enterprise operates a distributed microservices architecture deployed across Compute Engine virtual machines, Google Kubernetes Engine (GKE) clusters, and Cloud Run services located in multiple Google Cloud projects. You need to implement a centralized observability strategy in Google Cloud Monitoring to collect and aggregate metrics, logs, and distributed traces from both infrastructure and applications to track Service-Level Objectives (SLOs) and application key performance indicators (KPIs) through unified dashboards.
Which strategy aligns with Google Cloud recommended best practices?
Instrument services with OpenTelemetry to export OTLP metrics and traces; deploy the Ops Agent on Compute Engine with OTLP/Prometheus receivers, enable Google Cloud Managed Service for Prometheus on GKE, configure a central scoping project with a multi-project metrics scope, and build custom Cloud Monitoring dashboards combining metric widgets, log-based metrics, and trace data.
Configure VPC Packet Mirroring across all Virtual Private Clouds to capture network traffic for metrics, create log exclusion filters to drop non-error logs, and export raw unaligned time-series data to BigQuery every minute for real-time dashboarding.
Install standalone OpenTelemetry Collector instances on every VM while disabling the Ops Agent, deploy custom Prometheus servers in every GKE cluster with Cloud Storage log sinks, and write custom Cloud Functions to poll the Cloud Monitoring API for dashboard updates.
Instrument applications using direct vendor-specific Cloud Monitoring API client libraries, maintain separate individual scoping projects for each workload, and rely exclusively on predefined Google Services dashboards for SLO tracking.
Instrument services with OpenTelemetry to export OTLP metrics and traces; deploy the Ops Agent on Compute Engine with OTLP/Prometheus receivers, enable Google Cloud Managed Service for Prometheus on GKE, configure a central scoping project with a multi-project metrics scope, and build custom Cloud Monitoring dashboards combining metric widgets, log-based metrics, and trace data.
This strategy establishes an end-to-end telemetry pipeline across hybrid and polyglot workloads using Google Cloud's modern observability architecture. It leverages open standards and fully managed services to capture, aggregate, and visualize metrics, logs, and traces without introducing management overhead or vendor lock-in.
This solution relies completely on Google Cloud's native, managed observability tooling and CNCF standards. It removes operational toil associated with managing custom ingestion proxies or manual batch upload scripts while delivering real-time metric evaluation for critical SLOs.
Configure VPC Packet Mirroring across all Virtual Private Clouds to capture network traffic for metrics, create log exclusion filters to drop non-error logs, and export raw unaligned time-series data to BigQuery every minute for real-time dashboarding.
Install standalone OpenTelemetry Collector instances on every VM while disabling the Ops Agent, deploy custom Prometheus servers in every GKE cluster with Cloud Storage log sinks, and write custom Cloud Functions to poll the Cloud Monitoring API for dashboard updates.
Instrument applications using direct vendor-specific Cloud Monitoring API client libraries, maintain separate individual scoping projects for each workload, and rely exclusively on predefined Google Services dashboards for SLO tracking.