Capgemini interview question

Java (Spring) context: - What are the different scopes of a component? - How is Spring Boot different from Spring? - How do you map an object to a DB entity? - What Spring Boot modules have you used? - How do you annotate a class/method to receive and process a JSON payload? - How does JWT work?