Service Discovery and Configuration Management Questions

Letting services find and configure each other at runtime: service registries, client-side versus server-side discovery, DNS-based discovery, dynamic configuration, feature flags, and secrets distribution. Covers how services stay wired together as instances come and go, how config changes propagate safely, and how to monitor and diagnose the outages that stale endpoints or bad config pushes cause. The connective plumbing of a microservices deployment.

MediumTechnical
59 practiced

An API gateway routes external traffic to internal microservices that use a registry for discovery. Describe how the gateway should discover internal services, handle caching of endpoints, and react to rapid scaling events (for example autoscale from 1 to 100 instances). Discuss cache TTLs, warm-up strategies, and circuit breaker interactions.

MediumTechnical
63 practiced

Describe how a service mesh such as Istio or Linkerd integrates with service discovery and dynamic configuration. Explain how sidecars discover backends, how the control plane distributes routing/policy config, and trade-offs around performance, operational complexity, and discoverability when adding a mesh to an existing platform.

MediumTechnical
88 practiced

Compare health check approaches between a registry that uses TTL heartbeats (e.g., Consul TTL checks) and Kubernetes probes (liveness, readiness, startup). For each model describe recommended frequencies, failure thresholds, trade-offs between fast failover and false positives, and how check results should influence registry state and load balancing.

MediumTechnical
64 practiced

You're setting up alerting for a Consul- or etcd-backed service registry that several teams' services depend on for discovery and config. What would you monitor to catch degradation before it causes an outage, and what would make you page someone versus just log it?

EasyTechnical
52 practiced

Define service discovery in the context of microservices. Explain the differences between client-side discovery and server-side (proxy) discovery, including who is responsible for load balancing, how health checks are handled, and examples of real-world tools (DNS, Consul, Kubernetes Service). When would you choose each approach and why?

Unlock Full Question Bank

Get access to all 16 Service Discovery and Configuration Management interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.