nerdexam
Databricks

CERTIFIED-MACHINE-LEARNING-PROFESSIONAL · Question #26

A machine learning engineer is using the following code block as part of a batch deployment pipeline: Which of the following changes needs to be made so this code block will work when the inference ta

Sign in or unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL to reveal the answer and full explanation for question #26. The question stem and answer options stay visible for context.

Question

A machine learning engineer is using the following code block as part of a batch deployment pipeline:

Which of the following changes needs to be made so this code block will work when the inference table is a stream source?

Exhibit

CERTIFIED-MACHINE-LEARNING-PROFESSIONAL question #26 exhibit

Options

  • AReplace "inference" with the path to the location of the Delta table
  • BReplace schema(schema) with option("maxFilesPerTriqqer", 1}
  • CReplace spark.read with spark.readStream
  • DReplace formatfdelta") with format("stream")
  • EReplace predict with a stream-friendly prediction function

Unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL to see the answer

You've previewed enough free CERTIFIED-MACHINE-LEARNING-PROFESSIONAL questions. Unlock CERTIFIED-MACHINE-LEARNING-PROFESSIONAL for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full CERTIFIED-MACHINE-LEARNING-PROFESSIONAL Practice