Intermediate
System Design
Q53 / 100
What is "service discovery" and why is it needed in a dynamic microservices environment?
Correct! Well done.
Incorrect.
The correct answer is A) It is a mechanism that allows services to find the network locations of other services dynamically, since instances may scale up/down or change addresses frequently
A
Correct Answer
It is a mechanism that allows services to find the network locations of other services dynamically, since instances may scale up/down or change addresses frequently
Explanation
In dynamic environments (containers, auto-scaling), service instances' IPs change frequently; service discovery (e.g., via a registry like Consul or Kubernetes DNS) lets services find each other automatically.
Progress
53/100