practice sheet · all objectives switch to smart practice →
Databricks Certified Machine Learning Professional
A data scientist wants to run Optuna hyperparameter optimization in a distributed manner across a multi-node Databricks cluster, with each trial's outcome logged to an MLflow experiment, and with minimal setup. Which approach meets these requirements?
Explanation
Provide the MLflow Experiment ID to Optuna's MLflowCallback function and then use MlflowSparkStudy to distribute the trials across the multi-node Databricks cluster.
A data scientist performs hyperparameter tuning with k-fold cross-validation and then retrains the best model on the full training set. Using MLflow, they need to track metrics/hyperparameters per configuration, associate the final model with the search process, and enable easy comparison in the MLflow UI. Which run structure best satisfies these needs?
Explanation
Use nested runs with a parent run for the entire experiment, child runs for each hyperparameter set (logging aggregated CV metrics), and the final model
Locked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to review