Question 1
An If/else condition task compares {{job.parameters.env}} == 'prod'. What does the task do?
- It fails the job when the value is not prod
- It changes the job's target environment
- It deploys the bundle to production
- It routes execution to the true or false branch — Correct
Correct answer
It routes execution to the true or false branch
Explanation
Condition tasks evaluate comparisons on parameters or task values and control which dependent tasks run.
Question 2
A job has a SQL task that runs a query against a SQL warehouse to refresh a summary table. Which statement is correct?
- SQL tasks require a notebook wrapper
- They run SQL on a SQL warehouse — Correct
- SQL tasks run on the job cluster's driver only
- SQL tasks can only read data, not write
Correct answer
They run SQL on a SQL warehouse
Explanation
SQL tasks execute saved queries, SQL files, dashboards or alerts on a SQL warehouse.
Question 3
A job must branch: if the row count of new data is zero, skip the transformation tasks; otherwise run them. Which task type supports this?
- Dashboard task
- Python wheel task
- Run Job task with a row count parameter
- If/else condition task — Correct
Correct answer
If/else condition task
Explanation
An If/else condition task evaluates a condition (for example on a task value or parameter) and routes execution to the true or false branch.
Question 4
A cleanup task must run after two upstream tasks finish, whether they succeed or fail. Which Run if condition should be used for the cleanup task?
- At least one succeeded
- None failed
- All done — Correct
- All succeeded
Correct answer
All done
Explanation
All done runs the task once all dependencies have completed, regardless of their outcome.
Question 5
Which statement about the job queue setting is correct?
- Runs blocked by concurrency limits are queued, not skipped — Correct
- It disables retries
- It queues files for Auto Loader
- It sends job results to a message queue
Correct answer
Runs blocked by concurrency limits are queued, not skipped
Explanation
Job queueing holds runs until capacity is available, rather than skipping them when the concurrency limit is reached.
Question 6
A data engineer wants to reuse an existing ingestion job as a step in a larger orchestration job. Which task type is appropriate?
- Run Job task — Correct
- Notebook task with %run
- Pipeline task
- For each task
Correct answer
Run Job task
Explanation
Run Job tasks trigger another job, allowing jobs to be composed into larger workflows.
Question 7
A job failed on its fourth task out of seven because of a bug that has now been fixed. The first three tasks took two hours. What is the most efficient way to complete the run?
- Start a new run of the whole job
- Clone the job and delete the first three tasks
- Run the remaining notebooks manually on an all-purpose cluster
- Repair the run, which reruns only the failed and skipped tasks — Correct
Correct answer
Repair the run, which reruns only the failed and skipped tasks
Explanation
Repair run reruns failed tasks and their dependents in the same job run, reusing successful task results.
Question 8
When is a time-based schedule a better choice than a data-driven trigger?
- When results are needed at a fixed time, like a 06:00 report — Correct
- When another team's table update should start the job
- When the data arrives at unpredictable times and should be processed as soon as possible
- When files land in a volume in bursts throughout the day
Correct answer
When results are needed at a fixed time, like a 06:00 report
Explanation
Fixed schedules suit time-bound deliverables. Data-driven triggers (file arrival or table update) suit unpredictable arrivals.
Question 9
A team wants jobs to fail fast if a task hangs, instead of running indefinitely. What should be configured?
- A table update trigger
- A timeout on the task or job — Correct
- More workers on the cluster
- A higher max retries value on every task
Correct answer
A timeout on the task or job
Explanation
Timeouts stop tasks or jobs that exceed a set duration, which then fail (and can be retried).
Question 10
A job uses job-level parameters such as env and run_date. How does a notebook task read the value of run_date?
- With spark.conf.get('run_date')
- dbutils.widgets.get('run_date') — Correct
- With os.environ['run_date'] on the driver
- Job parameters cannot be read by notebooks
Correct answer
dbutils.widgets.get('run_date')
Explanation
Job parameters are pushed down to tasks; notebook tasks read them as widgets using dbutils.widgets.get.