CertKeen

Fabric Data Engineer (DP-700) · Free practice question 3 of 12

Spark job definition for script batch jobs

A data engineer at Wyndham Optics has a tested PySpark script, main.py, plus two helper .py modules in a Git repository. The script must run as a batch job every night with command-line arguments, without being converted into an interactive notebook. Which Fabric item should run it?

  1. A.A Dataflow Gen2
  2. B.A KQL queryset
  3. C.A Spark job definition
  4. D.A Copy job
Show answer and explanation

Correct answer: C. A Spark job definition

Why: A Spark job definition runs a main definition file such as main.py, with reference files and command-line arguments, as a batch Spark job that can be scheduled or called from a pipeline. Dataflow Gen2 runs Power Query, a KQL queryset runs KQL queries, and a Copy job moves data without running custom code.

More free Fabric Data Engineer (DP-700) questions