Databricks Certified Data Engineer Professional — Question 215
A data engineer wants to create a cluster using the Databricks CLI for a big ETL pipeline. The cluster should have five workers and one driver of type i3.xlarge and should use the '14.3.x-scala2.12' runtime.
Which command should the data engineer use?
Answer options
- A. databricks compute add 14.3.x-scala2.12 --num-workers 5 --node-type-id i3.xlarge --cluster-name Data Engineer_cluster
- B. databricks clusters create 14.3.x-scala2.12 --num-workers 5 --node-type-id i3.xlarge --cluster-name Data Engineer_cluster
- C. databricks compute create 14.3.x-scala2.12 --num-workers 5 --node-type-id i3.xlarge --cluster-name Data Engineer_cluster
- D. databricks clusters add 14.3.x-scala2.12 --num-workers 5 --node-type-id i3.xlarge --cluster-name Data Engineer_cluster
Correct answer: B
Explanation
The correct command is B because 'databricks clusters create' is the proper command for initiating a new cluster with the specified configuration. Option A and C incorrectly use 'compute' instead of 'clusters', while option D suggests adding to an existing cluster, which is not applicable here since a new cluster needs to be created.