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.
Databricks Certified Associate Developer for Apache Spark · Databricks
Select all answers that apply.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
,B - Correct answer s : A, B — `total = df3.count()`, because `count()` is an action that forces Spark to execute the accumulated transformations and return a value to the driver.; `df3.write.mode("overwrite").parquet("/data/2026")`, because writing output is an action that forces Spark to execute the transformation chain and materialize files. A . This is correct: `count()` is a classic action that returns a value to the driver, forcing Spark to execute the read, column addition, and filter that precede it in the lazy plan. B . This is also correct: writing to storage is an action, so this line triggers its own job that executes the full transformation chain again to produce and persist the output files. C . `spark.read.parquet()` only builds a logical plan describing the source; it does not eagerly load records into driver memory, so this line alone does not trigger a job. D . `withColumn()` is a transformation, not an action; it lazily extends the logical plan with a new column expression without materializing any values at this point. E . `filter()` is a transformation, not an action; row filtering is recorded in the plan and only executes once a downstream action like `count()` or `write()` runs.