Question 1
What is the core idea behind microservice architecture?
Building one large application with tightly coupled modules
Breaking applications into small, independently deployable services
Running all services in a single process
Eliminating the need for APIs
Question 2
In microservices, each service should ideally:
Share the same database schema
Have its own database
Depend on a global transaction manager
Be deployed with all other services
Question 3
Which protocol is most commonly used for communication between microservices?
SMTP
HTTP
FTP
POP3
Question 4
Which of the following is not an advantage of microservices?
Independent deployment
Scalability
Technology flexibility
No need for network communication
Question 5
In a monolithic architecture, all components are:
Independently deployed
Tightly coupled and deployed together
Stateless
Automatically distributed
Question 6
Which of the following is a challenge of microservices?
Service isolation
Network latency and complexity
Independent scaling
Fault isolation
Question 7
Which pattern is often used to route requests between microservices?
Circuit breaker
API Gateway
Singleton
DAO
Question 8
Which is true about scaling in microservices vs monolithic?
Monolithic scales faster
Microservices allow scaling only specific components
Both scale identically
Scaling is not needed in microservices
There are 8 questions to complete.