professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your organization uses a Looker dashboard connected to BigQuery to analyze sales performance. The dashboard displays the current month's data and relies on a query that joins a massive sales_fact table with multiple smaller dimension tables.
Users are reporting high dashboard latency, and the repeated execution of these complex joins is driving up analytical costs. You need to optimize the data layout and leverage BigQuery BI Engine to minimize query latency and reduce costs.
What should you do?
BigQuery BI Engine is a fast, in-memory analysis service that accelerates SQL queries by intelligently caching frequently used data. Materialized views are precomputed views that periodically cache the results of a query, such as complex joins or aggregations.
BI Engine works best with pre-joined or pre-aggregated data. Using a materialized view to flatten the data structure is the recommended best practice for optimizing performance. Furthermore, BigQuery requires that both the materialized view and its base tables be designated as preferred tables for the acceleration to occur, making this the only technically correct configuration.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.