mediumMultiple ChoiceObjective-mapped
Google ACE Practice Question: A team runs Apache Kafka on self-managed VMs for…
A team runs Apache Kafka on self-managed VMs for event streaming but wants to reduce operational overhead. Which GCP-native service is the managed alternative to Kafka for pub/sub messaging at scale?
⚠ Common exam trap
Google Cloud often tests the distinction between a messaging/queue service (Pub/Sub) and a data processing service (Dataflow) or a storage service (Bigtable, Cloud Storage), so candidates mistakenly choose Dataflow because it 'processes streaming data' or Bigtable because it 'handles streaming data,' missing that the question asks for a managed alternative to Kafka's pub/sub messaging, not for processing or storage.
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
✓
Cloud Pub/Sub — Google's managed pub/sub messaging service
Cloud Pub/Sub is the correct answer because it is Google Cloud's fully managed, scalable pub/sub messaging service that provides at-least-once delivery and supports both push and pull subscriptions, making it the direct managed alternative to self-managed Apache Kafka. It eliminates the operational overhead of managing Kafka clusters on VMs while offering similar event streaming capabilities with automatic scaling and global availability.
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 — Google's managed pub/sub messaging service
Why this is correct
Cloud Pub/Sub is the fully managed, natively available messaging service on Google Cloud, providing durable, asynchronous message delivery between independently scaled publishers and subscribers. It supports global topic routing, push/pull subscriptions, at-least-once delivery with configurable ack deadlines, and automatic horizontal scaling to millions of messages per second without any broker infrastructure to patch or monitor. As the direct GCP equivalent to self-managed Kafka, it removes operational overhead while adding native IAM integration and dead-letter topics for failure handling.
- ✗
Cloud Bigtable — a managed wide-column store for streaming data
Why it's wrong here
Cloud Bigtable is a managed, wide-column NoSQL database designed for petabyte-scale analytics and time-series workloads that require extremely low read/write latency. While it can ingest streaming data, it is a storage engine, not a message broker; it cannot buffer and forward events to independent consumers or enforce message ordering and acknowledgment semantics across subscribers. Using Bigtable as a substitute for a pub/sub bus would force you to build polling and distribution logic yourself, making it architecturally wrong for event-driven decoupling.
- ✗
Cloud Dataflow — the GCP managed streaming processing service
Why it's wrong here
Cloud Dataflow is Google Cloud's managed processing engine for both batch and stream data pipelines, built on Apache Beam. It is the correct tool for consuming, transforming, and enriching data from a messaging bus like Pub/Sub, but it does not itself provide the queue or broker functionality; Dataflow acts like Kafka Streams consumer applications, not the Kafka broker that stores and routes messages. Without an underlying messaging service, Dataflow has no input stream to process, which is why it cannot replace the message queue itself.
- ✗
Cloud Storage — use GCS notification events as a message queue
Why it's wrong here
Cloud Storage is a durable, highly available object store for immutable blobs; while it can emit bucket notifications to Pub/Sub on object lifecycle events, those notifications are edge-triggered and not queued messages with retention or subscriber acknowledgments. Treating Cloud Storage as a message queue would require implementing custom polling, lease, and deletion logic to emulate message consumption, and would add significant latency and cost compared to a native pub/sub broker. The notification mechanism is designed to integrate with Pub/Sub, not to be a standalone queue itself.
Go deeper
Related to this question
Learn chapter
Google Cloud Platform Overview
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
Key term
Availability
Availability is the measure of how often a system or service is operational and accessible when needed, typically expressed as a percentage of uptime.
About these practice questions
This ACE question is part of Courseiva's 769-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 ACE 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 ACE exam.