DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK · Question #96
Which of the following statements about the Spark driver is true?
The correct answer is D. Spark driver is responsible for scheduling the execution of data by various worker nodes in cluster. The Spark driver is the central coordinator of a Spark application. It is responsible for maintaining the SparkContext, building the DAG of transformations, creating a logical and physical execution plan, and scheduling tasks across worker nodes/executors. Option A is false…
Question
Which of the following statements about the Spark driver is true?
Options
- ASpark driver is horizontally scaled to increase overall processing throughput.
- BSpark driver is the most coarse level of the Spark execution hierarchy.
- CSpark driver is fault tolerant - if it fails, it will recover the entire Spark application.
- DSpark driver is responsible for scheduling the execution of data by various worker nodes in cluster
- ESpark driver is only compatible with its included cluster manager.
How the community answered
(26 responses)- A4% (1)
- B8% (2)
- D88% (23)
Explanation
The Spark driver is the central coordinator of a Spark application. It is responsible for maintaining the SparkContext, building the DAG of transformations, creating a logical and physical execution plan, and scheduling tasks across worker nodes/executors. Option A is false - the driver is a single process and cannot be horizontally scaled. Option B is false - Jobs are the coarsest level in the execution hierarchy, not the driver. Option C is false - the driver is a single point of failure; if it crashes, the entire Spark application fails. Option E is false - Spark supports multiple cluster managers including YARN, Kubernetes, Mesos, and Standalone.
Topics
Community Discussion
No community discussion yet for this question.