
Answer-first summary for fast verification
Answer: MEMORY_AND_DISK_2
The question requires a storage level that maximizes in-memory storage on two nodes while spilling excess data to disk. MEMORY_AND_DISK_2 (option D) uses memory and disk (spilling when memory is full) and replicates data across two nodes. This ensures partitions are stored in memory on both nodes if possible, or on disk if memory is insufficient. Other options either lack replication (B, C, E) or do not spill to disk (A, E).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.