Courseiva

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

You need to monitor the replication lag between a Cloud SQL for MySQL primary instance and its read replica. Which metric should you use to set up an alert?

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/replication/replication_lag

Cloud SQL exposes a metric 'replication/replication_lag' (or 'cloudsql.googleapis.com/database/replication/replication_lag') that measures the lag in seconds between the primary and replica. This is the correct metric for alerting.

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_count

    Why it's wrong here

    Replica count is a static metric of how many replicas exist, not lag.

  • cloudsql.googleapis.com/database/cpu/utilization

    Why it's wrong here

    CPU utilization is not related to replication lag.

  • cloudsql.googleapis.com/database/memory/utilization

    Why it's wrong here

    Memory utilization is not related to replication lag.

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

    Why this is correct

    This is the correct metric for replication lag.

About these practice questions

Courseiva writes every PCDE question from scratch — 1,446 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 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.