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?
- A.A Dataflow Gen2
- B.A KQL queryset
- C.A Spark job definition
- 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
- Maximum Spark job lifetime guardrail
- Managed identity for Azure SQL mirroring
- KQL mv-expand for arrays
- Dataflow Gen2 fast copy
- Zero-copy table clone in a warehouse
- Restoring a Delta table version
- Killing a running warehouse query
- Until activity for status polling
- Load to Tables from lakehouse files
- Schema evolution with mergeSchema
- Pipeline dependency conditions on failure