Google Cloud Digital LeaderData and AI with Google CloudMedium
A logistics company wants to predict potential delays in their supply chain by analyzing real-time sensor data from trucks, weather forecasts, and traffic conditions. They need a service that can ingest and process high-throughput event streams and perform real-time analytics. Which Google Cloud product is most suitable for this task?
- ACloud SQL
- BBigQuery
- CCloud Storage
- DCloud Pub/Sub
Show answer & explanationAnswer & explanation
Correct answer: D. Cloud Pub/Sub
Cloud Pub/Sub is a real-time messaging service designed for ingesting and delivering high volumes of events. It's ideal for decoupling systems and enabling real-time analytics by acting as a central hub for streaming data from various sources before further processing.
Why the other options are wrong
- A. Cloud SQL is a relational database, not designed for high-throughput event streaming.
- B. BigQuery is a data warehouse for analytics, not primarily for real-time stream ingestion itself.
- C. Cloud Storage is an object storage service, not for real-time stream ingestion.
Cloud Pub/Sub
A fully managed, real-time messaging service that allows you to send and receive messages between independent applications.
- Scalable and durable for high-throughput event streams.
- Decouples senders and receivers.
- Enables real-time analytics and data integration.
Memory trick: Pub/Sub is like a super-fast post office for all your real-time data.