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

11 minutes, 6 seconds remaining!

GCP Professional Data Engineer Practice Question

Your retail analytics team is migrating an on-premises star schema to BigQuery. The Sales fact table currently has foreign keys to the Customer, Store, Product, and Date dimensions. Analysts now need to compare the order date with the refund date for the same transaction in a single query while preserving star-schema best practices. Which modeling change most directly satisfies the new reporting requirement?

  • Store the refund date as a TIMESTAMP column in the Sales fact table and stop joining to a Date dimension for that value.

  • Add refund_date_key as a second foreign key in the Sales fact table that points to the shared Date dimension (a role-playing dimension).

  • Create a separate Refund fact table with its own customer and product keys and link both fact tables in queries.

  • Add an is_refund column to the Customer dimension to flag transactions that were returned.

GCP Professional Data Engineer
Storing the data
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