Publicis Sapient interview question

I'm based on Java, Interview started with difference between SOAP and REST and goes on till clould and came back to core java, then design patterns, then