PDE Ingesting and Processing the Data Practice Question
A data engineering team needs to ingest streaming data from an existing Kafka cluster (on-premises) into Google Cloud for real-time analytics. They want to minimize changes to the existing Kafka setup and avoid long-term operational overhead. Which TWO approaches should they consider?
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
✓
Deploy a Kafka Connect cluster on Google Cloud with the Pub/Sub sink connector
Using Kafka Connect with the Pub/Sub connector or setting up a Dataproc cluster running Kafka with mirroring are two ways to bridge on-premises Kafka to GCP with minimal changes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Storage Transfer Service to copy Kafka logs from on-premises to GCS
Why it's wrong here
Storage Transfer Service does not support Kafka logs and is not real-time.
- ✓
Deploy a Kafka Connect cluster on Google Cloud with the Pub/Sub sink connector
Why this is correct
This allows streaming from on-prem Kafka to Pub/Sub without modifying the existing Kafka setup.
- ✗
Use Datastream to capture changes from Kafka
Why it's wrong here
Datastream does not support Kafka as a source.
- ✗
Replace the on-premises Kafka cluster with Google Cloud Pub/Sub
Why it's wrong here
This requires significant changes to existing applications and is not minimal.
- ✓
Set up a Dataproc cluster with Kafka and use MirrorMaker to replicate data to the cloud Kafka cluster
Why this is correct
MirrorMaker replicates topics from on-prem to cloud Kafka, enabling further processing.
Go deeper
Related to this question
About these practice questions
This PDE question is part of Courseiva's 890-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 →
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.