Top 50 Spring Interview Questions

Carvia Tech | May 05, 2019 | 2 min read | 17 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. Top 50 Multi-threading Java Interview Questions for Investment Bank
  2. Sapient Global Market Java Interview Questions and Coding Exercise
  3. UBS Top 10 Java Interview Questions
  4. Top 30 Hibernate and Spring Data JPA interview questions
  5. BlackRock Top Java Interview Questions: Investment Banking Domain
  6. ION Trading Java Interview Questions
  7. Morgan Stanley Investment Banking Java 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