spring_interview_questions

Microservices Interview Questions and Answers

Q. List down the advantages of Microservices Architecture.

Q. What are the best practices to design Microservices?

Q. How does HTTPS authentication works in Microservices?

Q. What is RabbitMQ?

Q. What is an idempotent in REST APIs?

In the context of REST APIs, when making multiple identical requests has the same effect as making a single request – then that REST API is called idempotent.

An idempotent HTTP method is an HTTP method that can be called many times without different outcomes. It would not matter if the method is called only once, or ten times over. The result should be the same. It essentially means that the result of a successfully performed request is independent of the number of times it is executed. For example, in arithmetic, adding zero to a number is idempotent operation.

Example:

Q. What is Bounded Context?

Q. What is the use of PACT in Microservices architecture?

Q. What is the use of Container in Microservices?

Q. What is the role of Web, RESTful APIs in Microservices?

Q. What is OAuth?

Q. What is Conway’s law?

Q. What is a Consumer-Driven Contract (CDC)?

Q. What do you understand by Semantic monitoring in Microservices architecture?

Q. What is Canary Releasing?

Q. Why would we need Reports and Dashboards in Microservices?

Q. What is Semantic Versioning?

Q. What is the difference between Mean Time to Repair (MTTR) and Mean Time between failures (MTBF)?

Q. What is Confused Deputy Problem in security context?

Q. What are the important Cross-Functional Requirements to consider during the design of a Microservice?

Q. What is a Circuit Breaker pattern in the context of Microservice?

Q. What is Bulkhead design pattern?

Q. How can you scale a Database?

Q. What is Command Query Responsibility Segregation (CQRS) design pattern?

Q. What is CAP theorem?

Q. What do you mean by Eureka in the realm of Microservices?

Q. Can you integrate Zuul with other types of projects?

Q. Describe the circumstances under which you would use the Netflix Hystrix

Q. Shed light on Tasklet with reference to Spring Batch and Microservices

Q. What do you know about YAML in the realm of Microservices?

Q. Shed light on the various types of IT characteristics that are available in Microservices

Q. How to monitor multiple Microservices For Various Indicators Like Health?

Q. What are the possible ways for communication between microservices?

Q. What is exchange in message queue?

Q. What are the possible solutions for the case when one service is not available?

Q. What is the difference between synchronous and asynchronous communication?

Q. What are possible ways for implementing authentication in microservices?

Q. What is Eventual consistency?

Q. What is Cohesion and Coupling?

Q. What are different types of Tests for Microservices?

Q. What do you understand by Distributed Transaction in microservices?

↥ back to top