Databricks Machine Learning Professional exam dumps

Databricks Machine Learning Professional practice question 43 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 43

Select 3

A data scientist is working on a machine learning experiment in Databricks that involves training multiple models within a single workflow. They want to track runs for each model separately while keeping them organized under a single parent run. Which of the following requirements must be met to successfully track nested runs in Databricks?

  1. A

    The mlflow.start_run() function must be called with the nested=True parameter for child runs.

  2. B

    The parent run must be explicitly ended before starting any nested runs.

  3. C

    The MLflow experiment must be set using mlflow.set_experiment() before starting the parent run.

  4. D

    MLflow must be configured to use a tracking server, either local or remote.

  5. E

    The parent run ID must be manually passed when starting each child run.

Show answer and explanation

Correct answers: A, C, D

Explanation

To track nested runs in Databricks using MLflow, it is essential to configure the tracking environment properly by setting the experiment with mlflow.set_experiment() and ensuring MLflow is connected to a tracking server. When starting child runs, the nested=True parameter must be specified in mlflow.start_run() to designate them as nested. The parent run can remain active while nested runs are tracked. MLflow automatically manages relationships between parent and child runs, so manually passing parent run IDs is not required.

  • A. Correct.

    Correct: To enable nested runs in MLflow, the nested=True parameter must be passed when calling mlflow.start_run() for child runs.

  • B. Incorrect.

    Incorrect: The parent run does not need to be explicitly ended before starting nested runs. Nested runs can be tracked while the parent run is still active.

  • C. Correct.

    Correct: Setting the experiment using mlflow.set_experiment() ensures that all runs, including nested runs, are associated with the correct MLflow experiment.

  • D. Correct.

    Correct: MLflow must be properly configured with a tracking server (local or remote) to store and manage tracking information, including nested runs.

  • E. Incorrect.

    Incorrect: The parent run ID is automatically managed by MLflow when nested runs are created, so it does not need to be manually passed.

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