Questions on Spring Boot part
Questions on Spring Boot part
2. What all spring boot starter you have used or what all module you
have worked on ?
8. Can you explain the key differences between YML and properties
files, and in what scenarios you might prefer one format over the
other?
3. What is bean scope & Can you explain different type of bean scope ?
5. Can you provide a few real-time use cases for when to choose
Singleton scope and Prototype scope ?
2. How can you specify the HTTP method type for your REST
endpoint?
3. Scenario : Can you design a rest endpoint , Assume that you have a
Product database, and your task is to create an API to filter a list of
products by productType ?
11. What all status code you have observed in your application ?
12. How can you customize the status code for your endpoint ?
17.How can you hide certain REST endpoints to prevent them from
being exposed externally?
4. How can you populate validation error message to the end users ?
6. use case : let’s say you find a bug in production environment and
now you want to debug that scenario ,How can you do that from
your local ?
7. How can you enable a specific environment without using profiles?
OR what is the alternative to profiles to achieving same use case ?
9. What is AOP ?
1. How does your application interact with the database and which
frameworks are you using?
4. What are the differences between Hibernate, JPA, and Spring Data
JPA?
10. How will you implement pagination & Sorting in Spring Data JPA ?