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.
An enterprise is migrating a large retail data warehouse to BigQuery. The legacy data warehouse uses a normalized snowflake schema consisting of separate tables for orders, line_items, and item_promotions. Analytical workloads frequently execute multi-table joins across these tables, resulting in extensive distributed data shuffling, high slot consumption, and slow query execution.
The data engineering team needs to redesign the schema to optimize query execution and minimize join overhead while preserving the granular one-to-many hierarchical relationships between orders, items, and promotions.
Which schema optimization strategy should the data engineering team implement?
Nested and repeated fields (ARRAY>) in BigQuery allow hierarchical, one-to-many, and many-to-many relationships to be preserved inside a single table row rather than being split across normalized relational tables.
JOIN operations in star and snowflake schemas.UNNEST operator (such as LEFT JOIN UNNEST(...)) without scanning external tables or performing cross-worker network communication.Compared to flat wide tables or traditional snowflake schemas, nested and repeated fields provide the optimal balance in BigQuery by eliminating costly multi-node joins while preventing data redundancy anomalies.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.