Databricks Certified Associate Developer for Apache Spark — Question 187
Which Spark configuration controls the number of tasks that can run in parallel on the executor?
Answer options
- A. spark.executor.cores
- B. spark.task.maxFailures
- C. spark.driver.cores
- D. spark.executor.memory
Correct answer: A
Explanation
The correct answer is A, spark.executor.cores, as it directly specifies how many cores the executor can use to process tasks in parallel. Options B and D relate to task failures and memory allocation, respectively, and option C pertains to the driver, not the executor's task management.