InterviewStack.io LogoInterviewStack.io

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, and how config changes propagate safely. The connective plumbing of a microservices deployment.

HardTechnical
60 practiced

Describe strategies to test and debug behavior driven by externalized configuration: missing keys, incorrect types, live reload, secrets rotation, and mixed-version deployments. Include automated tests, canary rollout strategies, safe defaults, and how to handle secrets securely in CI while enabling meaningful tests.

MediumTechnical
61 practiced

Explain how you would implement failure detection using heartbeats in a service discovery system. Compare a simple timeout-based detector to a phi-accrual failure detector and discuss the trade-offs in sensitivity, false positives, and behavior under network jitter.

MediumTechnical
59 practiced

Describe strategies for service discovery in a dynamic microservice environment: DNS-based discovery, client-side discovery via a registry (e.g., Consul), and server-side discovery through a load balancer or API gateway. Discuss tradeoffs in latency, consistency, and failure modes.

HardSystem Design
57 practiced

Design a configuration service that supports dynamic cluster reconfiguration and feature flags with strong correctness guarantees and minimal downtime. Explain how you would implement versioned configurations, atomic visibility of changes, validation and canarying, and safe rollback mechanisms with auditing.

MediumSystem Design
82 practiced

Design a feature-flagging system that supports per-user targeting, percentage rollouts, fast global rollback (within 30 seconds), and full audit trails. Explain the runtime evaluation model, flag propagation, caching strategy, how to test flags safely under uncertainty, and how to design a safe kill-switch for catastrophic flags.

That is every published Service Discovery and Configuration Management question for Software Engineer so far. Browse the other topics in this category, or practice this one interactively.