Courseiva
Question 94 of 1,446
Migrate data solutionseasyMultiple ChoiceObjective-mapped

PCDE Logical Replication Practice Question

A company is migrating a PostgreSQL database to Cloud SQL using DMS. The source database has logical replication enabled for the migration. What is the purpose of logical replication in this context?

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

To capture changes for continuous replication after the initial dump.

DMS uses PostgreSQL logical replication to capture ongoing changes. The source database must have logical replication enabled (via WAL with logical decoding) to allow DMS to replicate changes continuously after the initial dump. Binary logging is a MySQL concept, not applicable to PostgreSQL.

Answer analysis

Option-by-option breakdown

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

  • To enable point-in-time recovery on the source.

    Why it's wrong here

    Point-in-time recovery is a use of WAL, but in the context of DMS migration, the purpose of logical replication is to capture changes for continuous replication, not for PITR.

  • To improve performance of the initial dump.

    Why it's wrong here

    Logical replication does not improve the performance of the initial dump; the initial dump uses pg_dump. Logical replication starts after the dump to capture incremental changes.

  • To capture changes for continuous replication after the initial dump.

    Why this is correct

    Correct. Logical replication uses WAL to capture changes in real-time, allowing continuous replication after the initial data load.

  • To convert data types between source and destination.

    Why it's wrong here

    Data type conversion is performed by DMS during schema conversion, not by logical replication.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.