GCP Professional Data Engineer Practice Question

A Looker Studio dashboard executes the same query dozens of times per hour: it left-joins a 2-billion-row sales fact table with three small dimension tables, filters on a date range, then aggregates by date and marketing channel. Each refresh currently takes about 25 seconds. The SQL behind the widgets cannot be modified, and you want to speed up the dashboard without scheduling additional batch jobs. Which approach best meets these requirements?

  • Schedule an hourly job that writes a new denormalized table containing the joined and aggregated data, then update the dashboard to query that table.

  • Purchase 100 GB of BI Engine capacity so the dashboard queries are cached in memory while leaving the current schema unchanged.

  • Enable automatic re-clustering on all four tables using the join keys so the existing join executes faster during every dashboard refresh.

  • Create a materialized view that joins the fact table with the three dimensions, applies the date filter and aggregation, and rely on BigQuery's automatic query rewrite so the dashboard transparently reads from the materialized view.

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