CertKeen

Google Cloud Professional Machine Learning Engineer · Free practice question 12 of 12

Point-in-time joins for training data

Ravelston Credit builds training data by joining loan applications with customer features, but it joined each application to the customers' current feature values. Offline accuracy is far higher than production accuracy. How should the training data be built instead?

  1. A.Join each application to the latest feature values available today
  2. B.Drop all customer features from the model
  3. C.Join each application to the feature values as of the application timestamp, using a point-in-time lookup
  4. D.Join each application to the average feature values over all time
Show answer and explanation

Correct answer: C. Join each application to the feature values as of the application timestamp, using a point-in-time lookup

Why: Using current or all-time values leaks information from after the application date into training, inflating offline metrics; a point-in-time lookup, such as Feature Store historical retrieval or ML.ENTITY_FEATURES_AT_TIME in BigQuery (which takes a separate cutoff time for each entity row), returns the values that existed at each application's timestamp. Dropping the features throws away signal rather than fixing the leakage.

More free Google Cloud Professional Machine Learning Engineer questions