Google Cloud Digital LeaderSecurity and operations with Google CloudHard
A global manufacturing company needs to collect operational data from thousands of IoT devices deployed in various factories. This data needs to be ingested reliably and processed in real-time for anomaly detection and predictive maintenance. Which Google Cloud service is best suited for high-throughput, low-latency messaging between these devices and backend analytics systems?
- ACloud SQL
- BCloud Storage
- CBigQuery
- DCloud Pub/Sub
Show answer & explanationAnswer & explanation
Correct answer: D. Cloud Pub/Sub
Cloud Pub/Sub is a highly scalable, asynchronous messaging service designed for ingesting and delivering events at high throughput and low latency, making it ideal for IoT data streams and real-time processing.
Why the other options are wrong
- A. Cloud SQL is a relational database and not designed for high-throughput, low-latency streaming ingestion from thousands of devices.
- B. Cloud Storage is for storing large objects, not for real-time message ingestion.
- C. BigQuery is a data warehouse for analytics, not an ingestion service for real-time device data.
Cloud Pub/Sub
Cloud Pub/Sub is a real-time messaging service that allows you to send and receive messages between independent applications, enabling scalable event-driven architectures.
- Asynchronous, decoupled communication.
- Globally available, high throughput, low latency.
- Supports fan-out to multiple subscribers.
- Often used for IoT, streaming analytics, and microservices communication.
Memory trick: Pub/Sub handles the flood of IoT data.