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

11 minutes, 6 seconds remaining!

GCP Professional Data Engineer Practice Question

A fintech company ingests about 20 GB of new transaction records into a 5 TB BigQuery table each day. The table is partitioned by an ingestion_date column. Their Looker Studio dashboards repeatedly run the same ad-hoc SQL that aggregates total transaction_amount by customer_id and transaction_date, usually filtered to the last 90 days. Analysts complain that charts load slowly, and the BI team wants an acceleration method that (1) requires no changes to existing Looker queries, (2) keeps results less than five minutes behind new ingests, and (3) minimizes additional cost. Which approach best meets these requirements?

  • Export the last 90 days of data to Cloud Storage each night, define an external table over the exported files, and point Looker dashboards to that external table.

  • Enable BigQuery BI Engine with a memory reservation large enough to hold the most recent 90 days of data; let Looker dashboards automatically benefit from the in-memory cache.

  • Schedule a query every four hours to write the 90-day customer-level aggregates into a new table, then update all Looker reports to use this table instead of the original.

  • Create a partitioned materialized view that groups by customer_id and transaction_date, turn on automatic refresh, and rely on BigQuery's query-rewrite to make Looker dashboards hit the view instead of the base table.

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