Databricks Data Engineer Professional · Free practice question 10 of 12
Continuous job trigger for streaming
Ottery Media has a Lakeflow Job that runs a Structured Streaming query that should always be running. If the run fails, a new run should start automatically, and there should never be more than one active run. Which trigger type fits?
- A.A continuous trigger on the job
- B.A cron schedule every minute with maximum concurrent runs set to 1
- C.A file arrival trigger on the source path
- D.A table update trigger on the target table
Show answer and explanation
Correct answer: A. A continuous trigger on the job
Why: The continuous trigger keeps exactly one run of the job active at all times: when a run ends or fails, a new one starts, with backoff applied after repeated failures. A one-minute schedule creates pointless scheduling attempts and delays restarts, and file arrival or table update triggers start runs in response to events rather than keeping a stream running.
More free Databricks Data Engineer Professional questions
- Databricks SQL alerts with notifications
- Partitioning guidance for mid-size tables
- VACUUM retention duration safety check
- SQL warehouse sizing versus scaling
- BROWSE privilege for data discovery
- UNDROP TABLE for managed tables
- Workspace-catalog binding isolation
- Bundle generate and deployment bind
- Driver memory and toPandas
- Table update triggers for jobs
- Serverless environment dependencies