DE Mastery GitHub

Apache Spark · SPK-01

Spark architecture

  • 5 h

From your world. Redshift leader/compute nodes vs. Spark driver/executors

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz SPK-01.

1The driver process of an application crashes while a long job runs on the executors. What happens to the application?
2A stage must process a dataset of 8 partitions. The cluster has 2 executors, each with 2 cores. Ignore overhead. How many tasks run in parallel at peak?
3In which deploy mode does the driver run on a node inside the cluster, and not on the machine that submitted the application?
4Which statement about Spark Connect is correct?
5Which libraries are built on top of Spark Core? (select all that apply) (select all that apply)
6You have 40 GB of Parquet in S3. A transformation that you can write entirely in SQL already runs well in your Redshift warehouse. What is the best reason to NOT use Spark here?
7Which analogy to a Redshift cluster is the most accurate for the components of Spark?