Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 12 of 132
Free Preview · 132 of 440 · questions 1–132 of 440 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
- Correct answer : A — Configure the `writeStream` with `Trigger.AvailableNow`, which processes all files available at the start of the run and then stops the stream automatically. A . `Trigger.AvailableNow` processes all files that are available when the job starts and then stops the stream once they are handled, which matches the hourly scheduled batch-style pattern the engineer wants. B . Leaving the trigger unspecified does not produce a one-file-and-exit batch behavior; the default streaming trigger processes micro-batches continuously rather than stopping after one file. C . Omitting the schema location does not turn a streaming job into a batch job; it only removes the location Auto Loader uses to persist and evolve the inferred schema, and is required for most formats to avoid errors. D . `Trigger.Continuous` is designed for low-latency continuous processing and does not stop automatically when a directory becomes empty, which is the opposite of the stop-on-its-own behavior needed here.