Databricks Certified Data Engineer - Associate

Databricks Certified Data Engineer - Associate

Get started today

Ultimate access to all questions.


Consider a scenario where you need to schedule a data processing job to run every day at midnight. How would you use CRON to set up this scheduling opportunity? Provide the CRON expression and explain its components.




Explanation:

The correct CRON expression for scheduling the job to run every day at midnight is '0 0 * * '. This expression consists of five fields: minutes, hours, day of the month, month, and day of the week. In this case, '0' specifies the minute and hour, and the asterisks () indicate any value for the day of the month, month, and day of the week, respectively.