GCP Professional Data Engineer Practice Question

A retailer maintains an unpartitioned BigQuery table that receives frequent streaming inserts with new transactions. Analysts complain that their daily dashboard loads slowly because it runs an expensive aggregation over the last 7 days of data. You are asked to speed up the dashboard while keeping the data no more than 30 minutes behind the source. You create a BigQuery materialized view that pre-aggregates the last 7 days of sales by store and product. Which statement correctly describes how this materialized view will stay up-to-date once it is in production?

  • BigQuery refreshes the materialized view only when you explicitly run a query against it; until then it remains stale regardless of incoming data.

  • You must create a Cloud Scheduler job that calls the BigQuery Jobs API to rewrite the view every 30 minutes, because BigQuery materialized views do not refresh on their own.

  • The materialized view refreshes only once per day at 00:00 UTC, so you should partition the base table and use partition decorators to shorten lag.

  • BigQuery automatically performs incremental refreshes of the materialized view shortly after new rows are written to the underlying transactions table; no manual job or scheduler is required.

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