Databricks Data Engineer Associate Question 42
Select 3You are managing a Databricks cluster that has been running for an extended period. To optimize cloud costs, you decide to terminate the cluster. Which of the following statements are true about the impact of terminating a Databricks cluster?
- A
Terminating a cluster deletes all associated notebooks stored in the workspace.
- B
Terminating a cluster stops all running jobs and releases the cluster's cloud resources.
- C
All data stored on the cluster's driver node is lost once the cluster is terminated.
- D
Terminating a cluster automatically deletes all Delta tables stored in cloud storage.
- E
Cluster termination does not affect any external storage or data sources connected to the cluster.
Show answer and explanation
Correct answers: B, C, E
Explanation
Terminating a Databricks cluster stops all running jobs, releases cloud resources, and removes ephemeral local data stored on the cluster nodes (e.g., driver or worker nodes). However, external assets such as notebooks, Delta tables, and data in external storage remain unaffected since they are not tied to the cluster lifecycle.
- A. Incorrect.
Notebooks are stored in the Databricks workspace and are not tied to the cluster lifecycle. Terminating a cluster does not delete notebooks.
- B. Correct.
This is correct. Terminating a cluster stops all active jobs and releases the cloud resources allocated to the cluster, such as compute and memory.
- C. Correct.
This is correct. Data stored locally on the cluster's driver node is ephemeral and will be lost when the cluster is terminated.
- D. Incorrect.
Delta tables are stored in external cloud storage (e.g., S3, ADLS, GCS) and are not impacted by cluster termination.
- E. Correct.
This is correct. External storage systems or connected data sources are not affected when a cluster is terminated. They remain intact and usable.