Professional Data EngineerBuilding and operationalizing data processing systemsEasy

A financial services company needs to ingest real-time transaction data from thousands of point-of-sale (POS) terminals across various retail locations. The data stream is high-volume, requires low-latency ingestion, and must be reliably delivered for immediate fraud detection analysis. Which Google Cloud service is the most appropriate choice for ingesting this data?

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

Correct answer: B. Cloud Pub/Sub

Cloud Pub/Sub is a real-time messaging service designed for high-volume, low-latency data ingestion and delivery, making it ideal for streaming data from thousands of sources for immediate processing like fraud detection.

Why the other options are wrong

  • A. Cloud SQL is a relational database service, suitable for transactional data, but not optimized for high-throughput, real-time message streaming from thousands of devices.
  • C. Cloud Storage is primarily for batch data storage and retrieval, not real-time streaming ingestion.
  • D. BigQuery is an analytical data warehouse and not designed for direct real-time data ingestion from operational systems.

Cloud Pub/Sub

A fully-managed, real-time messaging service that allows you to send and receive messages between independent applications.

  • Asynchronous messaging
  • Decouples senders and receivers
  • Scalable and durable for high-volume streams

Memory trick: Pub/Sub powers fast stream, like a speedy postman for data.

More Building and operationalizing data processing systems questions