Professional Cloud ArchitectAnalyze and optimize technical and business processesEasy

A global financial institution is developing a new real-time fraud detection system. This system needs to ingest millions of transactions per second, process them with very low latency (sub-second), and publish the results to multiple downstream analytics and alerting systems. The solution must be highly scalable, durable, and capable of handling bursts of traffic without data loss. Which Google Cloud service is best suited for ingesting and distributing this real-time data?

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

Correct answer: C. Cloud Pub/Sub

Cloud Pub/Sub is a fully managed, real-time messaging service designed for ingesting and delivering high volumes of events with low latency. Its scalability, durability, and ability to handle millions of events per second make it ideal for the fraud detection system's requirements.

Why the other options are wrong

  • A. Cloud SQL is a relational database service, not designed for ingesting millions of real-time messages per second.
  • B. Cloud Tasks is a managed service for dispatching asynchronous tasks, not a real-time messaging bus for high-volume data ingestion.
  • D. Cloud Storage is an object storage service, suitable for large files but not for real-time, low-latency message streaming.

Cloud Pub/Sub

Cloud Pub/Sub is an asynchronous global messaging service that decouples senders and receivers. It is designed for high-scale, real-time data ingestion and event distribution.

  • Fully managed and serverless
  • Global reach with low latency
  • Scales to millions of messages per second
  • Asynchronous, durable message delivery
  • Supports publish/subscribe model

Memory trick: Publish and Subscribe for speedy, global messages.

More Analyze and optimize technical and business processes questions