As reported: JPMorgan Chase Senior Data Engineer (Software Engineer II, Hyderabad, 2026), round 1 (technical, 2 interviewers), a 30-minute cluster design: given 100 GB of data, design a Spark cluster — nodes, cluster size, tasks, stages, partitions and the execution flow. The same round covered Spark architecture and concepts, SQL (window functions, aggregations), and PySpark joins and optimization.
You need to process 100 GB of data with Spark. Design the cluster for the job:
- How many nodes, and of what size? How many executors, with how many cores and how much memory each?
- How many partitions will the data be split into, and how many tasks run?
- How is the job split into stages, and what is the execution flow from submitting the job to writing the result?
State your assumptions about the data and the job first (file format, the transformations involved, the time budget), then derive the numbers from them.