Microservices Interview questions and answers for experienced and freshers | Code Decode | Part-2

preview_player
Показать описание
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:

Course Description Video :

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 :

Also if you want to learn microservices from basic you can find all the video in below playlist

Subscriber and Follow Code Decode

#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.😌

asashish
Автор

i did nothing.. i went through all your videos.. made a note, .. now i have 4 offer letters in my hand.. thank you!!!

pramitranjan
Автор

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:-)

manognajoshik
Автор

I used to fail in many microservices interviews, but after watching your videos, I cleared an interview. Thank you so much !! 👍

shirishbansode
Автор

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?

prashantgupta
Автор

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. 🧑‍💻

johnnybreathe
Автор

I have gone through part 1 and part 2. You explained very well. I am looking forward other videos. Thank you for your effort.

sibaramnayak
Автор

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.

chetan
Автор

You are really awesome, I was able to clear interviews with help of your channel. Please do complete the Microservices implementation playlist.

karthikeyanrm
Автор

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

sachinshrivastava
Автор

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!

gayathris
Автор

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?

divyashetty
Автор

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.

SaiTeja-ymer
Автор

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. 👏🙂

senthilmurugangsm
Автор

I really admire you for such easy explanations . You are doing a really good job . Easy examples and to the point theory

anamperwez
Автор

Mam... I Cleared the technical round. Thanks a lot 🙏

tirmuladhanikonda
Автор

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

jiteshbhardwaj
Автор

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

hemika
Автор

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.

shruthishru
Автор

Thanks for this, your channel helped me a lot in my interview prepartion.

sayanbiswas