Springboot Microservices – Interview Questions

  1. Why do you use springboot over spring?
  2. Tell the names of hibernate classes involved when you fetch entry?
  3. What is the main difference between Spring MVC and Spring boot?
  4. Difference you found out in SOAP and Restful Webservices? Which one is more convenient
  5. Explain Microservice Architecture?
  6. How do you decide to create a new microservice?
  7. How @Component annotation works? Need the same??
  8. What is profiling in springboot?
  9. Does springboot have xml configuration?
  10. What is maven and POM?
  11. Purpose of actuator?
  12. Type of fault tolerant mechanism used in a project?
  13. What do you understand by springboot?
  14. How do we handle filtration in springboot Application access modifier in java?
  15. How does JPA work without any configuration done in application? Properties file?
  16. Dependency injection vs inversion of control?
  17. Dispatcher Servlet?
  18. Modules known in springboot?
  19. Advantages of microservice?
  20. Communication between microservices?
  21. Fallback mechanism in microservice?
  22. Disadvantages of hibernate?
  23. Use of cache in hibernate?
  24. Get vs load in hibernate?
  25. SQL query to remove duplicates in a table with no primary key?
  26. Actuator in spring boot?
  27. What is the IOC concept in spring?
  28. What is dependency injection and how many types of injections are there in spring?
  29. When to go for setter injection and constructor injection?
  30. What are all design patterns you know and explain about those in detail with real time use cases?
  31. Path Variable and request Param?
  32. What is a web container?
  33. About Maven, what are available in POM files and Build profiles?
  34. What is Bean scope?
  35. Design Patterns and explain one?
  36. Spring Boot service with timer/health checks? Should one service wait if the other is down?
  37. What is actuator and Use of Actuator, about Spring boot actuator?
  38. Spring boot core component?
  39. Spring boot initializer?
  40. Spring yaml configuration?
  41. Spring boot annotation?
  42. Spring boot profilers?
  43. Spring validator?
  44. How to debug spring boot applications?
  45. Spring Dependency injection?
  46. What is the use of @restcontroller?
  47. What is the xml configuration in spring boot application?
  48. Different types of annotation in spring boot application
  49. What do you mean by microservices?
  50. How do you use microservice
  51. What are the benefits of using microservices?
  52. Circuit breaker in Microservice?
  53. What type of parameter we need to take care of when we create microservice architecture?
  54. Transaction management from one service to another service calling in the same microservice?
  55. Transaction management from one service to another service calling in different microservice?
  56. Type of Transaction in database?
  57. How do two microservices communicate with each other?
  58. When we are calling from one microservice to another microservice then how to handle response?
  59. How to make an outer call from a microservice?
  60. What are web services?
  61. What is Rest architecture?
  62. Difference between PUT and PATCH?
  63. Can you send a POST Body in GET?
  64. Difference between Post, Put and Patch? (Deep discussion with scenarios?
  65. Response type of DELETE and if no data is there then what will be the response type?
  66. How to handle Test Case if visibility of a function is private?
  67. How to fix bugs in micro service?
  68. What are you using for logs?
  69. What is Circuit breaker and rate limiter?
  70. What are Spring Interceptors?
  71. What are Spring modules?
  72. How can we implement Circuit breaker? And explain circuit breaker stages?
  73. Difference between @Controller and @restcontroller?
  74. What is @springbootapplication? What is its function?
  75. Advantages of Hibernate over the standard way of database connection?
  76. Disadvantages of Hibernate?
  77. Comparison of monolithic and micro services architecture?
  78. How microservices communicate with each other? Explain in detail?
  79. Example of microservice architecture?
  80. Architecture diagram of microservices in your latest project?
  81. Advantages of microservices?
  82. What is the Saga Pattern in Microservices? How orchestration is working in this?
  83. How many types of Saga patterns?
  84. What is Circuit breaker and what is the use of it?
  85. How to manage the server load balance (Explain ribbon in details)?
  86. What is Spring?
    • What is inversion control?
    • What is inversion and what is the control?
    • What is the purpose of inversion, why do we need this?
    • What is controlling in inversion for ‘inversion controlling” (explain control and inversion separately)?
  87. Which tool is suitable for performance tuning for application and what are the necessary steps to take at DB end to improve the performance of the application?
  88. Explain your microservice project architecture?
  89. How do Microservices interact with each other in your project, what are different microservice?
  90. What are web services and how you can say it is rest?
  91. What is the benefit of rest?
  92. Implementation of caching, which data structure you will use?
  93. What is the purpose of caching, why do we use it?
  94. What is a dispatcher servlet?
  95. What is @pathvariable?
  96. How to create one springboot application, what are the steps required?
  97. Diff b/w tight couple and loose coupled in microservices?
  98. What is the performance tuning?
    • What kind of action is required to improve the application performance?
    • What kind of action is required to improve the BD performance?

-Thank you, happy coding !!

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *