Capgemini interview question

Spark optimization technique used in project