Your Spark job writes data to a data lake as Parquet, and over time queries against that table keep getting slower, while the folder now has hundreds of thousands of small files. Why did this happen, and what will you do?
~4 min by voice
How to approach it
They're checking whether the candidate understands the nature of the small files problem in a data lake: where the files come from when Spark writes, why they slow down reads, and whether they can treat both the cause (the write) and the consequences (compaction).
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.