Databricks Machine Learning Professional exam dumps

Databricks Machine Learning Professional practice question 41 of 280

Databricks Certified Machine Learning Professional. Professional level, Databricks. Free question with the correct answer and a full explanation.

Databricks Machine Learning Professional Question 41

Select 2

You are training multiple machine learning models in a Databricks notebook and want to track each model's metrics and parameters separately while maintaining a hierarchical relationship between runs. What are the requirements for enabling nested runs in MLflow?

  1. A

    Ensure that the MLflow tracking server is running

  2. B

    Set the nested=True argument when starting child runs using mlflow.start_run()

  3. C

    Enable the nested_runs_enabled configuration in the MLflow tracking server settings

  4. D

    Start the parent run using mlflow.start_run() before starting any child runs

  5. E

    Use a unique experiment ID for each nested run

Show answer and explanation

Correct answers: B, D

Explanation

To track nested runs in MLflow, you need to first start a parent run using mlflow.start_run() and then start each child run with the nested=True parameter. This ensures that child runs are properly nested under the parent run and their metrics, parameters, and artifacts are hierarchically organized. Other options, such as specific server-side configurations or unique experiment IDs, are not required for nested runs.

  • A. Incorrect.

    MLflow tracking server must be running to log runs, but it is not a specific requirement for tracking nested runs. Nested runs are supported by default in MLflow without additional server-side configuration.

  • B. Correct.

    The nested=True argument is required when starting a child run using mlflow.start_run() to indicate that the run should be nested under the currently active parent run.

  • C. Incorrect.

    There is no nested_runs_enabled configuration in the MLflow tracking server. Nested runs are a client-side feature and do not require server-side settings.

  • D. Correct.

    A parent run must be started using mlflow.start_run() before any child runs. Without an active parent run, child runs cannot be nested.

  • E. Incorrect.

    Using a unique experiment ID for each nested run is not necessary. Nested runs can be tracked within the same experiment.

Timed practice exam

Take a Databricks Machine Learning Professional practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam