
Answer-first summary for fast verification
Answer: Use the 'dependsOn' attribute to specify both 'DataTransformation' and 'DataValidation' as predecessors.
The correct approach is to use the 'dependsOn' attribute in the job configuration to specify both 'DataTransformation' and 'DataValidation' as predecessors. This ensures that 'DataExport' will only start after both 'DataTransformation' and 'DataValidation' have successfully completed, maintaining the task dependencies.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In a data processing pipeline, you have a task named 'DataExport' that must be executed only after both 'DataTransformation' and 'DataValidation' tasks are successfully completed. How would you set up the predecessor tasks in Jobs to ensure this dependency is met?
A
Use the 'dependsOn' attribute to specify both 'DataTransformation' and 'DataValidation' as predecessors.
B
Manually trigger 'DataExport' after checking the status of both 'DataTransformation' and 'DataValidation'.
C
Schedule 'DataExport' to start immediately after 'DataTransformation' and 'DataValidation'.
D
Use a custom script to monitor the completion of 'DataTransformation' and 'DataValidation' and then start 'DataExport'.