RBC interview question

what is difference between client mode and cluster mode in spark