LTM Limited interview question

Deploy modes in spark, architecture