Cognizant interview question

Spark Architecture