Databricks Certified Data Engineer Associate — Question 156

A Databricks single-task workflow fails at the last task due to an error in a notebook. The data engineer fixes the mistake in the notebook.

What should the data engineer do to rerun the workflow?

Answer options

Correct answer: B

Explanation

The correct answer is B, as rerunning the pipeline will execute the workflow from the beginning with the corrected notebook. Option A is incorrect because simply repairing the task does not trigger a rerun of the entire workflow. Option C is not necessary, as restarting the cluster does not impact the execution of the workflow. Option D is also incorrect because switching the cluster does not resolve the issue with the notebook error.