LTM Limited interview question

Spark, Scala, Sql, Hadoop, Spark optimization