Question 1
A model registered in Unity Catalog has versions 1–5. Which URI loads version 3?
Correct answer
models:/ml.churn.churn_model/3
Explanation
Version numbers are referenced with /<version>; aliases use @<alias>.
databricks Machine Learning Associate · Practice questions
Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.
Sign up free for the full quizA model registered in Unity Catalog has versions 1–5. Which URI loads version 3?
models:/ml.churn.churn_model/3
Version numbers are referenced with /<version>; aliases use @<alias>.
Which statement about runs and nested runs in MLflow is correct?
start_run(nested=True) groups child runs under a parent
Nested runs organize related trials under a parent for easier comparison.
Which code creates a feature table in Unity Catalog from a Spark DataFrame user_df with key user_id?
fe.create_table(name='ml.recsys.user_features', primary_keys=['user_id'], df=user_df, description='User features')
FeatureEngineeringClient.create_table creates a Unity Catalog feature table with primary keys and optionally writes the DataFrame.
Which statement about mlflow.autolog() is correct?
It logs params, metrics and models for supported libraries automatically
Autologging hooks into supported libraries (for example scikit-learn, XGBoost, PyTorch) and records params, metrics and models during fit. Call it before training.
A team wants to retrieve the run ID of the model version currently aliased champion. Which call returns the version details?
client.get_model_version_by_alias('ml.churn.churn_model', 'champion')
get_model_version_by_alias returns the ModelVersion, including its run_id and source.
Which statement about MLflow experiments is correct?
It groups runs with their params, metrics and artifacts
Experiments organize runs for comparison and reproducibility.
A team is moving from workspace-local feature tables to Unity Catalog feature tables. Which benefit do Unity Catalog feature tables provide?
Central governance and reuse across all workspaces on the metastore, with lineage
Feature tables in Unity Catalog are Delta tables governed at the account level: shared across workspaces, permissioned with Unity Catalog, and tracked with lineage to models.
Which statement about offline and online feature tables is correct?
Offline tables serve training and batch; online stores serve real-time lookups
Offline feature tables support high-throughput training and batch inference; online stores provide millisecond lookups for serving endpoints.
Which factor favors 'deploy code' for a model that trains in 10 minutes on sensitive data only accessible in production?
Training needs production data and is cheap to rerun
When production data cannot be accessed elsewhere and training is cheap, deploying code lets production train on its own data.
Two runs differ only by learning rate. In the MLflow compare view, which chart helps see how learning rate relates to the validation metric across many runs?
Parallel coordinates or parameter-versus-metric scatter
Compare views offer parallel coordinates, scatter and contour plots relating parameters and metrics.
Create a free QuizAnalyst account to practice the complete question set and save your progress.
Sign up free for the full quiz