Databricks Data Engineer Associate Question 440
Select 3You are working on a Databricks Job that processes customer transaction data. The job has multiple tasks, and a specific task failed during its execution. You need to identify the root cause of the failure by reviewing the task's execution history. Which of the following actions should you perform to access the task's execution history?
- A
Navigate to the 'Tasks' tab of the job in the Databricks workspace and click on the specific task to view its execution details.
- B
Review the logs in the 'Driver Logs' section of the cluster associated with the job.
- C
Open the 'Run History' tab of the job and select the run instance to view details for all tasks, including the failed task.
- D
Access the 'Cluster Event Logs' to find the task execution history.
- E
Download the job run's logs from the 'Job Details' page for further analysis.
Show answer and explanation
Correct answers: A, C, E
Explanation
To review a task's execution history in Databricks, you can use the 'Tasks' tab for detailed task-specific details, the 'Run History' tab for overall job run details, or download the job run's logs for offline analysis. These methods provide comprehensive insights to troubleshoot task failures effectively.
- A. Correct.
Correct. The 'Tasks' tab provides detailed information about individual task execution history, including failures.
- B. Incorrect.
Incorrect. While the 'Driver Logs' are helpful for debugging issues in Spark jobs, they do not provide detailed task-level execution history.
- C. Correct.
Correct. The 'Run History' tab allows you to view the execution details for each run, including specific task details.
- D. Incorrect.
Incorrect. The 'Cluster Event Logs' contain information about cluster-level events and are not specific to task-level execution history.
- E. Correct.
Correct. Downloading the job run's logs from the 'Job Details' page can help you analyze execution history offline or in external tools.