Courseiva
Implementing service monitoring strategiesmediumMultiple ChoiceObjective-mapped

PCDOE Implementing service monitoring strategies Practice Question

Your organization is migrating a monolithic application to microservices on Cloud Run. You need to monitor the health of each microservice and aggregate logs and metrics in a central dashboard. You have set up Cloud Monitoring custom dashboards and logs-based metrics. After the initial deployment, you notice that the dashboards show data only for some services, while others appear to have no metrics. You verify that all services are running and emitting logs. What is the most likely cause?

⚠ Common exam trap

Google Cloud often tests the misconception that all GCP services automatically share monitoring data across projects, when in fact Cloud Monitoring is inherently project-scoped and requires explicit cross-project configuration via metrics scopes.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The services are running in different GCP projects and you are viewing only one project.

Cloud Monitoring dashboards and logs-based metrics are scoped to a single GCP project. If microservices are deployed across multiple projects, metrics from services in other projects will not appear unless the dashboard is configured to aggregate data from all relevant projects. Since the question states that some services have no metrics while all are running and emitting logs, the most likely cause is that those services reside in different projects.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The services are not exporting metrics to Cloud Monitoring via the Monitoring API.

    Why it's wrong here

    Cloud Run automatically exports metrics; no explicit export needed.

  • The logs-based metrics are not configured to parse logs from all services.

    Why it's wrong here

    If services emit logs, logs-based metrics would capture them unless filters are misconfigured, but it's less likely for all missing services.

  • The services are running in different GCP projects and you are viewing only one project.

    Why this is correct

    Dashboards in Cloud Monitoring are project-scoped unless configured with a metrics scope.

  • The Cloud Monitoring agent is not installed on the Cloud Run instances.

    Why it's wrong here

    Cloud Run does not require an agent; metrics are built-in.

About these practice questions

This PCDOE question is part of Courseiva's 486-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCDOE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCDOE exam.