Accenture interview question

Spark optimisation techniques and steps