Your e-commerce company wants to capture click-stream events from mobile clients worldwide and feed them into a streaming analytics pipeline on Google Cloud. Peak traffic is expected to exceed five million events per second. The solution must deliver end-to-end latency under 100 ms, provide a multi-region SLA of at least 99.99 %, automatically scale without advance capacity planning, and require the least operational effort from the data engineering team. Which ingestion service should you implement as the streaming source?
Use Pub/Sub Lite single-zone topics with provisioned throughput partitions.
Write events as JSON files to Cloud Storage buckets for downstream processing.
Deploy a multi-zone Apache Kafka cluster on Google Kubernetes Engine with cluster autoscaling.
Publish events directly to Cloud Pub/Sub multi-region topics.
Cloud Pub/Sub is a fully managed, serverless, global messaging service that automatically scales to millions of messages per second without capacity planning. Multi-region topics provide a 99.99 % availability SLA and built-in cross-zone replication, helping you meet the latency and reliability targets with minimal operational work.
Running Apache Kafka on GKE would meet throughput but leaves cluster provisioning, replication, and upgrades to your team, violating the "least operational effort" requirement.
Pub/Sub Lite lowers cost but is zonal or regional, offers only a 99.95 % SLA, and requires pre-provisioned throughput, so it cannot guarantee the stated latency, availability, or auto-scaling goals.
Writing JSON files to Cloud Storage introduces batch latency that far exceeds the 100 ms threshold and is therefore unsuitable for real-time streaming ingestion.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Google Cloud Pub/Sub?
Open an interactive chat with Bash
How does Google Cloud Pub/Sub achieve high availability?
Open an interactive chat with Bash
Why is Pub/Sub a better choice than Apache Kafka on GKE for this scenario?
Open an interactive chat with Bash
What is Cloud Pub/Sub, and why is it suitable as an ingestion service for streaming analytics?
Open an interactive chat with Bash
What is the difference between Pub/Sub and Pub/Sub Lite, and how does this impact service selection?
Open an interactive chat with Bash
Why is Apache Kafka on Google Kubernetes Engine (GKE) less preferable for this solution?
Open an interactive chat with Bash
GCP Professional Data Engineer
Ingesting and processing the data
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .