DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE · Question #51
In which of the following scenarios should a data engineer select a Task in the Depends On field of a new Databricks Job Task?
The correct answer is E. When another task needs to successfully complete before the new task begins. In Databricks Jobs, the 'Depends On' field is used to define task execution order by specifying prerequisite tasks. When you select a task in the 'Depends On' field, you are declaring that the new task should only begin after the selected task has successfully completed. This…
Question
Options
- AWhen another task needs to be replaced by the new task
- BWhen another task needs to fail before the new task begins
- CWhen another task has the same dependency libraries as the new task
- DWhen another task needs to use as little compute resources as possible
- EWhen another task needs to successfully complete before the new task begins
How the community answered
(42 responses)- A7% (3)
- C2% (1)
- D2% (1)
- E88% (37)
Explanation
In Databricks Jobs, the 'Depends On' field is used to define task execution order by specifying prerequisite tasks. When you select a task in the 'Depends On' field, you are declaring that the new task should only begin after the selected task has successfully completed. This creates a directed acyclic graph (DAG) of tasks where success is the trigger condition - not failure, not shared libraries, and not resource optimization. Options A, B, C, and D describe unrelated concerns; dependency chaining is strictly about execution sequencing based on successful completion.
Topics
Community Discussion
No community discussion yet for this question.