Top 25 Microservice Interview Questions Answered - Java Brains

Sdílet
Vložit
  • čas přidán 16. 05. 2024
  • In this video, I attempt to answer the "top 25" interview questions, at least according to Google. I answer the questions and review the answers on the page for accuracy.
    Java Brains Website: www.javabrains.io
    URL for interview questions: www.guru99.com/microservices-...
    #Javabrains #Microservices #Interview

Komentáře • 513

  • @tetomdq
    @tetomdq Před 2 lety +152

    1:13 Explain microservices architecture
    3:42 Name three commonly used tools for Micro
    5:10 What is monolithic architecture?
    5:51 What are the advantages of microservices?
    9:50 What is Spring Cloud?
    12:04 Discuss uses of reports and dashboards in the environment of Microservices
    13:24 What are the main differences between Microservices and Monolithic architecture?
    14:48 What are the challenges faced while using Microservices?
    17:59 In which cases microservices architecture best suited?
    19:39 Tell me the name of some famous companies which are using Microservice architecture
    20:34 What are the characteristics of Microservices?
    20:46 What is RESTful?
    22:40 Explain three types of Tests for Microservices
    23:57 What are client certificates?
    24:46 Explain the use of PACT in Microservices architecture.
    26:29 What is the meaning of OAuth?
    28:19 What is End to End Microservices Testing?
    29:14 Why are Container used in Microservices?
    30:16 What is the meaning of Semantic monitoring in Microservices architecture?
    32:13 What is a CDC?
    33:09 What is the use of Docker?
    34:35 What are Reactive Extensions in Microservices?
    36:33 Explain the term 'Continuous Monitoring'.
    37:59 How independent micro-services communicate with each other?

  • @sanjayshukla5255
    @sanjayshukla5255 Před 2 lety +68

    I am a big fan of Kaushik and I must say he has explained all the questions really well with few nice roasting in between and this one is the best - "I'll tell you why your business is not making more profits - because your interviewers ask these questions and hire people who give these answers"

  • @bharath4353
    @bharath4353 Před 3 lety +34

    I have laughed in amazement at some of the answers even before you reacted to it. I guess you've made me a lot smarter over the years. Thanks Kaushik.

  • @ritugupta3367
    @ritugupta3367 Před 3 lety +139

    I had an interview. I explained the same way how Kaushik explains to us regarding circuit breaker. They were amazed :D Thanks!

  • @prakhattri92
    @prakhattri92 Před 3 lety +5

    Great video! I love the format, as it makes for a nice discussion in a video on certain topics and calls out for errors as not everything on the internet is correct. Kudos! Keep it going.

  • @ajinkyadhumal4950
    @ajinkyadhumal4950 Před 3 lety +134

    Started off as Kaushik's interview, but this was Kaushik testing Guru99.

    • @samantr
      @samantr Před 3 lety +3

      yup:) hysrix :D hystrix.
      Also Kaushik could have used vertical scroll bar of the browser instead of dev-tools :D

    • @maheshtambe9535
      @maheshtambe9535 Před 3 lety +2

      Kaushik is not using Chrome I doubt he is actually Kaushik and not a bot.

    • @darklord711
      @darklord711 Před 3 lety

      @Wells Grey I love how bots communicate with each other in a hope that some dumb human will fall into their obvious scam.

    • @parthibarajan4039
      @parthibarajan4039 Před 3 lety

      Epic comment @ 32.02

    • @cannabisanomaly
      @cannabisanomaly Před 19 dny

      @@samantr You expect all of us to be paying attention to the bottom area of the video, rather than the more comfortable center-video position?? Kaushik sacrifices modern conveniences for US

  • @harshadasinha6249
    @harshadasinha6249 Před 3 lety +23

    Your sense of humor is another level 👍🏼. Your reaction to answers were like “who gives those kind of answers”

  • @jamiekhoo875
    @jamiekhoo875 Před 3 lety +230

    "I'll tell you why your business is not making more profits - because your interviewers ask these questions and hire people who give these answers" - World-class roasting, circa 2021.

  • @akshaytank2000
    @akshaytank2000 Před 3 lety +9

    Well done Kaushik, you have literally roasted the blogger. Very well explained each of the points.

  • @shekharchoudhary677
    @shekharchoudhary677 Před 3 lety +4

    Quickest way to prepare for the interview of microservies. Thanks a lot Kaushik Sir. U r an amazing teacher.

  • @ProperComment
    @ProperComment Před 2 lety +1

    I'm glad to visit this video, for the 1st time I see someone actually testing thier skills on the fly and making sense with arguments provided. Others content is more preped and already framed

  • @rohitmanchanda8412
    @rohitmanchanda8412 Před 3 lety +37

    As usual great work :). Just to add about asynchronous communication as well. Microservices can communicate with each synchronously or asynchronously. Using REST API is common for synchronous communication. Using queue (RabbitMQ etc) is common for asynchronous communication between microservices. Hope this helps!

    • @shockwavevideos5689
      @shockwavevideos5689 Před 2 lety

      Webflux ?

    • @user-sz1jw2wt7v
      @user-sz1jw2wt7v Před rokem

      @@shockwavevideos5689 webflux is a tool for building reactive applications. it's not communiation protocol or style among microservices

  • @adamtheanalyst
    @adamtheanalyst Před 3 lety +2

    Just found Java Brains and I love the clear and simple explanations! Definitely subscribing

  • @elvinjafarli6257
    @elvinjafarli6257 Před 3 lety +2

    Thank you for your contribution into software development community. We appreciate your effort and time spent!

  • @ranarajan9016
    @ranarajan9016 Před 3 lety +28

    Best Content to get regarding Java , I recommend all my friends to follow your content for Java, Thank you sir for Everything.

  • @rahulchoudhary6050
    @rahulchoudhary6050 Před 3 lety +8

    This video Boosted me to prepare for interview in a unique way :D

  • @neriyamuralikrishna4644
    @neriyamuralikrishna4644 Před 3 lety +4

    Sir, Thanking you for your time and effort for making us understand concepts very clear. Your content is high quality with very good explanation. I have benefited from your teaching. Learning continues..... :)

  • @chanakyav6368
    @chanakyav6368 Před 3 lety +4

    Koushik, the way you explain things is addictive, not everyone is blessed with teaching ability..you are truly blessed and we are lucky to have you and thanks for your videos.

  • @j01237
    @j01237 Před 2 lety +1

    He is a genius, cant stop watching his content. Thank you sir for all the value you share.

  • @omar99ize
    @omar99ize Před 3 lety +7

    Great video! Do more videos of this type. Feels like I learned a lot. It’s kind of like FAQ

  • @user-nu4so7zg8r
    @user-nu4so7zg8r Před 2 lety +1

    Great video, it's amazing how many companies rate developers on their ability to answer these trivia questions.

  • @tejassontakke8382
    @tejassontakke8382 Před 3 lety

    Best content with java and now back with the same Microservices with the same extraordinary quality. Thank you.

  • @dev-skills
    @dev-skills Před 2 lety +3

    14:25 - In monolith architecture, you can do optimizations that are across multiple services at the project level which is not possible in case of microservices as each of them are autonomous.

  • @vinudb123
    @vinudb123 Před 2 lety

    I was waiting for you to scroll down every time to see the answers and your reactions were hilarious. Also the answers you provided were extremely useful. Thanks for an engaging video.

  • @blackscreen44
    @blackscreen44 Před 3 lety +36

    I Can resonate with all that you said.. Seriously if some interviewer refers these , God save the candidate.

    • @e.h.5680
      @e.h.5680 Před 3 lety +2

      Hopefully the interviewer is knowledgeable enough to recognize the answers are moronic.

  • @qwarlockz8017
    @qwarlockz8017 Před 3 lety +3

    Lots if fun! Great video as always. I always feel like I am at coffee with mate since this is sort of what we do when we are out and about. By the way.. one question mentioned Micro Services Tools. Have you ever used/ done a video on JHipster for creating microservices skeletons?

  • @sapnaverma8881
    @sapnaverma8881 Před 3 lety +3

    Hey Koushik, can you explain or create some series for these kind of question? It will be helpful to understand the concept easily. The way you explained help us to correlate and understand concepts. 👍

  • @rkshkumar90
    @rkshkumar90 Před 3 lety +1

    Really enjoyed watching the way u answered ....and the sarcastic looks for wrongly answered questions 😊

  • @RDBeats420
    @RDBeats420 Před 3 lety +5

    We need more content like this ❤️

  • @mirzatahir10
    @mirzatahir10 Před 3 lety +1

    Cool stuff you brought for the audience and I appreciate it.. Could you please also make a video on json vs xml interview question with examples/scenarios as you did for micro services.

  • @selvakumarjayabal2599
    @selvakumarjayabal2599 Před 3 lety

    Thank you so much for all your priceless effort Kaushik. You are awesome!!

  • @LikhithBC
    @LikhithBC Před 3 lety +1

    Big fan of your videos. Have seen almost all your tech videos. Have gone through all playlists of courses. Please do more of this content. It is really helpful. Course is different but these kinda question and answers really dig deep and we will get more info. Please do more of these. One suggestion as well.. Please keep in as playlist. Like Brain bytes are not present as playlist.

  • @vijay517501
    @vijay517501 Před 3 lety +10

    Thank you for posting sir, we are addicted to your explination.

    • @dhl4102
      @dhl4102 Před 2 lety

      same

    • @debayanroy5434
      @debayanroy5434 Před 2 lety

      True, i never though anything like this would be my pass time.

  • @ypucandeleteit
    @ypucandeleteit Před 3 lety

    love this type of video. It was super useful and I tried answering the questions before you to test my understanding

  • @shamikoguru6179
    @shamikoguru6179 Před 3 lety

    yes, that is the top hit for me as well.
    I am fortunate to see that you contradict one of these kind of websites which posts whatever the answer they like.
    Thank you!

  • @jubayer1971
    @jubayer1971 Před 3 lety +4

    I do not have any words to praise you!!! But I am fascinated by your extraordinary presentation and speaking technique. And the most important thing I have realized is that if you search online and learn any answer, it is not correct, you have to know which one is correct. Thank you so much for this beautiful arrangement. May Allah grants you a long and healthy life - Amen. 🙏

    • @03greedo29
      @03greedo29 Před rokem

      Compared to most Indian teachers, yeah his way of speaking is refreshing

  • @Randomisticful
    @Randomisticful Před 2 lety

    Thank you for teaching us an important lesson among all: "Question your source of knowledge before you take it as valid"

  • @SandVision03
    @SandVision03 Před 2 lety +2

    Please do this kind of videos a bit more. What we lack in an interview is the raw version of explanation and ofc stories and discussions helps to understand and memorise stuffs more easily

  • @natalia2722
    @natalia2722 Před 2 měsíci

    This way of learning technology by reacting to info from the internet becomes one of my favorite! Thank you!

  • @Musiclover-dx5cs
    @Musiclover-dx5cs Před 3 lety +2

    Thanks allot Koushik for the detailed explanations. 👍

  • @prabhatsharma4561
    @prabhatsharma4561 Před 3 lety

    Sir where were you all these days? I started my journey with Spring from your channel! Good to see you back.

  • @sarmadchandio1420
    @sarmadchandio1420 Před 2 lety +1

    Kaushik Sir to be very honest, I was just smiling to see your smiling face when you were reacting to silly answers. Love the way you teach

  • @_estebn
    @_estebn Před 3 lety +4

    Bro, thanks for all your videos. Everytime I need to learn something new I search for it on your channel first. Could you make a Spring Kafka course, please?

  • @mahmudulislam5303
    @mahmudulislam5303 Před 3 lety +1

    I get to know more from your answer, rather reading from the website. Actually they can take your answers and put it here so that people can learn the actual answers. Also you answer is simple and easier to understand. I wish if you could post these type of interview question and answer video on a regular basis.

  • @pratiba9
    @pratiba9 Před 2 lety

    Thank you so much for this.. whenever I refer to any interview questions and answers page, I used to feel that I am not aware of many things. but after watching this video I am more confident in myself.

  • @domingos_m
    @domingos_m Před 3 lety

    Great introductory video for the Microservices novice. Thank you

  • @digbijoydas466
    @digbijoydas466 Před 10 měsíci

    Awesome explanation. On a lighter note, I really enjoyed how you were surprised at that explanation, and so do I. But you did as usual great job explaining all questions.

  • @mohammedshabbirahmed976
    @mohammedshabbirahmed976 Před 3 lety +1

    I have been downloading your videos and gaining awesome knowledge in the field of Java Engineering

  • @MrMurilocarlos
    @MrMurilocarlos Před 3 lety +28

    First of all, thanks for sharing your knowledge. The content here is always great.
    I've noticed that most of the time you refer to microservice in a synchronous style (rest api calls). What about asynchronous (event driven and message based)? I would appreciate some of your thoughts on it. Thanks!

    • @swapnilkadam7957
      @swapnilkadam7957 Před 2 lety

      For Asynchronous style microservices, Aka framework is better choice.

  • @RDSRao
    @RDSRao Před 3 lety +1

    Kaushik.. As always, pls take a bow once again for your wonderful explanation!

  • @himanair7347
    @himanair7347 Před 2 lety

    I had a good laugh watching this!! Cant thank you enough for everything that you do!

  • @aishwaryagupta7372
    @aishwaryagupta7372 Před 3 lety

    Liked the video just by reading the title!! Thanks for doing this video.. I am appearing for the interview these days.. this video was helpful 🤗🤗

  • @sudipta_samanta
    @sudipta_samanta Před 3 lety +1

    Please do with another set of questions. Loved it.

  • @neeraaggarwal0
    @neeraaggarwal0 Před 3 lety

    Kaushik sir, thank u for amazing video. I see a different perspective now to prepare for an interview. Very helpful.

  • @BhupinderSingh-zu8cs
    @BhupinderSingh-zu8cs Před rokem

    What a great explanation for each of the answer with proper reasoning.And now i understood, when i go through Interview Questions, my most of the answers were incorrect...because, the funniest bits were displayed on the screen... looks like somebody just rolled on the screen to say something, instead of keeping numb.

  • @scottw1724
    @scottw1724 Před 3 lety

    About half way through. I thought this might be yet another microservices puff vid. Personally never bothered with it but can certainly understand why you would employ them. I'm just sitting here nodding along learning a few things as well. Great content and such a realistic approach.

  • @juancespedes2199
    @juancespedes2199 Před 3 lety

    Thanks for the explanations, this was a really helpful video, congratulations!!

  • @VinayKumar-vb2go
    @VinayKumar-vb2go Před 3 lety

    Thanks Kaushik 🌸☀️. Love your teaching style

  • @yuxun7371
    @yuxun7371 Před 2 lety

    Clearly those answers were not given by person with real experience. If you ask someone who is a fan of new technologies and all the fashion words but is not a developer, he or she is very likely to give answers like these. Thank you Java Brains! I learned so much from you.

  • @krzmi
    @krzmi Před 3 lety

    few more cents you forgot to mention:
    6) Discuss uses of reports and dashboards in the environment of Microservices
    CPU, memory, requests counts, errors - debugging P1 issues.
    8) What are the challenges faced while using Microservices?
    * e2e testing
    * transactionality
    * communication via network - more expertise on different protocols (http, rest, queuing tech., ...)
    * potential distributed monolith (which has disadvantages of both microservices and the monolith)
    about skilled proffesionals - it's easier to hire and manage group of java developers instead of java+python+c# in a single company
    10) Tell me the name of some famous companies which are using Microservice architecture
    not everybody. Constraints environments obviously not (automotive)
    besides that great video

  • @OrionKalas
    @OrionKalas Před 2 lety

    Wow, this is great stuff man. I recently gave an answer in an interview about REST Apis based off an article I read earlier that day , and the interviewer was very confused. Turns out, there is a lot of either false or outdated information out there - who knew!

  • @prakhar992
    @prakhar992 Před 3 lety

    Really Liked the explaination Sir.
    Thanks for this really informative video.

  • @alokrm
    @alokrm Před 3 lety +1

    31:45 :) answer to question 19 semantic monitoring.. you are too good kaushik :)

  • @vishalgupta9156
    @vishalgupta9156 Před 3 lety +6

    Throughout this video, i was laughing out loud after reading answers and watching your reaction to answers :>

    • @interviewforyou7152
      @interviewforyou7152 Před 2 lety

      For more, you may check out czcams.com/video/GtCRHoO3SVQ/video.html

  • @nesreenmohd665
    @nesreenmohd665 Před 3 lety +1

    Thank you so much for your videos. I have a question about the Reactive programming in Java, do you think is it going to be the future of programing? And if you can, can you please make tutorials about reactive programming in Spring boot - java? Thanks

  • @snehabharti491
    @snehabharti491 Před 3 lety

    Thankyou so much for your explanation they are far easier to understand and are very informative about what they will be looking for

  • @perihanhill4397
    @perihanhill4397 Před 3 lety

    Great answers :) thanks for this video. It gave me an idea how can I handle my interview!

  • @vinodkumarmurugesan3589

    Thanks a lot for this Kaushik.. You seriously don't know how much it helps us..!!!

  • @bahmani00
    @bahmani00 Před 3 lety

    Appreciate your time and effort for this. Very valuable video.

  • @philomath20
    @philomath20 Před 3 lety +2

    As always... Awesome content Koushik... I would love to see you provide some tips around interviews where candidates are generally asked to do pair programming and do code reviews over some dummy spring-based enterprise applications.

  • @TarunKumarSaraswat
    @TarunKumarSaraswat Před 2 lety

    love the way you answered these questions. Fun to watch 😂 Hope codeguru update their answers 🤣

  • @EbonySeraphim
    @EbonySeraphim Před 9 měsíci

    A microservice going down usually does fully bring down the larger system, if not specific APIs/functionality has zero chance of working. That cannot be avoided. The difference from a monolith is if a single microservice has an OOM error, only that service goes down and the others will recieve faults/errors from that service. Even if you had to read logs, it's easy to track down. But with mature monitoring dashboards, it should be trivial to see which microservice is having an issue that absolutely manifest in another component that depends on it.
    Monolith is probably considered slower to deploy in cases where you need to ensure deployment to staggered multiple hosts is safe, and if that deployment has to be rolled back it still has to be safe. Backwards compatibility with roll-back safety still non-trivial with microservices as well but the separation through APIs makes it easier to understand the limited ways things can go wrong -- assuming you don't have some other problems hidden within the microservices implementation.
    I'm glad I watched this video. I am confidently understanding what the industry buzzwords are. I pretty much had the same answer where I knew, or could infer what the question was talking about.

  • @foruvasanth
    @foruvasanth Před 3 lety +6

    Man you are a true gift to all of us

  • @abhishekverma5928
    @abhishekverma5928 Před 3 lety

    Big fan of your videos, truely best channel for developer.
    Waiting for your video from long time.
    Please make some videos on Kubernetes, I think a lot of developer really required this topic.

  • @rohiniyadav5736
    @rohiniyadav5736 Před 3 lety +3

    The answer for "what is spring cloud" was exactly the same answer as I used to write in my college semester exams which was the result of one night study. Just few technical terms and form a sentence and u r done :D

  • @priyankabhale9679
    @priyankabhale9679 Před 3 lety +8

    We would love to have more videos of this sort (interview questions on various topics)

    • @CareersTalk
      @CareersTalk Před 3 lety

      Hi Priyanka, please check #careerstalk. All possible 1000 questions and answers at same place asked during TCS, IBM, HCL interview Includes Spring, Hibernate, Microservices, GIT, Maven, JSP, AWS
      please check out #careerstalk
      All the best for your interview !!

    • @saravananm7463
      @saravananm7463 Před 3 lety

      @@CareersTalk oboobibobobobib

    • @saravananm7463
      @saravananm7463 Před 3 lety

      @@CareersTalk i ib b biv ib ib Ii i I i. Ib. I ibi b i ib vb bb

    • @saravananm7463
      @saravananm7463 Před 3 lety

      Knikkinn🙏n🙏ibioiknkio🙏. O nikkko

    • @saravananm7463
      @saravananm7463 Před 3 lety

      K o no🙏no. I🙏 🙏. Ok onknknkkkkkn

  • @mrudulaization
    @mrudulaization Před 2 lety

    These questions sites really screw you up if you are a beginner. Thanks for frankly pointing it out and confirming I m not the only one with these thoughts 😀.

  • @sirishakulkarni4032
    @sirishakulkarni4032 Před 3 lety

    Thanks a lot Kaushik, great explanation as always .. Can we expect more questions from you please. . What would you ask if you have to interview !?

  • @saimonldable
    @saimonldable Před 2 lety

    Thank you so much, there are many things I have learned from this video!!

  • @kaleemullahnizamani7436

    Wow kaushik u are such an amazing source to learn. U have kept me with Java love u

  • @aaqibhamdule73
    @aaqibhamdule73 Před rokem

    Hi JavaBrain Guy, ur video is great, can u please make a video answering below questions :
    1) When do we need event-store in micro-service architecture?
    2) Microservice metrices?
    3) Can we use Kafka as a event-store? Best event-store. Best way to publish events
    4) What security method use to restrict sharing services across services ?
    5) Can we externalize API-Gateway ?
    6) Maintaining object-state in microservice
    7) Transanction management and rollback scenerios in microservices
    8) Notifying client if producer api version changed .
    9) Weak-schema implementation need and use?

  • @anubhavjain5463
    @anubhavjain5463 Před 3 lety

    Great work..but expectations are high from you and looking for more scenarios and practical-based questions related to microservices.

  • @nortonandreev8844
    @nortonandreev8844 Před 2 lety

    A very informative video! I'd go with your answers as well.

  • @dev-skills
    @dev-skills Před 2 lety +2

    8:56 Fault isolation - In case a service crashes or hardware failure happens in the infrastructure of a service, other services will continue to run. However in the case of monolithic, as everything is running in central infrastructure, hardware failure or crashes will impact multiple services.

  • @shachishah1039
    @shachishah1039 Před 3 lety

    Really helpful way... Understood stuff in better way

  • @asherkhan115
    @asherkhan115 Před 11 měsíci

    This was quite helpful...keep up the good work !!

  • @weekendhoppers
    @weekendhoppers Před 3 lety +3

    This is what we need post 2020 - technical forums grilling each other 😂
    By the way, appreciate the honesty and prompt reactions to call out the garbage answers 👍

  • @oscalprab
    @oscalprab Před 2 lety

    Excellent job, thanks for take your time

  • @don300100
    @don300100 Před 3 lety

    Hahaha nice introduction ... Loved it ❤️

  • @poornas1497
    @poornas1497 Před 3 lety

    you're amazing man andI love all your playlist. if possible can you make a playlist for connecting no sql data base with spring boot. or creating an application that connects with dynamodb/s3. or commonly faced database issues when we have millions of records where application performs read and write operations.

  • @mohammedshabbirahmed976

    your videos have helped me a lot in enhancing my coding capabilities

  • @amitbillore9794
    @amitbillore9794 Před 3 lety +1

    I request you Kaushik sir , please upload more videos. I love your videos.

  • @AnsisPlepis
    @AnsisPlepis Před rokem

    Love how you were losing hope on the article and then at 19:35 I just lost it. Good stuff and great video

  • @eyeleen13
    @eyeleen13 Před 3 lety

    I'll be happy to see k8s and docker courses from you! Will get all access pass if so!

  • @amazingel8068
    @amazingel8068 Před 2 lety +1

    I enjoy it when you slowly change your facial expression while reading those funny answers

  • @rolandovillcaarias5112

    Thanks sir. Explain concepts using fully Technical terminologies instead of long phrases. Thanks 🤓.

  • @franzalexanderyepezhinostr8653

    I used to visit a lot that page when i was working as Testing/QA. This video broke my heart.

  • @desinenilokesh
    @desinenilokesh Před 3 lety +1

    Hi Koushik Sir, Thank you for providing the valueble information.
    I feel like your explanation was simple and easy to understand.
    Recently in an interview I had faced question like "How will you identify /maintain the state of transaction in microservice architecture"
    So could you please answer the question in your own terms. Thanks in Advance.

  • @muksa19
    @muksa19 Před 3 lety

    Best definition of Restful. Better than dedicated videos on it.

  • @cevat_vlog656
    @cevat_vlog656 Před 3 lety +1

    you are funny and smart:) good job, good coverage