Google Associate Cloud EngineerDeploying and implementing a cloud solutionEasy

A data engineering team is building a real-time data ingestion pipeline. They need a messaging service that can reliably ingest millions of events per second from various sources, decouple producers and consumers, and provide at-least-once message delivery. Which Google Cloud service should they use?

  1. ACloud SQL
  2. BCloud Tasks
  3. CCloud Storage
  4. DCloud Pub/Sub
Show answer & explanation

Correct answer: D. Cloud Pub/Sub

Cloud Pub/Sub is a real-time messaging service designed for high throughput, low latency, and decoupling producers from consumers, offering at-least-once message delivery.

Why the other options are wrong

  • A. Cloud SQL is a relational database service, not a messaging service for event streaming.
  • B. Cloud Tasks is for asynchronous task execution and queue management, not designed for real-time, high-volume event streaming.
  • C. Cloud Storage is an object storage service, not a messaging service for real-time event ingestion.

Cloud Pub/Sub

A global, real-time messaging service that enables asynchronous communication between independent applications.

  • Supports high-volume event ingestion and delivery.
  • Decouples senders (publishers) from receivers (subscribers).
  • Offers at-least-once message delivery guarantee.

Memory trick: Pub/Sub for real-time streams, Tasks for queues, Storage for files.

More Deploying and implementing a cloud solution questions