Databricks-ML-Assoc Model Development Practice Question
Which TWO of the following practices are recommended when performing feature engineering on Databricks using Feature Store to ensure consistency between training and inference?
⚠ Common exam trap
Candidates often select manual data joins or custom local scripts, ignoring Feature Store client lookups and primary keys that guarantee consistency.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Register feature tables in the Databricks Feature Store with unique primary keys.
Feature Store ensures that the exact same transformation logic used during model training is accessible during low-latency inference. By utilizing the Feature Store's unified interface, data scientists prevent training-serving skew, which is a common cause of poor model performance in production. This practice promotes reproducibility and streamlines the deployment pipeline by decoupling data preparation from model training code, ensuring that production features are calculated reliably using the same definitions as training features.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Hardcode all feature transformation logic directly into the model training notebook.
Why it's wrong here
Hardcoding logic leads to training-serving skew, as the same code must be perfectly replicated in the inference environment. If the transformation logic is not managed centrally by the Feature Store, inconsistencies inevitably emerge when data scientists update training pipelines without updating the corresponding production inference service code accordingly.
- ✓
Register feature tables in the Databricks Feature Store with unique primary keys.
Why this is correct
Assigning unique primary keys to feature tables is essential for the Feature Store to perform accurate lookups during the model inference phase. These keys enable the service to retrieve the correct feature values for specific entities, ensuring that the model receives consistent inputs regardless of whether it is training or inferring.
- ✗
Calculate features in real-time within the model inference endpoint only.
Why it's wrong here
Calculating features only at inference time creates an inconsistency with how the model was trained. The Feature Store is designed to serve pre-calculated or batch-calculated features to ensure that the model receives the exact same data distribution during inference as it observed during its initial development phase.
- ✓
Use the Feature Store client to join features with training data using lookup keys.
Why this is correct
The Feature Store client provides a streamlined interface for joining features into a training dataset. By using these formal lookups, developers ensure that the data used during training is retrieved using the same criteria and keys that the production service will use during real-time online inference requests.
- ✗
Avoid using time-based features to ensure the model remains simple.
Why it's wrong here
Time-based features are often critical for capturing trends and seasonality in machine learning models. Discouraging their use limits the model's predictive capacity. Feature Store supports point-in-time joins, which allow developers to correctly incorporate time-varying data without introducing data leakage, making them a powerful tool for sophisticated model development.
About these practice questions
This Databricks-ML-Assoc question is part of Courseiva's 319-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Databricks exam blueprint
This Databricks-ML-Assoc practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-ML-Assoc exam.