Xebia interview question

Spark Optimization techniques in detail