Your company streams 5 million web-click events per minute from Cloud Pub/Sub. Data analysts need to run ad-hoc SQL queries and build near-real-time Looker Studio dashboards with sub-second response times on the latest 90 days of data, which may grow to several petabytes. You must choose a managed storage solution that minimizes operational overhead while meeting these analytical requirements. Which design best satisfies the business goals?
Persist events in Cloud Bigtable and expose them to analysts via custom aggregation services that query Bigtable through client libraries.
Write events as daily Avro files to Cloud Storage, then load them hourly into a scaled-up Cloud SQL instance for reporting queries.
Use Dataflow's streaming connector to write events into an ingestion-time-partitioned BigQuery table and power dashboards through BigQuery BI Engine.
Ingest events into Cloud Spanner and query them from BigQuery using federated connections for dashboarding.
Writing the streaming events from Dataflow directly into a BigQuery table that is partitioned (for example, by ingestion time) lets new rows become queryable within seconds. BigQuery's serverless architecture automatically scales storage and compute to petabyte levels, eliminating cluster management. Enabling BigQuery BI Engine on the 90-day dataset keeps frequently accessed data in memory, giving Looker Studio dashboards sub-second performance without additional infrastructure.
In contrast, Cloud Bigtable provides low-latency key-value access but no native SQL and would require custom aggregation services. Cloud SQL cannot sustain millions of events per minute or scale to multi-petabyte volumes. Cloud Spanner is optimized for globally consistent OLTP workloads; using BigQuery federated queries on Spanner would add cost and complexity while still limiting scan performance for analytical dashboards.
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 BigQuery BI Engine, and how does it improve query performance?
Open an interactive chat with Bash
How does Cloud Pub/Sub facilitate streaming data into BigQuery?
Open an interactive chat with Bash
Why is partitioning data by ingestion time key for BigQuery performance?
Open an interactive chat with Bash
What is BigQuery BI Engine?
Open an interactive chat with Bash
How does ingestion-time partitioning work in BigQuery?
Open an interactive chat with Bash
Why is Cloud Bigtable not ideal for SQL-based analytics?
Open an interactive chat with Bash
GCP Professional Data Engineer
Storing 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
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .