Databricks Data Engineer Professional exam dumps

Databricks Data Engineer Professional practice question 306 of 313

Databricks Certified Data Engineer Professional. Professional level, Databricks. Free question with the correct answer and a full explanation.

Databricks Data Engineer Professional Question 306

Select 2

You are a data engineer tasked with deploying a Databricks job using the Databricks CLI. The job executes a notebook that performs ETL operations on a Delta table. After deploying the job, you need to monitor its execution and retrieve its run status. Which set of Databricks CLI commands would you use to achieve this?

  1. A

    Use the databricks jobs create command to deploy the job and the databricks jobs list command to retrieve the job's status.

  2. B

    Use the databricks jobs create command to deploy the job and the databricks jobs run-now command to trigger the job and monitor its run status.

  3. C

    Use the databricks jobs upload command to deploy the job and the databricks jobs runs-get command to retrieve the job's run status.

  4. D

    Use the databricks jobs create command to deploy the job and the databricks jobs runs-get command to monitor the job's execution.

  5. E

    Use the databricks jobs run-now command to deploy and trigger the job and the databricks jobs runs-list command to monitor the job's execution history.

Show answer and explanation

Correct answers: B, D

Explanation

To deploy a Databricks job using the CLI, the databricks jobs create command is used. To monitor the job, you can either trigger it using databricks jobs run-now or retrieve its status with databricks jobs runs-get. Both approaches are valid for deployment and monitoring, making options 2 and 4 correct.

  • A. Incorrect.

    The databricks jobs create command is valid for deploying a job, but the databricks jobs list command only lists jobs and does not provide specific run status details.

  • B. Correct.

    This is correct. The databricks jobs create command is used to deploy the job, and the databricks jobs run-now command triggers the job and provides details about the run.

  • C. Incorrect.

    The databricks jobs upload command is invalid for job deployment. The databricks jobs runs-get command can retrieve specific run details, but the deployment step here is incorrect.

  • D. Correct.

    This is correct. The databricks jobs create command is used to deploy the job, and the databricks jobs runs-get command retrieves the status of a specific job run.

  • E. Incorrect.

    The databricks jobs run-now command can trigger a job but cannot deploy it. Additionally, while the databricks jobs runs-list command provides a history of runs, it is not specific to monitoring a single job's execution in real-time.

Timed practice exam

Take a Databricks Data Engineer Professional practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam