Microservices Interview questions and answers for experienced and freshers | Code Decode | Part-2
Vložit
- čas přidán 4. 08. 2024
- In this video of code decode we have covered some mostly asked microservices Interview question for freshers and experience in Java
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/udemycourse
Course Description Video :
yt.openinapp.co/dmjvd
Q) What are the main features of Microservices?
Microservices architecture breaks an application into smaller services, and it is possible to develop, deploy each service independently. This makes the introduction of new features in an application very easier.
Decentralization: Microservices architecture leads to distributed systems. The data management is decentralized. There will be a monolithic database containing all data belonging to the application. Each service has the ownership of the data related to the business functionality of that service.
Black box: Every microservice is defined as a black box. The details of the complexity are hidden from other services/components.
Security: The Microservice platform itself should provide capabilities for certificate management, different types of credentials, authentication, and authentication based on RBAC (Role-based access model). Security is decoupled from the microservice development team as platform standardization help with it.
Polyglot:
This is one of the significant aspects of microservices architecture.
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. Eg. Python 2.7 and Python 3.0
Different microservices can use different programming languages.
Different microservices can use different architectures as well.
Q) How do microservices communicate with each other?
In the case of Microservice Architecture, there are 2 different types of inter-service communication between microservices.
a. Synchronous communication
b. Asynchronous communication
Synchronous communication:
In the case of Synchronous communication between microservices, the client service waits for the response within a time limit. The possible solution is using HTTP Protocol using via REST API for interservice communication.
Asynchronous Communication:
In the case of Asynchronous Communication, the client service doesn’t wait for the response from another service. When the client microservice calls another microservice, the thread is not blocked till a response comes from the server. The message producer service generates a message and sends the message to a message broker on a defined topic. The message producer waits for only the acknowledgment from the message broker to know that message is received by the broker.
The consuming service subscribes to a topic in the messaging queue. All the messages belonging to that topic will be fed to the consuming system(s). The message producer service and consuming services don’t even know each other. The response is received in the same methodology through a message broker via defined message topics.
Different messaging tools are based on the AMQP (Advanced Message Queuing Protocol). Some examples are given below.
a. Apache Kafka
b. RabbitMQ
c. Apache ActiveMQ
Q)What is the difference between Monolithic, SOA and Microservices Architecture?
Main diff b/w SOA and MS architecture is Based on sharing of data and info. SOA shares and reuses as much as possible while MS focuses on sharing as little as possible
Microservice Interview Questions and Answers part - 1 :
• 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 : czcams.com/users/CodeDecode?...
Linkedin : / codedecodeyoutube
Instagram : / codedecode25
#codedecode #microservicesinterviewquestions #microservices
Anybody can crack even senior level of interview if all Playlist of Code Decode is watched.
Thank you!
I can now refresh my knowledge.😌
Thanks a ton Ashish 🙂👍.keep learning keep growing Man 👍👍
I echo
@@CodeDecode Great content, Can you please share all the tutorials slides as well for quick go through?
i did nothing.. i went through all your videos.. made a note,.. now i have 4 offer letters in my hand.. thank you!!!
Many Congratulations Pramit🎊🎊well deserved. Keep shining ⭐✨⭐✨⭐✨⭐✨
one of the best tutorial can't wait for third part as well as I would like to know more about asynchronous communication using microservice
I really feel bad for awesome educators like you who are building the careers of so many aspirants but not getting recognised. Thanks a lot for your effort. I can completely rely on your content. You have set yourself as an example of women getting empowered in technical field, that too with such an unquestionably sound knowledge base. Kudos!! I would like to know your name please:-)
This comment made my day Manogna ❤❤thanks a lott 🙂🙂. This keeps us motivated to work more towards this.
@@CodeDecode You are still anonymous ma'am:-)I am really curious to know your name.
I would love to connect with you personally Manogna. But the issue is that we are working IT professionals and disclosure of our identity can cost us a lot. That's why we prefer going anonymous. Hope soon we will connect personally ❤❤🙂🙂👍👍
@@CodeDecode Yeah I understand, thanks a lot:-) Really happy to see response from you. Your content has helped me crack several interview and invite several job offers with good pay. Really grateful to you for this. The speciality of your channel is short videos with enormous and clear content. Keep educating many more and I wish you reap the fruits of your effort and receive due recognition in course of time.
@@CodeDecode great power comes with great responsibilities..
You are really admirable. The way you explain stuff is really catchy and cut to the right point. Thanks a lot! Because of you I got to learn a lot in a very less time. You rock!
This means a lot to us Gayathri. Thanks a tonn🙂🙂👍👍. Keep learning keep shining 👏👏
Each and every video which ur making related to Java, spring boot, Microservice etc are really helpful.Such video not only makes concepts understanding easier but helped us to crack interviews too..
One Request ,Can u make the 3rd part of Microservice interview questions and also a tutorial related to Kafka,activemq etc integration with spring boot nd Microservice?
Completed many series of playlists, this one's is very much important and by the way thank you so much for explaining it with ease. Thanks a lot. Waiting for the remaining videos in this series. 🧑💻
Sure 🙂thanks👍🙂
Your videos are so helpful, appreciate the hard work you are putting into preparing the content. Thanks a lot :)
Thanks Aditi for the nice words
Your videos are awesome with easy learn. This makes the micro services more clear. Please prepare videos on Messaging systems. Thanks for your effort and this series. 👏🙂
Thanks for the nice words senthil
I used to fail in many microservices interviews, but after watching your videos, I cleared an interview. Thank you so much !! 👍
So glad to hear that Shirish . Many congratulations on clearing your interviews 🎉🎉🎊 keep learning keep shining 🌟🌟
Really helpful ma'am . Thank you for all the efforts that you put in :) . If possible I would like to request you to make a video on how to implement Spring security in a microservice architecture since its a bit hard to understand .
I really admire you for such easy explanations . You are doing a really good job . Easy examples and to the point theory
Thanks a lot Anam 🙂
Awesome playlist with nice explination.
very helpful !!
please make more videos and
if possible please make a video on how to build a ecommerce application embedding all springboot and microservices features along with spring security
Hi, Thank you for detailed explanation. wonderfully explained. It helped a lot and I was expecting third part after second one. please continue teaching us.
Sure Shruthi❤
I have gone through part 1 and part 2. You explained very well. I am looking forward other videos. Thank you for your effort.
Microservices Interview Questions and Answers: czcams.com/play/PLyHJZXNdCXsdvaw5eGW9kMnbll88B8kG2.html
These videos are very helpful, please create the 3rd Part and please create a video on Kafka and its integration.
Awesome interview questions list..thanks for sharing..Please make interview questions list on kafka for java developers and also distributed data transactions using cqrs, SAGA design pattern
@Code Decode Nicely explained.Eagerly waiting for the 3rd part of the microservices interview questions.
sure ankur we will upload it soon
You are really awesome, I was able to clear interviews with help of your channel. Please do complete the Microservices implementation playlist.
Thanks Karthikeyan. Sure will upload next parts soon 👍🙂
Thanks for this, your channel helped me a lot in my interview prepartion.
We are glad Sayan. Keep learning keep shining ⭐✨⭐✨
Hi sis, your explanation is very very accurate about the topics. If it needs to reach many techies make shorts that will reach more people. I love in with your videos and watching and preparing for interview
Right Hemika, we are working on it 🙂👍. Thanks for your suggestion. It means a lot 🙂🙂
A lot of things are covered in this tutorial. One suggestion is rather than uploading one long hours video create topic-wise. Really liked the way you are covering each topic.
I got best channel to learn and increase my knowledge. Very good explanation, every one easy to understand. please create more playlist on micro services.
Thanks. Sure Sai we will do that🙂👍
Content and explanation both are awesome 😎👍. Thanks a lot.
Thanks Nitish 👍☺️
One of best informative channels!
Thanks Ashish 🙂👍
As usual, great video. Appreciate your efforts. Please do a tutorial video on asynchronous communication using kafka or any other messaging tool. And please do more videos on microservices interview questions.
Sure Raj. We will do that🙂👍
Hi Ma'am, Loved your teaching style and explanation.
Please upload the video regarding topics/Questions you were showing at the end of this video. It would help us to cover the theoretical section of Microservices once an for all.
Thanks Again for helping us all !!
Sure Jitesh. Thanks 😊😊
Excellent demos for important topics
Thanks karthik
Your videos are very helpful, please share Part3 video for MS interview questions.
Great content thanks alot Mam for your huge effort👏👏👏
Thanks
Thanks for the video ..can you please share more microservice interview questions video waiting for part 3
Really Great Job and very much helpful, please post next video on this series
Sure Srinivasulu 🙂👍👍 sure we will post next parts soon 🙂
You don't need to do job.
You have so much of knowledge that you can create your own company in IT.
Thanks you so much @code decode
Could you please make a tutorial for Kafka?
Thanks a lot Prashant. We need to be connected with IT world top know what's new in the market. Sure we will put video on kafka 🙂👍
Informative!
Thanks!
you're welcome
I got the best youtube channel to learn and increase my knowledge. It's a really a very good explanation and easy to understand. Loved your way of explaination. Could please create more playlists on microservices. I am eagerly waiting for Interview questions and answers part 3 and more.
Sure Ashok. We will do that 🙂👍
@@CodeDecode Could you please add 3rd part of the microservices interview questions. I am eagerly waiting.
Thanks for your efforts mam , pls upload next video of this series..we are waiting .....
Sure Lalji we will do that 🙂👍
Great Explanation !Please add Kafka, Asynchronous communication. 👏👏👏
Sure it's in pipeline 🙂🙂👍👍
Thank you so much for your efforts. Please quickly upload all Microservices related interview questions videos. Also please create tutorial on how to use Kafka from SpringBoot application which demonstrates Asynchronous communication.
Sure we will do that🙂👍
Your videos are really informative and helpful to crack the interviews..could you please provide the 3rd part of MS Interview questions ASAP....
Sure we will do that. Thanks Riya 🙂👍
Hello team, thank a lot for covering these interview questions. Could u ply cover remaining interview questions as well which was pointed in part 1 video of interview question.
Sure Astha. It's in pipeline 🙂🙂
very very clear explanation. thank you, mam.
Thanks 🙂🙂
Hi simply teaching superb
Thanks karthik
Your videos help us a lot.Thank you!
Can you make a video on asynchronous communication in micro services ?
Sure, we will do that 👍👍
Thanks for the video, can you please create video on Kafka, RabbitMQ, Active MQ.
Thanks a lot your videos are really helpful. I request you to please make a Part-3 of Microservices interview questions for the remaining content. It will be really a big help for us.
sure utkarsh we will upload it soon
@@CodeDecode Thanks a lot!
Mam... I Cleared the technical round. Thanks a lot 🙏
Many many congratulations Tirmula. Well deserved 👏👏👏👏keep learning keep shining ⭐✨⭐✨⭐✨⭐✨
Just wanted to say you are Amazing
Thanks a ton Achal 🙂🙂
Hello Mam, the way you explain in detail and precisely is actully very helpful. Your efforts and dedication can be seen through the videos. Thank you so much.
Please do create video with code example for MQ and Kafka.
czcams.com/play/PLyHJZXNdCXset6tBB1aY5aEY77YhbxWLo.html
Thanks a lot Shalaka 🙂👍
great video thanks code decode
👍😊
🙏thanks for second part
🙂✌
Yes please create video for different AMQP in detail
Sure Amit 🙂👍
Thanks for this helpful videos.
Please make video for the rest of the topic
Sure Mahendra. We will do that👍🙂
Concepts cleared!
Glad to hear that Monika. Thanks 🙂👍
Thank you so much ma'am...!!☺
you're welcome
Hi, could you please create the video on MQ, it will be really helpful as it is also one of the most asked interview topic. Thanks in advance.
Videos are very informative. Can you pls continue and share 3rd part of the video and videos on kafka as well
Your video are amazing; please create 3rd video on micro services interview Q/A
Sure Naweed 🙂🙂👍👍
Yes, Please create video Microservices with kafka
Your videos are amazing, Can you please create a tutorial on Apache kafa and Distributed Cache..
sure raghavendra we will create it soon...
thanks, very nice presentation but still want more..please share more videos on microservices
also share videos on load balancer with API gateway
Sure we will put more videos on this series Vishal 🙂👍
Mam i was going through the microservices videos and this interview related videos all are very helpful mam , can you please create full tutorial with projects or an add on on your microservices playlist related to synchronous and asynchronous communication with messaging queue like kafka or rabbitmq with logger 🙏🏻🙏🏻
czcams.com/play/PLyHJZXNdCXset6tBB1aY5aEY77YhbxWLo.html
Really helpful ma'am. Awesome videos. Please share the demonstration on Active MQ, Rabbit MQ, Apache Kafka.
Sure we will make it soon. Thanks
All videos are very helpful and informative. Thanks a lot for all these explanatory videos. Much appreciate your efforts. Is Part-3 Microservices interview questions video available?
Wil create soon Shilpa👍👍
Thank you much for explaining in detail about it its really awesome. But could you please make video about apache kafka
Sure Amit. It's in pipeline 🙂👍👍
Your explain is very good and I appreciate it. I requested to you please make video for demo to integrate Kafka , Rabbit, active mq
Sure Nitish we will do that 🙂👍
Your videos are so helpful....Can you please share the link for part 3 ?
Hi you & your voice really awesome , Can you please do videos on multi threading ?
Thank you!
Thanks Varun. We do have few videos here
czcams.com/play/PLyHJZXNdCXsdUXzeeBZIADof_U-40jBJO.html
Hello Thanks a lot for an amazing videos. Can you please share the link for part 3 ?
Hello madam. Could you please do the 3rd Part of this series. These videos were really helpful.
Sure kavish we will upload it soon
highly preffered the 3 rd video
Sure 👍
Your videos help us a lot.Thank you!
Can you make a video on Apache kafka
Sure we will put a video on kafka soon 👍🙂
Hi, kindly upload a video on Domain driven design and bounded context.
Yes. It's important topic we will upload it soon 👍🙂
Please create a video tutorial on apache kafka and thanks for sharing such a valuable knowledge 😊.
Sure praveen we will create video on Kafka soon
next part please 😊
we will create it soon
Please create a video on Kafka ! ! Thanks in advance....You are superb..Your videos are really really helpful
czcams.com/play/PLyHJZXNdCXset6tBB1aY5aEY77YhbxWLo.html
Hope this playlist helps Phani 👍🙂
It would be helpful if you can create video on microservice, Kafka and deployment into Aws
It's in pipeline Sayantani 🙂👍
yes it will be very helpful if u can make tutorial on messaging queue
Sure Rajat 🙂👍
This is better and fast to learn n interview
Thanks Padma 🙂🙂
It's Really helpful for the interview. Thanks for the video, If possible could you pls share the PPT which you are showing.
Thanks Balakrishna. Every thing that we covered is given in the description below. Any thing else you need?
great video, Please create videos on Kafka
sure siddhi we will create video on kafka soon
Bit confused ! for the Vaccination project which architecture exactly you've used, SOA or Microservice ?
PS: Thanks a lot for this series, it's remarkable indeed !!
It's Microservice architecture as we are not just calling Rest Apis. Thanks Ravi 👍👍
Please make the third part !!
Sure
Your videos are really useful. Thank you.Can you please upload detailed explanation for rest api?
czcams.com/play/PLyHJZXNdCXsfCaQiui_BG7P23e2NTIj0U.html
Thank you so much. You are amazing!! Please upload part 2 soon.
Sure Keerthi 🙂👍
Please create tutorial and interview questions on Kafka. Thanks!
sure we will create video soon
Pls put video on the other questions... Thank you...
sure we will create more soon
Hi can you please create playlist for Angular Questions also
maam , make a complete project with microservice, one to many relationship , security like jwt and instead of postman use angular for ui
We have a complete course created with full stack technologies and recent had a give away of this course too.
Could you please make a separate video on asynchronous communication and explain about Kafka & rabbitmq
Sure we will do that 🙂👍
@@CodeDecode Thank you
🙂🙂👍👍
Please create a video on design patterns and Kafka
Here you go for design patterns
czcams.com/play/PLyHJZXNdCXselvpjEhygQ9GlDQihtQj6i.html
Hi mam its very useful but where is part3 we need all interview questions. Please share all the questions thanks a lot i am preparing for interviews with ur questions only
Sure Ajith. We will upload them soon 🙂👍
Couldn't find part 3.. is it not released? I'm eagerly looking for it. Please help.
Please create topic on Apache Kafka and event streaming using Kafka
sure we will create it soon
Could you please explain how to structure the database in a live project?
Do you want to know which db, r relational or no Sql?
Can you share link further (I can see Microservice Interview Questions and Answers part - 1 /Part 2 )? rest 3..?
Give me complete course on microservice it will helps a lot
www.udemy.com/course/master-spring-boot-microservice-angular-with-k8s-cicd-aws/
Thanks for the great stuff. When you say in Microservices architecture there is no data sharing unlike SOA. But is it not the case that in this particular use case, where Vaccination service when it calls citizen service, the citizen specific data is shared to Vaccination module. I am kind of confused here
Thanks. In microservices there is no data sharing in terms of having common database. But one microservice can always share data to another microservices and that's why there is a concept called communication between microservices. We have sync and async communication between microservices. So why would microservices communicate? To share the data. That's exactly what is happening here
Please create some video for kafka with java implementation ma'am.
czcams.com/play/PLyHJZXNdCXset6tBB1aY5aEY77YhbxWLo.html
Please upload how Kafka can be configured and other details also.
Sure Sayantani, will upload the demo for asynchronous communication soon. That's planned after Rest api part 2.
Very nice content. Do you have any example code for SOA ?
We will create soon Vengatesh. Thanks 🙂👍👍
@@CodeDecode Thank You very much.
🙂🙂👍👍
Please create a video on spring boot with kafka or active mq or rabbit mq
Sure Ashish 👍🙂