Databricks Certified Associate Developer for
Apache Spark 3.0 – Python exam
What is a Spark Driver? - The spark driver is the node in which the Spark
application's main method runs to coordinate the Spark application. It
contains the SparkContext object. Responsible for scheduling the
execution of data by various worker nodes in cluster mode.
What are worker nodes in cluster-mode Spark - Worker nodes are
machines that host the executors responsible for the execution of tasks.
What are slots? - Slots are resources for parallelization within a Spark
application.
What is a combination of a block of data and a set of transformers that
runs on a single executor? - Task
What is a group of tasks that can be executed in parallel to compute the
same set of operations on potentially multiple machines? - Stage
, Databricks Certified Associate Developer for
Apache Spark 3.0 – Python exam
What is a shuffle? - A shuffle is the process by which data is compared
across partitions.
If you have a DF with more partitions than you have (single core)
executors what happens? - Performance will be suboptimal because not
all data can be processed at the same time. Shuffle commands will
create a large number of connections. Increased overhead associated
with managing resources for data processing for each task. Increased
risk of out-of-memory errors depending on the size of executors.
which of the following operations will trigger evaluation?
A) df.filter()
B) df.distinct()
C) df.intersect()
D) df.join()
E) df.count() - E) df.count()
Apache Spark 3.0 – Python exam
What is a Spark Driver? - The spark driver is the node in which the Spark
application's main method runs to coordinate the Spark application. It
contains the SparkContext object. Responsible for scheduling the
execution of data by various worker nodes in cluster mode.
What are worker nodes in cluster-mode Spark - Worker nodes are
machines that host the executors responsible for the execution of tasks.
What are slots? - Slots are resources for parallelization within a Spark
application.
What is a combination of a block of data and a set of transformers that
runs on a single executor? - Task
What is a group of tasks that can be executed in parallel to compute the
same set of operations on potentially multiple machines? - Stage
, Databricks Certified Associate Developer for
Apache Spark 3.0 – Python exam
What is a shuffle? - A shuffle is the process by which data is compared
across partitions.
If you have a DF with more partitions than you have (single core)
executors what happens? - Performance will be suboptimal because not
all data can be processed at the same time. Shuffle commands will
create a large number of connections. Increased overhead associated
with managing resources for data processing for each task. Increased
risk of out-of-memory errors depending on the size of executors.
which of the following operations will trigger evaluation?
A) df.filter()
B) df.distinct()
C) df.intersect()
D) df.join()
E) df.count() - E) df.count()