
Explanation:
Option A stands out as the optimal choice for automating the deployment and scheduling of a batch data processing job with the Databricks CLI. Here's why:
databricks jobs create command facilitates setting up a new job in Databricks, including specifying the notebook path and cron schedule for timely execution.In summary, Option A delivers a thorough and effective method for automating batch data processing job deployment and scheduling with the Databricks CLI, guaranteeing smooth integration with existing CI/CD pipelines.
Ultimate access to all questions.
How can you leverage the Databricks CLI to automate the deployment and scheduling of a nightly batch data processing job, ensuring it works smoothly with your current CI/CD pipelines?
A
Develop a script that employs the Databricks CLI to establish a new job using the databricks jobs create command, detailing the notebook path and cron schedule.
B
Set up a Jenkins pipeline that calls the Databricks CLI to send Spark jobs via the databricks runs submit command every night.
C
Use the CLI to manually execute the databricks jobs run-now command within your CI/CD pipeline at a set time each night.
D
First configure the Databricks job through the UI, then use the CLI to initiate the job with databricks jobs run-now, embedding this command into a cron job on an external server.
No comments yet.