Databricks Machine Learning Associate Question 37
Single answerYou are tasked with running a machine learning experiment on Databricks. The experiment requires pre-installed libraries such as TensorFlow and PyTorch. Which of the following steps should you take to ensure the cluster is optimally configured for machine learning workflows?
- A
Create a cluster using the Databricks Runtime version 13.3 or later.
- B
Create a cluster using the Databricks Runtime for Machine Learning.
- C
Manually install TensorFlow and PyTorch on a standard Databricks Runtime cluster.
- D
Use a cluster with the Databricks Runtime for Genomics.
Show answer and explanation
Correct answer: B
Explanation
The Databricks Runtime for Machine Learning is specifically designed for machine learning and data science workflows, providing pre-installed libraries and an optimized environment. This eliminates the need to manually configure the cluster for machine learning tasks, saving time and reducing the risk of configuration errors.
- A. Incorrect.
Databricks Runtime version 13.3 or later is a generic runtime and doesn't include pre-installed machine learning libraries. Therefore, it is not specific to machine learning workflows.
- B. Correct.
The Databricks Runtime for Machine Learning includes pre-installed machine learning libraries like TensorFlow, PyTorch, and scikit-learn, making it the optimal choice for machine learning workflows.
- C. Incorrect.
Manually installing TensorFlow and PyTorch is unnecessary and inefficient when using the Databricks Runtime for Machine Learning, which already includes these libraries.
- D. Incorrect.
The Databricks Runtime for Genomics is designed for genomics-specific workflows, not general machine learning tasks.