PDE Dataproc Practice Question
Your company uses Kafka for event streaming. You want to run Kafka on Google Cloud with the ability to auto-scale clusters and use managed infrastructure. Which service should you choose?
⚠ Common exam trap
The trap is that candidates may confuse third-party managed Kafka services (like Confluent Cloud) with GCP-native managed infrastructure, or assume Cloud Pub/Sub is equivalent to Kafka for event streaming, when Dataproc is the correct GCP-native service for running Kafka itself with auto-scaling and managed resources.
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
✓
Dataproc
Dataproc is the correct choice because it is a managed Spark and Hadoop service on Google Cloud that supports running Kafka clusters via initialization actions. It allows auto-scaling of worker nodes and integrates with GCP storage and networking, providing the managed infrastructure required for Kafka event streaming. Note that Confluent Cloud is a third-party managed Kafka service, not a GCP-native service, and Cloud Pub/Sub is a messaging service, not a Kafka replacement. Cloud Dataflow is for data processing pipelines, not for running Kafka itself.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cloud Pub/Sub
Why it's wrong here
Pub/Sub is a managed messaging service but not Kafka; you would need to adapt your Kafka producers/consumers.
- ✗
Confluent Cloud on GCP
Why it's wrong here
Confluent Cloud is a third-party managed Kafka offering, not a Google Cloud service.
- ✗
Cloud Dataflow
Why it's wrong here
Dataflow is a stream processing service, not a message broker.
- ✓
Dataproc
Why this is correct
Dataproc supports running Kafka as an optional component on managed clusters, giving you control and scalability.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PDE question from scratch — 890 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 →
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.