CertKeen

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?

  1. A.A continuous trigger on the job
  2. B.A cron schedule every minute with maximum concurrent runs set to 1
  3. C.A file arrival trigger on the source path
  4. 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