GCP Professional Data Engineer Practice Question

Your team maintains a 5-TB denormalized sales table in BigQuery that feeds several Looker Studio dashboards. Each dashboard refreshes every few minutes by running an identical SQL statement that calculates yesterday's total revenue, order count, and average order value per region, product category, and channel. Users report 10-second load times, and Finance is concerned about steadily rising query costs. You cannot modify the SQL embedded in the dashboards, but results must always be no more than 30 minutes behind the source table. Which architectural change will most effectively cut both latency and cost without requiring changes in the BI tool?

  • Purchase and assign sufficient BigQuery BI Engine in-memory capacity to the project so dashboards can read from the in-memory cache instead of the underlying table.

  • Create a materialized view that pre-aggregates yesterday's revenue, order count, and average order value by region, product, and channel, schedule its automatic refresh, and let BigQuery's optimizer transparently rewrite the existing dashboard queries to use it.

  • Rely on BigQuery's default query result cache and instruct dashboard owners to enable use cached results in every report.

  • Convert the sales table to a daily partitioned and region-clustered table so that queries read only the latest partition and clustered ranges.

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