Questions
Try your hand at these practice questions to test your knowledge of Apache Spark:
Question 1:
What is a task in Spark?
- The unit of work performed for each data partition within a task is the slots
 - A task is the second-smallest entity that can be executed within Spark
 - Tasks featuring wide dependencies can be combined into a single task
 - A task is the smallest component that can be executed within Spark
 
Question 2:
What is the role of an executor in Spark?
- The executor’s role is to request the transformation of operations into a directed acyclic graph (DAG)
 - There can only be one executor within a Spark environment
 - Executors are tasked with executing the assignments provided to them by the driver
 - The executor schedules queries for execution
 
Question 3:
Which of the following is one of the tasks of Adaptive Query Execution in Spark?
- Adaptive Query Execution collects runtime statistics during query...