DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK · Question #141
Which of the following cluster configurations is most likely to experience an out-of-memory error in response to data skew in a single partition? Note: each configuration has roughly the same…
The correct answer is C. Scenario #6. Data skew means one partition receives a disproportionately large amount of data. When this happens, a single executor must process and hold that entire skewed partition in its own memory - the load cannot be spread across other executors for that one partition. Scenario #6 is…
Question
Which of the following cluster configurations is most likely to experience an out-of-memory error in response to data skew in a single partition? Note: each configuration has roughly the same compute power using 100 GB of RAM and 200 cores.
Exhibit
Options
- AScenario #4
- BScenario #5
- CScenario #6
- DMore information is needed to determine an answer.
- EScenario #1
How the community answered
(22 responses)- A5% (1)
- B18% (4)
- C68% (15)
- D9% (2)
Explanation
Data skew means one partition receives a disproportionately large amount of data. When this happens, a single executor must process and hold that entire skewed partition in its own memory - the load cannot be spread across other executors for that one partition. Scenario #6 is the configuration most vulnerable to this because it uses the most executors with the least memory per executor. Even though total RAM across the cluster is the same (~100 GB), having less memory per individual executor means a single large skewed partition is more likely to exceed any one executor's available memory, triggering an OOM error. Configurations with fewer, larger executors (more RAM per node) are more resilient to skew because each executor can absorb a bigger partition before running out of memory.
Topics
Community Discussion
No community discussion yet for this question.
