Google Cloud Digital LeaderSecurity and operations with Google CloudMedium
A manufacturing company uses Google Cloud for its operational technology (OT) data analytics platform. They collect vast amounts of sensor data from factory equipment and need to process it in real-time to detect anomalies and trigger alerts. Due to the high volume and velocity of data, they require a scalable, fully managed, and durable messaging service that can ingest millions of events per second. Which Google Cloud service is best suited for this requirement?
- ACloud Storage
- BCloud SQL
- CBigQuery
- DCloud Pub/Sub
Show answer & explanationAnswer & explanation
Correct answer: D. Cloud Pub/Sub
Cloud Pub/Sub is a fully managed real-time messaging service that can ingest and deliver millions of events per second. Its scalability, durability, and low-latency characteristics make it ideal for high-volume streaming data scenarios like IoT sensor data ingestion for real-time analytics.
Why the other options are wrong
- A. Cloud Storage is an object storage service, suitable for storing large amounts of data at rest but not for real-time message ingestion and delivery.
- B. Cloud SQL is a relational database service, not designed for high-volume, real-time event ingestion from streaming sources.
- C. BigQuery is a serverless, highly scalable data warehouse for analytics, suitable for analyzing large datasets but not primarily for real-time ingestion of individual messages.
Cloud Pub/Sub
A fully managed, real-time messaging service that allows you to send and receive messages between independent applications.
- Decouples senders and receivers (publishers and subscribers).
- Offers high scalability and durability.
- Supports both pull and push delivery mechanisms.
Memory trick: Pub/Sub Pulls, Pushes, and Processes Perfectly.