Thoughtworks interview question

Specific questions revolved around Spark's internal optimisations for SparkSQL and others.