Professional Data EngineerDesigning data processing systemsEasy
A global e-commerce company needs to process millions of transactions per second for real-time fraud detection. The system must be highly available, scalable, and capable of ingesting data from various sources (web, mobile, IoT devices). After ingestion, the data needs to be processed with minimal latency to identify fraudulent activities. Which Google Cloud service is best suited for ingesting these high-volume, real-time event streams?
- ACloud Pub/Sub
- BCloud Storage
- CCloud SQL
- DBigQuery
Show answer & explanationAnswer & explanation
Correct answer: A. Cloud Pub/Sub
Cloud Pub/Sub is a fully managed, asynchronous messaging service designed for scalable and reliable event ingestion and delivery. It excels at handling high-volume real-time streams with low latency, making it ideal for the described scenario.
Why the other options are wrong
- B. Cloud Storage is for object storage, not real-time message queuing.
- C. Cloud SQL is a relational database and not optimized for high-throughput stream ingestion.
- D. BigQuery is a data warehouse for analytics, not an ingestion service for real-time streams.
Cloud Pub/Sub
A fully managed, real-time messaging service that allows you to send and receive messages between independent applications.
- Asynchronous and scalable.
- Low-latency message delivery.
- Supports fan-out and fan-in patterns.
Memory trick: Publish and Subscribe, fast as a buzz, for your data rush.