Top 25 Microservice Interview Questions Answered - Java Brains

Поделиться
HTML-код
  • Опубликовано: 3 июн 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

Комментарии • 513

  • @tetomdq
    @tetomdq 2 года назад +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 2 года назад +69

    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"

    • @ikemkrueger
      @ikemkrueger Год назад +1

      That one had me laughing. xD

  • @ritugupta3367
    @ritugupta3367 3 года назад +139

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

    • @adityasoni434
      @adityasoni434 2 года назад +6

      Is it in this video?

    • @mohitiyer2948
      @mohitiyer2948 Год назад

      @@adityasoni434 no. It's part of microservices series.

  • @bharath4353
    @bharath4353 3 года назад +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.

  • @jamiekhoo875
    @jamiekhoo875 3 года назад +231

    "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.

  • @ajinkyadhumal4950
    @ajinkyadhumal4950 3 года назад +134

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

    • @samantr
      @samantr 3 года назад +3

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

    • @maheshtambe9535
      @maheshtambe9535 3 года назад +2

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

    • @darklord711
      @darklord711 3 года назад

      @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 3 года назад

      Epic comment @ 32.02

    • @cannabisanomaly
      @cannabisanomaly Месяц назад

      @@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 3 года назад +23

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

  • @ProperComment
    @ProperComment 2 года назад +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

  • @akshaytank2000
    @akshaytank2000 3 года назад +9

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

  • @prakhattri92
    @prakhattri92 3 года назад +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.

  • @shekharchoudhary677
    @shekharchoudhary677 3 года назад +4

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

  • @blackscreen44
    @blackscreen44 3 года назад +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 3 года назад +2

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

  • @adamtheanalyst
    @adamtheanalyst 3 года назад +2

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

  • @rohitmanchanda8412
    @rohitmanchanda8412 3 года назад +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 2 года назад

      Webflux ?

    • @user-sz1jw2wt7v
      @user-sz1jw2wt7v Год назад

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

  • @elvinjafarli6257
    @elvinjafarli6257 3 года назад +2

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

  • @chanakyav6368
    @chanakyav6368 3 года назад +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.

  • @ranarajan9016
    @ranarajan9016 3 года назад +28

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

  • @dev-skills
    @dev-skills 3 года назад +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.

  • @j01237
    @j01237 2 года назад +1

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

  • @yuxun7371
    @yuxun7371 2 года назад

    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.

  • @user-nu4so7zg8r
    @user-nu4so7zg8r 2 года назад +1

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

  • @tejassontakke8382
    @tejassontakke8382 3 года назад

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

  • @vinudb123
    @vinudb123 2 года назад

    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.

  • @neriyamuralikrishna4644
    @neriyamuralikrishna4644 3 года назад +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..... :)

  • @rahulchoudhary6050
    @rahulchoudhary6050 3 года назад +8

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

  • @krzmi
    @krzmi 3 года назад

    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

  • @natalia2722
    @natalia2722 3 месяца назад

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

  • @oprasongik
    @oprasongik 3 года назад +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 Год назад

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

  • @mahmudulislam5303
    @mahmudulislam5303 3 года назад +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.

  • @omar99ize
    @omar99ize 3 года назад +7

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

  • @sarmadchandio1420
    @sarmadchandio1420 2 года назад +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

  • @dev-skills
    @dev-skills 3 года назад +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.

  • @rkshkumar90
    @rkshkumar90 3 года назад +1

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

  • @shamikoguru6179
    @shamikoguru6179 3 года назад

    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!

  • @Randomisticful
    @Randomisticful 2 года назад

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

  • @selvakumarjayabal2599
    @selvakumarjayabal2599 3 года назад

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

  • @prabhatsharma4561
    @prabhatsharma4561 3 года назад

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

  • @himanair7347
    @himanair7347 2 года назад

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

  • @OrionKalas
    @OrionKalas 2 года назад

    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!

  • @qwarlockz8017
    @qwarlockz8017 3 года назад +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?

  • @mohammedshabbirahmed976
    @mohammedshabbirahmed976 3 года назад +1

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

  • @RDSRao
    @RDSRao 3 года назад +1

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

  • @pratiba9
    @pratiba9 2 года назад

    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.

  • @mirzatahir10
    @mirzatahir10 3 года назад +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.

  • @vijay517501
    @vijay517501 3 года назад +10

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

    • @dhl4102
      @dhl4102 2 года назад

      same

    • @debayanroy5434
      @debayanroy5434 2 года назад

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

  • @sapnaverma8881
    @sapnaverma8881 3 года назад +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. 👍

  • @digbijoydas466
    @digbijoydas466 11 месяцев назад

    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.

  • @SandVision03
    @SandVision03 2 года назад +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

  • @domingos_m
    @domingos_m 3 года назад

    Great introductory video for the Microservices novice. Thank you

  • @ypucandeleteit
    @ypucandeleteit 3 года назад

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

  • @RDBeats420
    @RDBeats420 3 года назад +5

    We need more content like this ❤️

  • @scottw1724
    @scottw1724 3 года назад

    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.

  • @BhupinderSingh-zu8cs
    @BhupinderSingh-zu8cs 2 года назад

    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.

  • @neeraaggarwal0
    @neeraaggarwal0 3 года назад

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

  • @rohiniyadav5736
    @rohiniyadav5736 3 года назад +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

  • @vinodkumarmurugesan3589
    @vinodkumarmurugesan3589 3 года назад

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

  • @LikhithBC
    @LikhithBC 3 года назад +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.

  • @sudipta_samanta
    @sudipta_samanta 3 года назад +1

    Please do with another set of questions. Loved it.

  • @mrudulaization
    @mrudulaization 2 года назад

    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 😀.

  • @_estebn
    @_estebn 3 года назад +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?

  • @snehabharti491
    @snehabharti491 3 года назад

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

  • @VinayKumar-vb2go
    @VinayKumar-vb2go 3 года назад

    Thanks Kaushik 🌸☀️. Love your teaching style

  • @aishwaryagupta7372
    @aishwaryagupta7372 3 года назад

    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 🤗🤗

  • @aaqibhamdule73
    @aaqibhamdule73 Год назад

    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?

  • @ernepal8436
    @ernepal8436 2 года назад +1

    This is why there is trust issues with the education system/study materials/resources of the country like Nepal, India where teachers has no industry expertise. So, their answers always confuses the students which results in the lack of confidence in the students.
    Always big fan of Koushik sir.
    Lots of love from Nepal.

  • @vishalgupta9156
    @vishalgupta9156 3 года назад +6

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

    • @interviewforyou7152
      @interviewforyou7152 2 года назад

      For more, you may check out ruclips.net/video/GtCRHoO3SVQ/видео.html

  • @franzalexanderyepezhinostr8653
    @franzalexanderyepezhinostr8653 2 года назад

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

  • @EbonySeraphim
    @EbonySeraphim 9 месяцев назад

    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.

  • @saimonldable
    @saimonldable 2 года назад

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

  • @alokrm
    @alokrm 3 года назад +1

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

  • @juancespedes2199
    @juancespedes2199 3 года назад

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

  • @perihanhill4397
    @perihanhill4397 3 года назад

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

  • @Musiclover-dx5cs
    @Musiclover-dx5cs 3 года назад +2

    Thanks allot Koushik for the detailed explanations. 👍

  • @bahmani00
    @bahmani00 3 года назад

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

  • @amazingel8068
    @amazingel8068 2 года назад +1

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

  • @philomath20
    @philomath20 3 года назад +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.

  • @kaleemullahnizamani7436
    @kaleemullahnizamani7436 3 года назад

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

  • @rajs7454
    @rajs7454 3 года назад +2

    You can write a book on Java. I am sure the book will be so famous that no other books on java would even get closer to it

  • @eyeleen13
    @eyeleen13 3 года назад

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

  • @MrMurilocarlos
    @MrMurilocarlos 3 года назад +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 3 года назад

      For Asynchronous style microservices, Aka framework is better choice.

  • @mainakization
    @mainakization 3 года назад

    A main advantage of Microservice architecture is the components are not coupled and the changes like adding, modifying and removing new services are easy and less risky.

  • @mohammedshabbirahmed976
    @mohammedshabbirahmed976 3 года назад

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

  • @ChandrashekharJani
    @ChandrashekharJani 3 года назад +4

    Answering question in simple terms, so as not to surprise the interviewer with buzz words and running away from questions.

  • @poornas1497
    @poornas1497 3 года назад

    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.

  • @prakhar992
    @prakhar992 3 года назад

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

  • @abhishekverma5928
    @abhishekverma5928 3 года назад

    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.

  • @TarunKumarSaraswat
    @TarunKumarSaraswat 2 года назад

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

  • @muksa19
    @muksa19 3 года назад

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

  • @ankurbhanot496
    @ankurbhanot496 2 месяца назад

    this tutorial video is the best stress buster i got in last few months :P

  • @dev-skills
    @dev-skills 3 года назад +2

    14:10: Monolith applications usually have a common database schema over which you build all your services. In case you need to change the database model you would need to coordinate this change with other teams and there might be changes in multiple services required. Whereas in Microservice you would update the data model and there would be no impact on other services. You only need to honour the existing API contract.

  • @ignorantandblind
    @ignorantandblind 3 года назад

    Kaushik. I recently got married. I wanted to switch my job for better package and your videos helped a lot. I got very good hike too. God bless you dear friend.

  • @AkashVermaNITian
    @AkashVermaNITian 3 года назад +2

    Monolith vs Microservice: its not about the code-base. Its about 'what gets built and deployed' ultimately. (Even a monolith can have a code base in multiple pieces, but deployed as a single thing.)

    • @SathishKumar-mz7fw
      @SathishKumar-mz7fw 3 года назад

      true, different codebase goes as small libs and finally deployed in one single monolith application.

  • @weekendhoppers
    @weekendhoppers 3 года назад +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 👍

  • @shachishah1039
    @shachishah1039 3 года назад

    Really helpful way... Understood stuff in better way

  • @chaitanyakvk
    @chaitanyakvk 3 года назад

    I just can't explain in words, thanks a ton

  • @nesreenmohd665
    @nesreenmohd665 3 года назад +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

  • @debashishdutta5490
    @debashishdutta5490 3 года назад +4

    Have an interview on Monday..and guess what?? The Guru appears just in time. ❤️

    • @krzysztofg640
      @krzysztofg640 3 года назад +1

      Good luck. I have the same situation ! :)

    • @FuzailShaikh
      @FuzailShaikh 3 года назад +2

      I hope it's not guru99

  • @anubhavjain5463
    @anubhavjain5463 3 года назад

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

  • @oscalprab
    @oscalprab 2 года назад

    Excellent job, thanks for take your time

  • @AmitKumar-ct8df
    @AmitKumar-ct8df 2 года назад

    Kaushik O my God your expression on question two was hilarious. When I heard the question while watching the video I got the same expression. This has become my favorite video so far.