Interview Questions and Answers
Freshers / Beginner level questions & answers
Ques 1. What are microservices?
Microservices is an architectural style that structures an application as a collection of small, independent services, each with its own database and communicating over well-defined APIs.
Example:
An example could be breaking a monolithic e-commerce application into services such as user management, product catalog, and order processing.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 2. How does microservices communication happen?
Microservices communicate through APIs, often using protocols like HTTP/REST or message queues like RabbitMQ.
Example:
A user service sending a request to an order service to place an order.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Most helpful rated by users:
- What is the role of an API versioning strategy in microservices?
- Explain the term 'Circuit Breaker' in microservices.