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

1 hour, 58 minutes remaining!

GCP Professional Data Engineer Practice Question

You are troubleshooting a Looker Studio dashboard backed by a BigQuery view. Execution details for the slowest query show: Stage 1 scans table sales_raw (5.2 TB), no partition pruning; a filter on event_date BETWEEN DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY) AND CURRENT_DATE() is present. Later stages repartition for joins and aggregate only 50 GB. The table is an unpartitioned, unclustered BigQuery managed table that receives daily appends. Without changing business logic, which action will most effectively lower both query latency and cost?

  • Purchase a large dedicated slot reservation to increase parallelism for all queries against the dataset.

  • Convert the existing query into an unpartitioned materialized view that refreshes daily to avoid recomputation.

  • Load sales_raw into a new daily partitioned table and cluster it by the frequently filtered region column, then update the view to read from this table.

  • Keep the table unchanged but force query result caching by adding the clause OPTIONS(use_cache=true).

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