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
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
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?

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
54 practiced

Clients across your fleet cache service endpoints, and after deploys or scale-out events you start seeing a spike of connection errors from clients still talking to instances that no longer exist. How would you detect that this is happening in production, and what would you change about the caching and invalidation path to reduce it? Walk through the trade-offs of the approaches you'd consider.

EasyTechnical
57 practiced

Explain DNS-based service discovery and how DNS caching and TTLs affect failover and load distribution. If you had to choose between a 60-second and a 300-second TTL for a service record, which would you pick and why, and what else would you need to account for to make that choice actually hold up in practice?

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.