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

You need to roll out a new feature with feature flags to 10% of users and automatically rollback if SLOs degrade. Outline the flag targeting, bucketing, telemetry to observe impact, detection windows, and an automated rollback mechanism. Include how to avoid cascading rollbacks and how to surface reasons to humans.

HardSystem Design
89 practiced

Config or discovery changes are a common trigger for production incidents, but by the time an alert fires it's often not obvious that a recent change was the cause. Design an observability approach that would let you quickly confirm or rule out a recent config or discovery change as the source of a regression, and that would catch this failure mode reliably without drowning on-call in noise from routine changes.

HardTechnical
54 practiced

You're tasked with selecting and driving adoption of a company-wide service discovery and configuration platform. Multiple teams prefer different tools (DNS, Consul, custom service mesh). How would you evaluate options technically and operationally, build a migration plan, address concerns such as operational burden and vendor lock-in, and gain cross-team buy-in while minimizing disruption?

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?

HardTechnical
55 practiced

Design a zero-downtime secret rotation process for thousands of running containers that avoids secret leakage and guarantees minimal exposure to old secrets. Explain how you would distribute new secrets, revoke old secrets, coordinate dependent services (databases, third-party APIs), and audit the rotation. Discuss use of short-lived tokens, TLS, key-version headers, and potential race conditions.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.