Top 50 Spring Interview Questions

Carvia Tech | May 05, 2019 | 2 min read | 1 views


Spring Core

Spring Web MVC

Spring Data

  • How to use Projections to fetch the limited content from database?

  • How to send email only if database transaction is successful?

  • What is @NoRepositoryBean? When will you use it?

  • How to modify a record in database using update query? Give an example.

  • What is difference between findOne() and getOne() method of Spring Data JPA Crud Repository?

Spring Security

  • What is CSRF Protection mechanism?

  • What is difference between ignoring a path for web security vs permit all on a Path?

  • What is Spring Security Architecture, explain using Diagram.

  • What is difference between authentication and authorization?

  • How does OAuth2 works?

  • Explain adaptive one way Hashing functions for storing a password

  • Support for multiple Authentication providers in single spring boot application using spring security

Spring Boot

  • What is Spring Boot and what are its advantages?

  • How to enable Cache Busting?

  • How to restrict Spring Boot app on certain ipaddress only? lets say localhost.

  • Exception handling in Spring Boot


Top articles in this category:
  1. Multi-threading Java Interview Questions for Investment Bank
  2. Sapient Global Market Java Interview Questions and Coding Exercise
  3. BlackRock Top Java Interview Questions: Investment Banking Domain
  4. UBS Java Interview Questions
  5. Morgan Stanley Java Interview Questions
  6. ION Trading Java Interview Questions
  7. Hibernate & Spring Data JPA interview questions


Find more on this topic:
Java Interviews image
Java Interviews

Interview - Product Companies, eCommerce Companies, Investment Banking, Healthcare Industry, Service Companies and Startups.

Last updated 1 week ago


Recommended books for interview preparation:

This website uses cookies to ensure you get the best experience on our website. more info