Courseiva

PCDE Practice Question: Manage a solution that can span multiple database technologies

A company uses Cloud SQL for PostgreSQL. They need to monitor the replication lag on a read replica. Which metric should they use in Cloud Monitoring?

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

cloudsql.googleapis.com/database/postgresql/replication/replica_lag

For PostgreSQL replicas in Cloud SQL, the metric 'cloudsql.googleapis.com/database/postgresql/replication/replica_lag' measures lag in bytes (seconds can be derived). The metric 'replication_lag' is available for MySQL. For PostgreSQL, the specific metric is 'replica_lag'.

Answer analysis

Option-by-option breakdown

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

  • cloudsql.googleapis.com/database/replication/replica_lag

    Why it's wrong here

    This metric is for MySQL.

  • cloudsql.googleapis.com/database/postgresql/replication/replica_lag

    Why this is correct

    Correct. This is the specific metric for PostgreSQL replicas.

  • cloudsql.googleapis.com/database/replication/lag_seconds

    Why it's wrong here

    Not a real metric.

  • cloudsql.googleapis.com/database/postgresql/replication/lag

    Why it's wrong here

    The correct metric name is 'replica_lag'.

About these practice questions

One of 1,446 original PCDE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 PCDE 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 PCDE exam.