Databricks Machine Learning Associate Question 38
Single answerYou are tasked with creating a Databricks cluster optimized for machine learning workloads. Which of the following steps ensures that the cluster uses the Databricks Runtime for Machine Learning?
- A
Select the Databricks Runtime for Machine Learning from the 'Runtime version' dropdown while creating the cluster.
- B
Manually install all the required ML libraries after creating a standard Databricks cluster.
- C
Choose the 'Standard Runtime' and enable the 'Machine Learning Libraries' option in the cluster settings.
- D
Use a Community Edition cluster, as it automatically includes the Databricks Runtime for Machine Learning.
Show answer and explanation
Correct answer: A
Explanation
The Databricks Runtime for Machine Learning is specifically designed to support machine learning and deep learning tasks. It includes pre-installed libraries such as TensorFlow, Keras, PyTorch, and scikit-learn, among others. To use it, you must explicitly select it from the 'Runtime version' dropdown menu when creating a cluster. Other methods, such as manually installing libraries or relying on the Community Edition, do not provide the same level of optimization.
- A. Correct.
This is correct. To use the Databricks Runtime for Machine Learning, you need to explicitly select it from the 'Runtime version' dropdown when configuring the cluster.
- B. Incorrect.
This is incorrect. Manually installing libraries is error-prone and unnecessary, as the Databricks Runtime for Machine Learning comes pre-configured with commonly used ML libraries.
- C. Incorrect.
This is incorrect. There is no 'Machine Learning Libraries' option in the cluster settings, and the Standard Runtime does not include ML optimizations by default.
- D. Incorrect.
This is incorrect. While Community Edition clusters are free, they do not automatically include the Databricks Runtime for Machine Learning.