Microservices Interview Questions and Answers for experienced and fresher | Most Asked | Code Decode
Вставка
- Опубліковано 29 вер 2024
- In this video of code decode we have covered most asked microservices Interview questions and answers. Covered 3 W's (Why What When & H - How)We have covered all the basic microservices interview questions along with their answers.
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/u...
Course Description Video :
yt.openinapp.c...
What are Microservices?
Microservices is an architecture where the application is exposed as loosely coupled services that can be independently developed, deployed, and maintained. Each service exposed is referred to as Microservice. Each service performs a unique function.
Speciality of this architecture is that polyglot architecture is supported. For example, if a team is working on one of the microservice using Java, Spring Boot, and MySQL, another team can work on another microservice using Python, Node JS, and NoSQL.
Different microservices can use a different version of the same programming language.
Different microservices can use different programming languages.
Different microservices can use different architectures as well.
Q)Why Microservices?
In the case of monolith applications, there are several problems like
Same code base for presentation, business layer, and data access layer. Application is deployed as a single unit.
Complex to maintain and scalability is an issue.
Microservice solves the above problems.
Microservices are ideal when a monolith or a legacy application needs to be modernized.
For new software development, if the key business drivers are to reduce time to market, scalable better software, lower costs, faster development, or cloud-native development, microservices are ideal.
Each service is independent and gives the flexibility to choose the programming language, database, and/or architecture.
Distinct services can be developed, deployed, and maintained independently.
Q) What are the pros and cons of Microservice Architecture?
Pros of Microservice Architecture
1) Freedom to use different technologies
2) Each microservices focuses on single capability
3) Supports individual deployable units
4) Allow frequent software releases
5) Ensures security of each service
6) Multiple services are parallelly developed and deployed
Cons of Microservice Architecture
1) Management of a large number of services is difficult.
2) Communication between microservices is complex.
3) Increased efforts for configuration and other operations
4) Difficult to maintain transaction safety and data boundaries
5) Due to the decentralized nature of microservices, more microservices will mean more resources hence high Investment
6) Debugging of problems is harder unless the right instrumentation is followed during design and development.
7) Microservices will need a large team size with the right mix of experience in design, development, automation, deployments, tools, and testing.
Q) When to use microservices?
Reduce time to market,
Scalable better software,
Lower costs,
Faster development,
Cloud-native development
It makes sense to adopt a microservices architecture, if the team size is big enough as each service will require its team to develop, deploy and manage.
Timeframe and skills of team members are a constraint.
If fast results are required,
choose microservices architecture only if the team also has experience in microservices.
Do not use this architecture for simple application which can be managed by monolithic application .
So you use ask yourself first do we really need microservice architecture
Microservice Interview Questions and Answers part -2
• Microservices Intervie...
Also if you want to learn microservices from basic you can find all the video in below playlist
• Microservices Tutorial
Most Asked Core Java Interview Questions and Answers : • Core Java frequently a...
Advance Java Interview Questions and Answers : • Advance Java Interview...
Java 8 Interview Questions and Answers : • Java 8 Interview Quest...
Hibernate Interview Questions and Answers : • Hibernate Interview Qu...
Spring Boot Interview Questions and Answers : • Advance Java Interview...
Angular Playlist : • Angular Course Introdu...
SQL Playlist : • SQL Interview Question...
GIT : • GIT
Subscriber and Follow Code Decode
Subscriber Code Decode : www.youtube.co...
Linkedin : / codedecodeyoutube
Instagram : / codedecode25
#codedecode #microservicesinterviewquestions #microservices
I cleared my senior level Interview by only seeing this Microservices Playlist (I'm 7 years java expert and no knoledge on Microservices). This play list covers most of the Microservices interview questions and practical explainations. One stop solution for all
Thanks a tonn🙂🙂👍👍.
@@CodeDecode 😊
😊q
which playlist?
Great
Thank you madam.. got 3 offers for 8 years experience with 21 lpa.. I don’t know microservices and springboot but ur vedios made me expert.. thank you thank u “inthakante emi cheppagalam “ in telugu words except like and share
Many congratulations Man. Good jobbb 🎊🎊🎊🎊🎊 Well deserved 👍👍. Keep learning keep shining ⭐✨⭐✨. Can you please translate this for me??
“What can I say more than this” is the meaning of this phrase mam....its an expression of gratitude in our regular telugu languaga🥰
Ohh thanks a ton for translating this for us Sreeja 🙂👍👍
Thank you so much for uploading these videos.. this really helped me in cracking my interview
As a girl aspiring to excel in technical field, I take you as my inspiration 🙏 thanks a lot for this valuable content.
Means A lot to us Manogna. U will reach all heights in your life. We can see your consistency in learning. You will land at your dream job really soon 👏👏
@@CodeDecode Your reply made my day!! Thanks a lot for your kind words. I sincerely wish your efforts are recognised and your channel gets higher views and subscriptions!! Good day!
Love for these videos thanks a lot
❤️❤️
Really Informational and beneficial videos
Please keep posting
Yeah more videos are lined up Mohit 🙂👍
Thank you so much for this video. Can you plz cover docker concepts and how it works.
Sure Anuradha we will do that🙂👍
great nice explanation thank code decode
👍😊
Very much informative, kindly create new video on docker, AWS and database patterns
Yes it's in pipeline 🙂👍
Thank you for the video, I'd wanna ask how microservice lower the cost. (explained at 20:25 ) Why can't a monolithic application be deployed in clould?
Please released next part videos .It helps a lot.....
ua-cam.com/play/PLyHJZXNdCXsd2e3NMW9sZbto8RB5foBtp.html
hi...geat content...plz upload 2nd abd 3rd part of the series
Sure we will upload it soon....
Yes plz create all Ms related interview questions..thank you so much for such awesome videos
Sure we will create more videos on this topic
Thank You So much ma'am...!!
😇😇👍
Please create a tutorial on Global transaction in microservices
Nice topic deepak sure we will do that🙂👍
Please create more videos for this series
Sure Swati. It's ready we will upload it soon 👍🙂
Please upload total questions related to microservices
ua-cam.com/video/oNL5tQ4L9xg/v-deo.html
Second part is live now. Anything else u need?
Thank you so much
🙂👍
Can you provide ppt you used in this video?
Video is still in uploading...
It's live 🙂👍
A great shout out to mam. I dont know ur name so couldnt convey with name. This channel is a real blessing.
Able to crack the MNC interview ,full of technical questions. On top of that i was able to continue the technical discussion for 1.5hrs. Keep uploading new stuffs mam. Many things to learn from you. Loads of love. Keep Blessing🙏🏻
HI i wanna ask you a question? In my interview the interviewer asked me how will you scale your microservices application vertically and why you should scale it? I said increase in traffic and remedy should be increase CPUs and servers. The interviewer was not impressed. Can you help me to answer this question?
* Please create 2nd 3rd part of Microservices with Docker and AWS
* Also, you said you will be showing password encryption in application.yml files for vaccinationCenter and citizenService databases. Could you pls show us that?
Sure Harshita we will do that 🙂👍
@@CodeDecode thank you so much 😊
Great Explanations....
Can u please make video on OAuth+OpenID+Spring Boot ...
🙏🙏🙏
Sure Natrajan 🙂👍
Mam is it possible for us to send documented interview questions and answers
Mam I am your huge fan the way you teach is nowhere on UA-cam. Addicted to your tutorials.
Thanks Nilesh🙂👍
Please create a dedicated video on Microservice Architecture Design Patterns and principles
Sure Sanjay 👍
Is it uploaded mam
HI i wanna ask you a question? In my interview the interviewer asked me how will you scale your microservices application vertically and why you should scale it? I said increase in traffic and remedy should be increase CPUs and servers. The interviewer was not impressed. Can you help me to answer this question?
Amount of Respect and appreciation I have for you guys is Words me bata hi nahi sakta.....
Thanks Suyash 🙂
Thank you for this vedio. Please complete this series as soon as possible. I am waiting for further vedio for microservices interview.
Sure Nitish. Second part is ready we will upload it soon 👍🙂
Couple of questions which I faced in interview :
1. How distributed transaction handled in microservices concept? ( CQRS,Saga pattern, Choreography, Command)
2. Difference between zuul and Spring cloud gateway.
3. Resilance4j
4. What is the importance of feign client
One of them is already answered here
ua-cam.com/video/YK1XRvoXllE/v-deo.html
All are part of spring cloud module of spring.
Yes distributed transactions, CQRS,Saga,choreography, command are important topics
Wow how many years of experience? 🥲 feel like I'm so dumb
Fantastic content. Easy to understand. Hats of to your hard work that you explained every little bit with hands on. Kudos. Waiting for more on microservices
Thanks 👍😊😊. Sure we will upload soon
A very good series of Microservice. Ma'am I am very thankful to you to tell the concepts in concise and precise manner. Salute to your hard work and dedication for making this series.
@083_rishab - have you gone through all her tutorial series of microservices / only interview series
@@Kath5854 also gone with coding section
Thanks a lot Rishabh 👍👍🙂
Thank you very much!!! Very impressive help me a lot!! Could you please do on AWS and how to deploy microservices with implementation
Sure👍
Thanks for making this Microservices Series as a "Serious" topic...Great job...Simple and easy to learn for interviews
Thanks Man.
. Please do participate in our give away Man . You have been our constant supporter. We would love to pay you back. Please add your email n name in the form we shared today in the video.
Serious topic meaning?? Others make it funny??
Mam, I have watched most of your videos in your channel. It was very helpful for my interview preparations. I have a learnt lot things from your videos and lectures. Thanks a lot. Please upload the rest of the interview questions from microservice too. Thanks for everything.
Thanks Vignesh. It's ready we will upload it soon 🙂👍
I have gained a lot of knowledge from this tutorial. However, if you could explain a bit more slowly, it would help us understand much more clearly
Hi mam super really it is very useful and pls make a video about rest API also
Note: pls share the link of second part and third part from this continue.....because i can't able to 3rd part at all pls share the continue video link
Sure we will upload it soon 🙂👍
Thank you so much for this series. Please share the second video soon .
Sure Shiksha. It's ready. We will upload it soon 👍🙂
Please cover other microservices interview questions also, which you mentioned in start of the video.
sure we will cover it soon
your teaching is awesome . I learned lot of things from you. Thank you so much to provide this much knowledge. Please make and upload second Part ASAP.
Thanks Balakrishna 🙂 yeah it's ready we will upload it soon 👍👍
ThankQ for the video. Could you please upload follow up videos for the Micro services interview questions.
we have uploaded the second part please check it out
Such a clarity on concepts… girl with brains … 😍😍🙂
Thanks a ton🙂🙂
Micro services do not lower costs. Infact the provisioning cost of micro services is always larger as compared to monoliths. There are a bunch of moving components.
Thank you so much for ur videos. Can you explain about saga architecture and roll back transaction in ms
Sure Poornima, we are going to cover design patterns only next 👍🙂
Thanks for this video. Can you please cover the next topics such as handling transactions, SAGA pattern, resiliency4j?
Yess it's in pipeline👍👍
Looking for the same
I have been waiting for this topic..Thanks a lot
🙂👍
I love your videos it helped me a lot, please make a tutorial about deploying microservices in AWS!
Sure 😊👍👍
Hey,thank you so much 🙏🙏Please upload second round ASAP...Its really use full for all who new in microservces......🙏🙏🙏
It's ready. Will upload it soon🙂👍
Can you share this code if possible
It was great listening and must watch interview questions on microservices, seriously while listening it is like feeling MNC interview experience.
Awesome for your hard work keep posting new things as well on microservices interview questions
Thanks a tonn for motivating us. Yes we will upload more videos soon Santosh👍🙂
mam please upload the rest part of microservices interview questions part 3,..
ua-cam.com/play/PLyHJZXNdCXsdvaw5eGW9kMnbll88B8kG2.html
Can Microservices be secured with Spring Security?
Why not 😊
Yes required 2nd part and is it possible to share document for interview Q&A?
ua-cam.com/video/oNL5tQ4L9xg/v-deo.html
Second part is live now.
Everything that's in ppt is in description below. Slides do have content that can give us copyright issues, that's why we can't share the slides. Sorry for inconvenience Appa rao. Is there any other way we can help you?
Your Explanation with Theoretical as well as practical is awesome, can you please cover topics for System design too. Only Interview perspective/questions is also fine...Thanks In advance
sure manish we will create video on system design soon
Thank you for the video and it is very useful. Waiting for next video in this series
Thanks Chaitanya 🙂👍sure next part is ready we will upload it soon👍
Am new to this profession but i learnt alot from this...
thanks 👍
Thanks alot 🙏🙏 madam Please make second part for this and cover some more interviews questions
Yes we will cover everything end to end. 🙂👍
Thanks for this video..
Could you tell which API gateway you have used here Spring cloud or Netflix API gateway?
Thanks for this video...and please do upload the next videos also.
It's ready Sahil. We will upload it soon 👍🙂
Thanks for this video. Please make other videos to covered remaining questions.
Sure shankar, next part is ready, we will upload it soon 🙂👍
Looks like train was to catch
Looks like train was to catch
Hey, it’s very helpful video. Now I understand the concept of Microservices clearly. Please create more such videos
Thanks 🙂👍. These comments motivates us to put more efforts🙂🙂thanks a tonn for supporting us🙂🙂
way of explanation is Awesome mam!! please try to complete all questions in microservices.
please try to deploy on k8s also.....
Sure Vithal🙂👍
Hi Maam
Please provide videos on Spring WebFlux and interview questions also
Really helpful. Please create for remaining questions.
Second part is ready Sitaram. We will upload it soon 👍🙂
Please create a tutorial on distributed transaction in microservices
Yes sure Deepak we will do that 🙂👍
This channel is a treasure!
Thanks a lot Malathi 🙂🙂
Very nice Video mam, please post next series of video.
It's ready Jyothsna, we will upload it soon 🙂👍
Mam can you please teach make video on loggers and logging levels.
Sure we will cover logs 🙂👍
@@CodeDecode Thank you Mam 🙂
Which API Gateway you used in Microservices ?
Please add further parts of video.It is really very helpful. Thanks
Sure swati we will upload it soon...
Thank you for the first part. Kindly upload the videos for all the remaining questions on Microservices
It's in pipeline Mayuri. We will upload them soon 🙂👍
@@CodeDecode Thank you
👍🙂
Good initiative ❤️
Thanks Dishank 🙂👍
Waiting for second video … next set of questions pls
Sure, it's ready. We will upload it soon 🙂👍
Dear pls put more videos for other questions
Sure Vipul 🙂👍
Awesome I was looking the same thing from the long time
Hope we will be able to cater your requirement with this interview series
Please create more parts of this to cover the topics
Sure Akash 👍
I am the one who always eagerly wait for the release ❤️❤️
🙂👍
I appreciate ur effort that has been taken for this series. Loved it🤩. Thanks again
Thanks a lot for recognising our efforts 🙏❤️❤️
What is package for freshers for springboot and micro service
Thanks very useful n upto point videos
Thanks Supriya 🙂👍
Please upload the second part of it.
It's ready Satyam we will upload it soon 👍🙂
Fantastic content you got here madam, thanks a lot!
you're welcome filip
Waiting for this. Keep up the good work.
Thanks Sayan 🙂👍
Hi Can u share the ppt with all the ques and ans.?
Waitinggggggggg and thanks for ur hardwork..
Thank Malai 🙂👍
couple of questions i had in interview?
a. how a single service can return either xml or json based on the request?
b. how to reduce attribute from the response though the dAO returns all of the attributes?
to rerurn xml have to use produces attribute in @RequestMapping and to answer second question can use @jsonignore to igonre in respnse
I am waiting 😀
It's live now 🙂👍
Question: Design CRUD using microservices?
Just simply love you.... 🤝🙏
🙂🙂
please create aws and docker
sure we will create it soon
Waiting for the second part.
It's ready we will upload it soon 👍🙂
tell me slowly interview
Sure Raju 🙂👍
Can you provide this file ?
can get notes of this questions?
Please upload next part
ua-cam.com/video/oNL5tQ4L9xg/v-deo.html
A very good knowledge to gain, nicely explained, can you please share some material/content like ppt or notes.Thanks
Thank you for your efforts 👍
Thanks Rajender 🙂👍
She talks like alia Bhatt ❤❤❤
But with a little more IQ I hope 😜😜
@@CodeDecode ofcourse IQ to bhar bhar k hai aapke pass .. awaazz me jaduui power hai kuch to