PDE Ingesting and Processing the Data Practice Question
You are migrating an on-premises PostgreSQL database to Cloud SQL. You need to continuously replicate changes to BigQuery for real-time analytics with minimal latency. Which service should you use?
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
✓
Datastream
Datastream is designed for change data capture (CDC) from databases like PostgreSQL, MySQL, and Oracle to BigQuery or GCS. It provides low-latency replication. Pub/Sub and Dataflow are not directly for CDC. Storage Transfer Service is for file transfers, not database replication.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Dataflow with JDBC source
Why it's wrong here
Dataflow can read from JDBC but it's not optimized for continuous CDC; Datastream is better.
- ✗
Pub/Sub with a Cloud Function that writes to BigQuery
Why it's wrong here
This would require setting up a custom CDC mechanism; Datastream is purpose-built.
- ✗
Storage Transfer Service
Why it's wrong here
Storage Transfer Service transfers files, not database changes.
- ✓
Datastream
Why this is correct
Datastream is the managed CDC service that can stream changes from PostgreSQL to BigQuery with minimal latency.
Go deeper
Related to this question
About these practice questions
One of 890 original PDE 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PDE 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 PDE exam.