Noos
PT EN
RAN-DBDEA-00186
Ranvier · DBDEA

Exam DBDEA Topics: platform Difficulty: easy

A newly hired data engineer asks how work is divided when a PySpark notebook runs on a multi-node cluster: where the notebook's code and the Spark session live, and where the actual parallel processing of data happens. Which answer is correct?

Options (Reading Mode) Click to filter discussion →
  1. A. All of the work, including data processing, runs on the driver node; the executors are passive and only store the underlying data files
  2. B. Each executor runs its own full copy of the notebook's code and independently processes its own portion of the data
  3. C. Driver nodes exist only on high-concurrency shared clusters; single-user clusters and dedicated job clusters run without any driver at all
  4. D. The driver node hosts the Spark session and coordinates tasks, while executors run the tasks that process data in parallel
Reveal answer

Correct answer: The driver node hosts the Spark session and coordinates tasks, while executors run the tasks that process data in parallel

Reference: https://docs.databricks.com/aws/en/compute

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (D): The driver node hosts the Spark session and coordinates tasks, while executors run the tasks that process data in parallel

⚓ Official Documentation Anchor: https://docs.databricks.com/aws/en/compute
Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.