Databricks Machine Learning Associate exam dumps

Databricks Machine Learning Associate practice question 31 of 656

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

Databricks Machine Learning Associate Question 31

Single answer

You are tasked with building a machine learning pipeline using Databricks Jobs. The pipeline includes three tasks: data preprocessing (Task A), model training (Task B), and model evaluation (Task C). Task B should only start after Task A completes, while Task C should only start after Task B completes. How should you configure the Databricks Job to orchestrate this workflow?

  1. A

    Create a single task in the Databricks Job that combines all three steps in one notebook.

  2. B

    Set up three separate tasks in the Databricks Job, with Task B depending on Task A and Task C depending on Task B.

  3. C

    Use Databricks Workflows to manually trigger each task in the correct order after the previous task completes.

  4. D

    Configure Task A, Task B, and Task C to run in parallel in the Databricks Job.

Show answer and explanation

Correct answer: B

Explanation

Databricks Jobs allow you to orchestrate multi-task ML workflows by defining tasks and their dependencies. In this scenario, setting up separate tasks for data preprocessing, model training, and model evaluation, and defining dependencies between these tasks ensures that the workflow executes in the correct order. This approach is modular, scalable, and takes full advantage of Databricks Jobs' orchestration capabilities.

  • A. Incorrect.

    Combining all three steps in one notebook would reduce modularity and make debugging or scaling specific steps of the pipeline more difficult. It is not an optimal approach for orchestrating workflows in Databricks Jobs.

  • B. Correct.

    This is the correct answer. Configuring separate tasks with dependencies ensures that the tasks are executed in the correct order, and the workflow is modular, maintainable, and scalable.

  • C. Incorrect.

    Manually triggering tasks defeats the purpose of using Databricks Jobs, which automate task orchestration and execution.

  • D. Incorrect.

    Running all tasks in parallel would not respect the dependencies between tasks, leading to incorrect execution of the pipeline.

Timed practice exam

Take a Databricks Machine Learning Associate practice test under exam conditions

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

Start timed exam