Databricks Certified Associate Developer for Apache Spark — Question 143
Which of the following describes slots?
Answer options
- A. Slots are the most coarse level of execution in the Spark execution hierarchy.
- B. Slots are resource threads that can be used for parallelization within a Spark application.
- C. Slots are resources that are used to run multiple Spark applications at once on a single cluster.
- D. Slots are the most granular level of execution in the Spark execution hierarchy.
- E. Slots are unique segments of data from a DataFrame that are split up by row.
Correct answer: B
Explanation
The correct answer is B because slots are indeed resource threads that allow for parallel execution of tasks within a Spark application. Option A is incorrect as it describes slots as coarse execution levels, while D mistakenly states they are granular. Option C misrepresents slots as resources for multiple applications, and E incorrectly defines them as data segments.