Java Interview Prep - Spring boot and Microservices interview questions for experienced | Live Mock

2024 ж. 22 Мам.
129 195 Рет қаралды

This is an interview recorded with Krishna Gupta. Krishna is an experienced java developer having 3.9 years of experience. He has skills with Spring Framework, Hibernate , Java EE , Microservices, JMS, RabbitMQ and Spring Boot. All the questions we have discussed here can be followed by anyone who is having 1 - 10 years of experience. Freshers can also follow this interview as most of the questions asked are scenario based.
Here is the candidate profile -
Name: Krishna Gupta
Profile: Java Developer
Years Of Experience: 4 +
Work Location: India
Keyskills: Java, Microservices, Spring, Spring Boot, Restful Webservices, Hibernate, JPA, Spring Data
This is another addition to our Java Interview Prep playlist which will help you to prepare for your upcoming java interview and particularly if you are a spring boot and microservices developer.
We will go through various of Microservices questions from Spring Cloud eg: Discovery service and Registration, Load balancing , Client side vs Server side load balancing, Handling failures in a Microservice environment. We have also covered Design patterns like circuit breaker, rate limiter, retry pattern in depth. We also have covered the microservices error and exception tracking related questions. Apart from this, various questions from spring boot and hibernate / JPA has been covered as part of this interview. Below is the timestamp for the same.
Timestamp
___________
Introduction - 00:00:00
@Controller Vs @RestController - 00:02:34
How a spring boot application bootstraps ? - 00:04:51
REST API Best practices - 00:08:22
Microservices interview questions : 00:23:50
Monolithic Architecture Vs Microservices Architecture - 00:25:35
How to manage ip’s and servers in a microservices architecture - 00:30:21
How Service Discovery and Registration works ? ( A problem Scenario ) - 00:35:14
How Client side load balancing different then the Server Side load balancing ? -00:39:09
Is server side load balancing causes a single point of failure? - 00:42:21
How to handle failure in a microservices environment ? 00:44:55
How the retry pattern works ? - 00:50:13
How a block thread causes issue in a microservices environment ? (KT) - 00:51:19
How to protect your microservices from random load? 00:58:46
Circuit Breaker design pattern - Quick KT - 01:01:09
Explain the Half open state of a circuit breaker in spring boot - 01:06:39
How to track a slower Microservice which causes performance issue? 01:09:17
How to track exceptions in a microservices environment ? - 01:13:48
Entity Object Vs Value Object - When to use what ? 01:17:31
What is an one to one mapping and how to set up it with JPA/Hibernate ? - 01:23:27
What is an exchange in rabbit mq ? 01:28:17
For more free/paid courses visit
www.seleniumexpress.com
#JavaInterview #SpringBootInterviewQuestions #MicroservicesInterviewQuestions
For More free/paid courses visit
www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questio...
Watch my new Hello spring boot series
• Spring Vs Spring Boot ...
Watch Spring boot Hot topics
• @Reposicotry Vs @Servi...
Java Interview / Question and Answer series
• Java collections inter...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean...
spring core
• Spring framework tutor...
spring mvc
• Spring MVC course intr...
spring mvc intermediate
• [INTERMEDIATE] Spring ...
Spring JDBC
• Spring JDBC Course Pre...
spring live project
• #1 Build and Deploy A ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course...
For more courses visit
www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
you can ask for support in my website forum
www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express
Category -
Spring Boot
spring boot interview questions
java realtime interview questions
java interview questions and answers for experienced
microservices interview questions
Spring boot and Microservices interview questions for experienced

Пікірлер
  • I have wasted lot of money on paid courses the reason I'm saying wasted because this guy is giving that knowledge for free... Thanks

    @ajaythombare6235@ajaythombare62357 ай бұрын
    • Hi Ajay ! Glad to know it is helpful.

      @SeleniumExpress@SeleniumExpress7 ай бұрын
    • @@SeleniumExpress and also that code popup during answer explaination is just best that way concept gets clear not just theoretically but also practically. Expecting more usefull content.

      @ajaythombare6235@ajaythombare62357 ай бұрын
    • Sir more mock interviews for spring and spring boot interview questions

      @raghudixith@raghudixith6 ай бұрын
    • Couldn't agree more, I have 9 years of experience in java development but I still watch his video as a fresher.

      @easycode7807@easycode78074 ай бұрын
    • please list down the sources where you think your money is wasted so that others would not fall for it. thanks.

      @blessedbackpacker222@blessedbackpacker2223 ай бұрын
  • Really pumped up with all the points and questions covered in this Mock interview. Spring Boot, Microservices, Basics of Hibernate, Exchange, Circuit Breaker and what not. Please do make some more mock interview videos on Advanced Java and Core Java as well. If I had the authority, I would do 1000 likes but will do at the most shares that I can do. Such content is never available for free, unless its "Abhilash from Selenium Express" ❤

    @jayjoshi1366@jayjoshi13666 ай бұрын
  • Abhilash thank you for sharing such a nice content with us. selenium Express mock interview series is the only one which covered all topics and the level of content fully professional and high quality. Please continue with this series we are very much happy to have trainer like you. There is one advice from my side according to quality of content your channel is underrated and the actual value is much more higher than current value please make short videos which cover in 5 to 15 min (self explanatory)) so no of views and subscriber will increase. Once again many thanks.

    @akadeadahot7067@akadeadahot70676 ай бұрын
  • Waiting for next parts/core java video. Amazing conversation ❤ Thank you so much 😊

    @Vithal_Nivargi@Vithal_Nivargi7 ай бұрын
  • Very detail and useful discussion. I really appreciate you, Abhilash, for your clear and concise way of explaining things.

    @user-lz7wh5ig9z@user-lz7wh5ig9z5 ай бұрын
  • No words to say , simply amazing.... Thanks a lot.

    @suresh85nit@suresh85nit4 ай бұрын
  • Thanks for putting the things in such detailed manner. I haven't seen such kind of explanatory interview video. Thanks guys, the video is really a gem. 🙏

    @durgesh633@durgesh6332 ай бұрын
  • I have been following your teachings, you're great teacher, waiting for core Java

    @gadaffigadaffi7496@gadaffigadaffi74967 ай бұрын
  • A great and valuable refresher for me specially of micro services. Top notch content as always.

    @faixan13@faixan137 ай бұрын
  • I thoroughly enjoyed the session and impressed with Krishna's knowledge. Abhilash was great help.

    @pranavmahajan4190@pranavmahajan41905 ай бұрын
  • It was one of most informative as well as engaging interview video i had ever watched.

    @piyushjainwork01@piyushjainwork016 ай бұрын
  • Nice video, sir. I'm training myself for a java interview, and I feel more confident after watching the video

    @juliochaconvilela5572@juliochaconvilela55723 ай бұрын
  • Love to watch ur videos. You providing such a knowledge and clear explanation ❤

    @devakichaitanya4298@devakichaitanya42987 ай бұрын
  • Amazing Video and I am able to answer most of the questions and its only bcz of your youtube videos. You Are Great!!!

    @jayakumarsivasankar9683@jayakumarsivasankar96837 ай бұрын
  • Absolutely great discussion and interview. awesome.

    @sumant2000@sumant20005 ай бұрын
  • Excellent finally i got interview prep thank you so much sir this is very helpful really appreciate...

    @punyabikash3624@punyabikash3624Ай бұрын
  • One of important video to practise interview questions

    @relishgames4136@relishgames41364 ай бұрын
  • Yhanks Abilash , simply amazing.... Thanks a lot

    @Mohamed-uf5jh@Mohamed-uf5jh2 ай бұрын
  • Excellent interview, Got many things. Thank you Sir ❤❤.

    @supun_sandaruwan@supun_sandaruwan2 ай бұрын
  • Thank you soo much for putting this much effort to give us some valuable information

    @pavanisuma9753@pavanisuma97533 ай бұрын
  • I have started to watch your spring tutorial and they are very addictive. Thanks for explaining all the concepts in simple way😊

    @shwetakhetre1767@shwetakhetre17677 ай бұрын
    • Hi Shweta ! So happy to know that it is helping.

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Thankyou for preparing such a great list of questions 🎉 really helpful

    @nishanttiwari8161@nishanttiwari81616 ай бұрын
  • Amazing content and knowledge , thanks a lot and god bless you.

    @ankurmehrotra2118@ankurmehrotra211816 күн бұрын
  • i just jumped into microservice part and it's really really .. good i am eagerly waiting for microservice 2nd part .

    @RN-jo8zt@RN-jo8zt5 ай бұрын
  • Top notch content , the amount of info this guy is putting out there for free is insane , love from Russia

    @user-uv9lf7qn3i@user-uv9lf7qn3i7 ай бұрын
    • Da ! Spasiba bolshoe

      @devendra.sanghavi@devendra.sanghavi14 күн бұрын
  • this is so helpfull!! thank you for these interview sessions

    @karanpandey7965@karanpandey79656 ай бұрын
  • Sir your videos really awesome 🥰🥰 please make more videos about spring and spring boot and collections

    @raghudixith@raghudixith6 ай бұрын
  • Thanks for your efforts to make this video more productive and useful to understand the things very clear. Please make a vide to implement SAGA design pattern with implementation

    @pitchireddyb646@pitchireddyb6462 ай бұрын
  • Helpful video. Thanks..

    @nikhiljadhav5641@nikhiljadhav56416 ай бұрын
  • It's really cool to watch this, feels like watching a movie, very clear explaining.Thanks and very helpful.

    @chamil.thushantha@chamil.thushantha7 ай бұрын
  • Good level of detail and real world situation. Highly appreciated

    @chrizzking@chrizzking3 ай бұрын
  • Thank You Brother, Thank You so much because you increased my confidence, really thanks a lot.

    @rajanishkumarprajapati7686@rajanishkumarprajapati76867 ай бұрын
    • Glad to hear that, Rajanish! Keep going ❤️

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • just awesome 👏

    @muhiuddinshahani349@muhiuddinshahani3496 ай бұрын
  • Great session. @20.22 REST API principle is not to hold state at API level. The reason is when you have scalable architecture, you have many instances of the same application. Requests are passed in Round Robin fashion so we are not very certain that request will always hit the same machine. Sticky sessions are used for sending same request to the same machine. It has nothing to do with microservices.

    @pranavmahajan4190@pranavmahajan41905 ай бұрын
  • Very informative interview bro🙏🙏

    @uk7826@uk78265 ай бұрын
  • Great session 🎉🎉🎉

    @priyotoshmaji2859@priyotoshmaji28596 ай бұрын
  • This is an authentic experience especially with the head moving

    @tawfikelkahlaoui5239@tawfikelkahlaoui52395 ай бұрын
    • I tried to swing my head as Krishna did, i received dizziness after 3 sec

      @mechdad6420@mechdad64202 ай бұрын
  • Probably circuit breaker is implemented at the calling API side while ratelimiter is in-between/interrim to the caller and the service being called.

    @shikharsharma6399@shikharsharma6399Ай бұрын
  • This type mock interviews are very helpful and informative....

    @pothulamanoj99@pothulamanoj997 ай бұрын
    • Glad it helped! 😊

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • this is very helpful, love from srilanka!

    @hasangalakdinu@hasangalakdinu18 күн бұрын
  • Great content❤❤

    @SandeepSingh-wt9ih@SandeepSingh-wt9ih6 ай бұрын
  • Great video 🙏

    @mrinalsharma4137@mrinalsharma41373 ай бұрын
  • great explanation

    @suthar_ravi@suthar_raviАй бұрын
  • Great Content

    @rajugoud6465@rajugoud64652 ай бұрын
  • Awesome video!

    @arnabprophet@arnabprophet6 ай бұрын
  • Your content is superb, please bring more content...

    @45_ritiksharma32@45_ritiksharma327 ай бұрын
    • Thanks, Ritik ! ❤️ Sure, will do 😊

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Hi, about 51:30, isn't bulkhead pattern better for this type of situations? I mean I tought that rate limitter is more for ddos attacks, but in this case bulkhead pattern is created for those kind of situations when one endpoint is slowing the whole microservice so others will work anyway after implementing bulkhead pattern. Of course I may be wrong so please explain why rate limitter is better in this case :). Except that, great video, I watched whole series and your videos are better than others because video quality is good, your english is easy to understand, questions are not typical, and everything is explained very well

    @arardraxer@arardraxer6 ай бұрын
  • This video is a GEM , but would have been really really better if Krishna's voice would had been more clear.. Please take care in upcoming sessions

    @DurgaShiva7574@DurgaShiva75747 ай бұрын
  • Loved the questions! It really felt like an actual interview

    @09864473131@098644731313 ай бұрын
  • Awesome

    @VishalSharma-rn7mt@VishalSharma-rn7mt5 ай бұрын
  • awesome round :)

    @kraw-vo4oy@kraw-vo4oy3 ай бұрын
  • Awesome!!

    @neetusingh6647@neetusingh66473 ай бұрын
  • Also add some interviews for system design for java exp.plz.....

    @riteshranjan5221@riteshranjan52217 ай бұрын
  • Damn I have an upcoming interview coming this friday. I am very knwoledgeable in React but I have been working as Full Stack engineer for 1.6 years but my java and microservices are not that strong. I will ramp up this video today.

    @gabrielfono844@gabrielfono8443 ай бұрын
  • distributed transaction in micro-services and dlq in Kafka based communication also cover in next interview.

    @user-kl5gr8dj8v@user-kl5gr8dj8v7 ай бұрын
  • You earned a follower today

    @cloud_Engineer@cloud_Engineer6 ай бұрын
  • Sir you all videos are very informative..

    @anishsadanandhan5619@anishsadanandhan56197 ай бұрын
    • Thanks for the kind words, Anish ! Glad that it's helping 🙂❤️

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Thanks Abhilash for sharing such a Worthy content , Keep going

    @NatarajaYemmiganur@NatarajaYemmiganur5 ай бұрын
  • Great! Could you please let me know on what basis have you collected these questions for experienced Java developers?

    @rahatsaifi@rahatsaifi7 ай бұрын
  • Man , you're a legend

    @devDive615@devDive6152 ай бұрын
  • Thank you for all knowledge

    @sunduriniranjan4424@sunduriniranjan44247 ай бұрын
    • My pleasure, Niranjan !

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Thank you ❤❤🎉

    @ndhanushbhat4557@ndhanushbhat45576 ай бұрын
  • Amazing video, thanks. Also, as a non-Indian watching at 2x speed, the head bobbing from side to side was very distracting 😆

    @MM-ts9jy@MM-ts9jy22 күн бұрын
  • Thanks

    @RishiRajxtrim@RishiRajxtrimАй бұрын
  • Thanks sir

    @shubhambhatt329@shubhambhatt3295 ай бұрын
  • Please make tutorial on spring security with newer version.

    @tansibhandari7659@tansibhandari76597 ай бұрын
  • This was really nice intvreiew cleared my most of doubts it was full of knowledge , thank you ,//////.....where can i get link for java interview which you are talking in this video?

    @rajetoshagardeshmane2035@rajetoshagardeshmane2035Ай бұрын
  • supredb bro

    @BEEMIREDDYRAJASEKHARREDDY@BEEMIREDDYRAJASEKHARREDDY5 ай бұрын
  • 23:50 that music before start of microservice lit 🔥🔥🔥🔥🔥🔥🔥

    @FeelGoodChronicles@FeelGoodChronicles5 ай бұрын
  • Thank you for this video. I watched this video while preparing for Senior Java Developer Technical interview. Questions and answers are awesome. I listened to questions carefully and answered myself first. I noted every topic and researched it even more. And I learnt so many things. I was fully prepared. Then the day came. I was in interview, I answered almost all of questions, it went similar to this video. It was really good. But after a day I got a "Thanks for your interest but Unfortunately...." email.😂 I don't know man, they don't even tell the rejection reason.

    @megative4444@megative44446 ай бұрын
    • keep hustle brother. you will get there.

      @shivangimishra5690@shivangimishra56906 ай бұрын
    • A lot of the time, the rejections are a blessing in disguise. You’ll find the job position that’s right for you 🙏

      @shirokuma145@shirokuma1454 ай бұрын
  • can anyone pls answer me below question . are we not mentioning service port number in our yml file or hardcoded it? 32:29 he mentioned that cache will be refreshing each particular interval . for that do we need to use any extra library or it's inbuilt or it's retry mechanism 35:51?

    @RN-jo8zt@RN-jo8zt5 ай бұрын
  • Good Content

    @sakethpavan4901@sakethpavan49017 ай бұрын
    • Thanks you 😊

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Thank you Abhi

    @santhoshchandran6952@santhoshchandran69527 ай бұрын
    • My pleasure, Santhosh.

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Thanks Abhi

    @prakashrawat2@prakashrawat27 ай бұрын
    • Welcome,Prakash !

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Do they take interview for 1:30 hours ? Thank you sir for this mock interview it will give me confidence

    @migaming8296@migaming82965 ай бұрын
  • Thanks abhi

    @prakashrawat2@prakashrawat27 ай бұрын
    • Welcome,Prakash !

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Dear respected sir, I am requesting to you please you make video on angular. I humbly request to you dear sir.

    @kartikeymaurya1868@kartikeymaurya18687 ай бұрын
    • Hi Kartikey, I will surely do.❤️ I have plans for this. May be by December we will start a free series here. On a November, another Spring series will run.

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • at 23:44 I checked my surrouding from where the music is coming, later I realised its from video not outside.

    @TomarSahab@TomarSahabАй бұрын
    • Ha ha 😅😂

      @SeleniumExpress@SeleniumExpressАй бұрын
  • Thanks abhi❤

    @srigakolapuatchuthasai5929@srigakolapuatchuthasai59297 ай бұрын
    • My pleasure ❤❤

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Bro please provide core Java and adv java topics also

    @sumanthkumar7060@sumanthkumar70607 ай бұрын
  • Hi Can you please suggest how to get out of service based companies. There is no development work there. 2 years work ex Java backend developer domain

    @raj006@raj0064 ай бұрын
  • Please start dsa

    @praveenapeetha9750@praveenapeetha97507 ай бұрын
  • HOW CAN I ATTEND MOCK INTERVIEWS LIKE THIS..WOULD YOU PLEASE HELP

    @pavanisuma9753@pavanisuma97533 ай бұрын
  • They both are moving their heads like the aliens in Galaxy Quest.

    @Granta_Omega@Granta_Omega2 ай бұрын
  • The head movement is real 😂😂😂

    @skalippanbalippan6972@skalippanbalippan69725 ай бұрын
  • I wish the sound was better

    @skalippanbalippan6972@skalippanbalippan69725 ай бұрын
  • How can I appear for mock interview for spring boot ? I have 2.5 years of experience

    @manutyagi8019@manutyagi80192 ай бұрын
  • Sir please add some more mock interview for 7 + year of experience. Please sir

    @riteshranjan5221@riteshranjan52217 ай бұрын
    • Hi Ritesh ! Sure, I will add more interviews soon.

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • Is "Spring boot and Microservices" required for QA SDET ?

    @mainakkolkata2010@mainakkolkata20107 ай бұрын
    • I believe it's required. But this video might not be suitable for QA.

      @SeleniumExpress@SeleniumExpress7 ай бұрын
    • some very basic knowledge required if u QA to microservices. like how ms talk to each others and ms architecture.. other than that NO NEED for QA

      @crimsonx_@crimsonx_7 ай бұрын
  • is it interview on senior posiotion or mid?

    @Dziki8332@Dziki83327 ай бұрын
    • Mid !

      @SeleniumExpress@SeleniumExpress7 ай бұрын
  • can some one notice a horrific sound at 36:30??

    @user-to1pb8dg6u@user-to1pb8dg6u5 ай бұрын
  • how to make chatgpt

    @footballaddict3559@footballaddict35594 ай бұрын
  • returning back the whole java stacktrace in the rest call is not the best practice...

    @mechdad6420@mechdad64202 ай бұрын
  • Play at 1.5 x

    @TheSumit22@TheSumit225 ай бұрын
  • Guys! Organize some a new mic

    @aidajam3294@aidajam32942 ай бұрын
  • Little less and to the point answer could have been better i feel. It seems long time consumed for little information. In short time waste.

    @RameshRoutray@RameshRoutray2 ай бұрын
  • Backchodi ye questions nahi pucche jate in actual interview. Direct question dike pele jate hai😅

    @garvisrobot9274@garvisrobot927429 күн бұрын
  • No knowledge in basics

    @skmuri1@skmuri13 ай бұрын
  • Can you pls create more spring boot and microservices interview video. Have some different microservices questions and some tricky ones also. Thanks. Waiting for your response

    @rohanyadav7327@rohanyadav73275 ай бұрын
  • Thanks

    @ashrikahamed_@ashrikahamed_4 ай бұрын
KZhead