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.

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.

EasyTechnical
44 practiced

Explain the difference between general configuration values and feature flags. When should a capability be implemented as a feature flag versus a normal configuration parameter? Discuss lifecycle considerations: rollout, rollback, targeting, observability for flags, and operational responsibilities for stale flags.

HardSystem Design
63 practiced

Design a dynamic configuration service that supports versioned configurations, atomic rollouts, and quick rollback. Requirements: services can query a specific version or subscribe to change notifications, audit history is preserved, and rollbacks across many instances complete within minutes. Sketch the APIs, storage approach, and how you'd coordinate rollout and rollback safely.

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.

EasyTechnical
62 practiced

Implement a configuration validator in Python that reads a JSON configuration file, validates required keys and types against a provided JSON Schema (you may assume use of the jsonschema package), and writes an atomic validated output file for services to consume. Discuss handling of defaults, deprecated keys, and helpful validation errors for operators.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.