Cloud Digital Leader Practice Question: Google Cloud products, services, and solutions
A company needs to send messages between different microservices in a decoupled way. When one service publishes an event, multiple downstream services should receive and process it independently. Which Google Cloud service enables this publish-subscribe messaging pattern?
⚠ Common exam trap
Watch out — candidates often confuse Eventarc (which handles event ingestion from Google sources) with Cloud Pub/Sub (the core messaging backbone), or mistakenly think Cloud Tasks or Cloud Scheduler can serve as a general pub/sub system when they are designed for different use cases like task queuing and scheduled jobs.
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
Cloud Pub/Sub is the correct choice because it is Google Cloud's fully managed, asynchronous messaging service designed specifically for the publish-subscribe pattern. It allows a publisher service to emit events to a topic, and multiple subscriber services can independently pull or push those messages from that topic, ensuring decoupled and reliable communication.
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 Tasks
Why it's wrong here
Cloud Tasks is a task queue service that provides reliable, guaranteed delivery of one task to one worker via a push endpoint, with built-in retries and rate limiting. It facilitates asynchronous work distribution but does not support Pub/Sub's publish-subscribe model, meaning you cannot broadcast a single message to multiple independent consumers. Each task is explicitly routed to a single target, so it's best suited for background work dispatch, not event fan-out.
- ✓
Cloud Pub/Sub
Why this is correct
Cloud Pub/Sub is a fully managed, global messaging service that decouples services by providing a durable, scalable message bus. A single topic can have multiple independent subscriptions, enabling a fan-out pattern where every subscriber receives the same published message for its own processing. This is the core of event-driven architectures, supporting both pull and push delivery with at-least-once semantics.
- ✗
Cloud Scheduler
Why it's wrong here
Cloud Scheduler is a fully managed cron service that triggers HTTP endpoints, Google Cloud Pub/Sub topics, or App Engine targets on a defined schedule. It does not buffer or coordinate service-to-service communication; it simply fires a mechanism at a specified time. While it can publish to Pub/Sub, it lacks the queue semantics, message retention, and fan-out capabilities needed for an inter-service messaging backbone.
- ✗
Eventarc
Why it's wrong here
Eventarc is a high-level eventing service that routes events from Google Cloud sources (like Cloud Audit Logs, Cloud Storage, and Pub/Sub) to Cloud Run, Cloud Functions, and other targets, with filtering and delivery management. Under the hood, it relies on Pub/Sub for bus infrastructure, but it is focused on event ingestion and routing from internal/Google sources rather than a general-purpose messaging API. For direct service-to-service, producer-agnostic fan-out, you need the native pub-sub primitives of Cloud Pub/Sub itself.
Go deeper
Related to this question
Learn chapter
Cloud Digital Transformation
Key term
Event
An event is any identifiable occurrence or action in a computer system, network, or application that can be logged, monitored, or analyzed for security or operational purposes.
Key term
Google Cloud
Google Cloud is a suite of cloud computing services offered by Google that provides infrastructure, platform, and software solutions over the internet.
About these practice questions
Courseiva writes every GCDL question from scratch — 829 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 GCDL 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 GCDL exam.