🔥 40% Off Crucial Exams Memberships — Deal ends today!

11 minutes, 0 second remaining!

GCP Professional Data Engineer Practice Question

A 5-TB BigQuery table stores raw sales transactions. A Looker Studio dashboard refreshes every hour by running an unchanged SQL query that calculates total revenue per product category for the last seven days. Each refresh now scans the full table, costs several dollars, and takes about 15 seconds. You need to bring query latency under two seconds and cut per-refresh cost, while requiring little or no modification to the existing dashboard query. Which solution best meets these goals?

  • Partition the sales table by date and cluster it on product category, then instruct report authors to include the date filter so only the last seven days are scanned.

  • Purchase a 20 GB BigQuery BI Engine reservation so the dashboard queries are cached in memory without adjusting the underlying data model.

  • Nightly export the most recent seven days of transactions to Cloud Bigtable, create an external table on top of it, and repoint the dashboard to query Bigtable instead of BigQuery.

  • Create a materialized view that pre-aggregates last-seven-day revenue by product category and rely on BigQuery's automatic query rewrite so the dashboard continues to run its existing SQL against the cached results.

GCP Professional Data Engineer
Preparing and using data for analysis
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot