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.

MediumSystem Design
56 practiced

Design a service discovery strategy for a microservices platform operating across multiple datacenters. Compare DNS-based discovery, client-side discovery with a registry like Consul/etcd, and service-mesh-based discovery. Discuss trade-offs in latency, consistency, failover behavior, and operational complexity.

MediumSystem Design
61 practiced

Design a simple service registry and discovery system for an internal platform with ~200 services and ~1,000 instances. Describe key components, APIs for registration and discovery, the health-check model (active pings vs TTL vs passive), and how clients discover endpoints. Choose Consul, Etcd, or ZooKeeper and justify your choice operationally.

HardSystem Design
46 practiced

Design a global multi-region service discovery and configuration system for an application deployed across 5 regions serving 1M RPS. Requirements: region-local discovery for low latency, automatic regional failover, versioned global config propagation with audit history, and ability to perform region-scoped rollbacks. Discuss DNS TTLs, geo-DNS, control plane replication, and trade-offs between strong and eventual consistency.

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?

HardSystem Design
82 practiced

Design a feature-flag service that supports per-user and per-segment targeting, deterministic percentage rollouts, and a global kill-switch, serving roughly a million evaluations per second at low latency across multiple regions. Cover the runtime evaluation model, how a flag change propagates to evaluators, storage and caching, and how you'd keep a full audit trail and roll back a bad flag fast.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.