Databricks Certified Data Engineer Associate — Question 51
A data engineer has a single-task Job that runs each morning before they begin working. After identifying an upstream data issue, they need to set up another task to run a new notebook prior to the original task.
Which approach can the data engineer use to set up the new task?
Answer options
- A. They can clone the existing task in the existing Job and update it to run the new notebook.
- B. They can create a new task in the existing Job and then add it as a dependency of the original task.
- C. They can create a new task in the existing Job and then add the original task as a dependency of the new task.
- D. They can create a new job from scratch and add both tasks to run concurrently.
Correct answer: B
Explanation
The correct answer is B because it allows the new task to run before the original task by establishing a dependency. Option A is incorrect because cloning the task does not address the need for a new task to run prior. Option C reverses the dependency, which would not achieve the desired order of execution. Option D creates unnecessary complexity by starting a new job instead of modifying the existing one.