Scrivio Interview library
LeadershipPrincipal7 min read · updated 12 November 2026

Incident reviews show that about a third of production incidents in the last two years were caused by configuration changes, many applied at runtime through Spring Cloud Config refresh. How would you change configuration governance across the company?

I would make configuration changes follow the same discipline as code: reviewed, validated automatically and rolled out in stages, with runtime refresh limited to a small set of properties designed for it and everything else applied by a normal deployment. Every change is recorded with author and time and linked to deployments and alerts, risky behaviour changes move to feature flags with built-in safety and fast rollback, and the share of configuration-caused incidents becomes a tracked metric so we can see whether the changes work.

Why this question is asked

A third of incidents coming from configuration is a common pattern, and it tells us something about the organisation rather than about one team. Code changes usually have review, tests and gradual rollout; configuration changes often have none, because they look small and the tools make them instant. Interviewers ask this at senior levels to see whether we can change a company-wide practice with the right mix of rules, tooling and measurement, without simply banning a useful capability. In this answer, we will understand why configuration is risky, then walk through the changes in the order I would make them: the principle, the runtime allow list, the change record, safer mechanisms for risky changes, and the metric that tells us whether it worked.

1Why Configuration Changes Cause So Many Incidents

A configuration change is a change to the behaviour of production, just like a code change. A timeout, a pool size or a feature switch can take a service down as surely as a bug. The difference is in the path. A code change passes through review, a build, tests and a rolling deployment that stops on failed health checks. A configuration change through Spring Cloud Config refresh can go from a text editor to every running instance in under a minute.

So the incident numbers are not about careless people. They are about a system that makes the risky path the fast one. Before changing anything, I would read a sample of those incident reviews, say the last 30, and classify them: invalid values, valid but wrong values, changes applied to all instances at once, changes nobody could trace, and slow rollback. That classification tells us which controls will help most and gives us the baseline.

2The Principle: Configuration Is Code

The first decision is a principle that leadership states clearly: a configuration change is a production change and follows the same path as code, in proportion to its risk. In practice that means configuration lives in Git, changes go through a pull request with an owner's review, CI validates them, and production receives them in stages, a canary group first and then the rest, with health checks able to stop the rollout.

Validation needs help from the services. We ask teams to bind settings to @Validated @ConfigurationProperties classes with constraints, so a bad value fails a CI test that starts the application, and fails startup on a canary rather than silently entering production. A shared starter can make this the default for new services. I would agree this principle with engineering managers first, because they will have to defend the small extra cost to their teams.

3Limiting What May Change at Runtime

Runtime refresh is valuable for a few kinds of settings and dangerous for the rest. So we define an allow list: properties that are read at use time, are validated, and are safe to change on all instances, such as log levels, some limits and well-tested switches. Each service declares its own list, reviewed by its owner. Everything else, including pool sizes, URLs, timeouts that affect many dependencies and security settings, needs a normal deployment with its rolling restart.

This does not slow teams down as much as it sounds. A rolling restart of a typical service on Kubernetes takes a few minutes, and in exchange the platform's readiness checks protect every change. The refresh endpoint stays, but a broadcast refresh of a property outside the list is blocked by tooling, not by memory.

Step throughHow a configuration change is routed
  1. Change proposed in a pull requestowner reviews
  2. CI validatesschema, ranges, app starts with it
  3. Property on the runtime allow list?
    YesStaged refresh: canary, then allNoNormal rolling deployment
  4. Record the changeauthor, time, services, linked deploy
  5. Alerts in the next 30 minutes?
    YesLink alert to the change; offer rollbackNoDone

5 steps in order. Play them, or step through them one at a time.

Runtime refresh becomes the exception that has to qualify, not the default.

4Recording Every Change and Linking It to Alerts

During an incident, the first question is what changed. If configuration changes leave no trace in the same place as deployments, responders lose the most valuable clue. So every configuration change is recorded with its author, time, Git commit, the services and instances it reached, and the rollout stage. The record is published as an event to the same timeline that shows deployments, so dashboards and alerting tools can draw it as a marker on the graphs.

With that link in place, an alert that fires shortly after a change can name it automatically: error rate on orders rose 4 minutes after commit 3f2a changed orders.payment.timeout. Rollback is then one click or one command, a git revert followed by the same staged rollout. I would also measure time to rollback, because a fast rollback turns many incidents into brief blips.

5Feature Flags for Risky Behaviour Changes

Some changes really are about switching behaviour in production quickly, such as turning on a new pricing rule. For these, a feature flag platform is safer than a property refresh. It offers percentage rollouts, targeting of internal users first, an automatic kill switch, an audit log and a clear owner and expiry date for each flag. Those safety features are exactly what a raw property lacks.

So the governance says: if you need to change behaviour at runtime, use a flag with a rollout plan; if you need to change a technical setting, use a deployment. Old flags are removed on a schedule, because forgotten flags are themselves a source of configuration incidents.

6Measuring Whether It Works

Finally, we make the problem visible as a metric: the share of incidents whose cause was a configuration change, counted the same way every quarter, plus supporting numbers such as the share of changes that went through review, the number of runtime refreshes outside the allow list, and the median time to roll back. If configuration-caused incidents were 33 percent of the total, a reasonable first goal might be under 15 percent within a year.

I would review the numbers with engineering leadership each quarter and adjust. If invalid values still cause incidents, validation coverage is the gap; if valid but wrong values dominate, staged rollout and alerts are the gap. The metric keeps the discussion about outcomes rather than about rules for their own sake.

Metrics reviewed each quarter
MetricBaselineOne-year goal
Incidents caused by configuration33 percentunder 15 percent
Config changes reviewed in a pull requestabout halfall
Runtime refreshes outside the allow listunknownzero, blocked by tooling
Median time to roll back a config changeabout 40 minutesunder 5 minutes
Illustrative numbers: the baseline comes from classifying past incident reviews.

7Follow-up questions

Won't this slow down teams who rely on quick changes?

Some changes will take minutes instead of seconds. We reduce the cost with good tooling: templates, a fast CI check and one-command rollouts. And we keep a fast path for the small set of properties that are safe to change at runtime. Most teams find that losing a few minutes is much cheaper than the incidents they stop having.

How do you get teams to adopt the rules?

By making the safe path the easy one. A shared starter brings validation and change events by default, the platform blocks refreshes outside the allow list, and the incident data is shared openly so teams see why. I would also ask a few respected senior engineers to help write the rules, so they are not seen as imposed from outside.

Who approves a configuration change?

The owning team of the service, like a code change. For shared settings that affect several services, such as a common timeout, the owners of the affected services review together, and changes to security settings also need a reviewer from the security team.

8Conclusion

In this answer, we saw that configuration incidents come from a fast path without protections, and that the fix is to give configuration the same discipline as code: review, validation and staged rollout. We limited runtime refresh to an allow list, recorded every change and linked it to alerts for quick rollback, moved risky behaviour changes to feature flags, and set a quarterly metric to check whether the share of configuration-caused incidents really falls.

What to say in the interviewAbout 90 seconds aloud

Open with

I would start by classifying a sample of those incident reviews, because the controls should fit the actual failure types: invalid values, valid but wrong values, changes applied everywhere at once, untraceable changes, slow rollback.

Then, if they want more

Then I would set one clear principle with engineering leadership: a configuration change is a production change and follows the same path as code, review by the owning team, automated validation, and a staged rollout. To make validation real, services bind settings to validated configuration properties classes, and CI starts the application with the proposed values.

Next, I would limit runtime refresh to an allow list per service, properties that are read at use time and safe to change, like log levels and some limits. Everything else, pool sizes, URLs, security settings, goes through a normal rolling deployment, and tooling blocks refreshes outside the list.

Every change is recorded with author, time, commit and the instances it reached, and published to the same timeline as deployments, so an alert can point straight at the change and rollback is one command.

For changes that really need runtime switching of behaviour, I would move teams to feature flags, which have percentage rollouts, kill switches and audit logs built in.

Finally, I would track the share of incidents caused by configuration every quarter, with a goal like going from a third to under fifteen percent in a year, and adjust where the data shows gaps.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Incident reviews show that about a third of production incidents in the last two years...": https://scrivio-interview-library.netlify.app/spring-boot/spring-cloud/255bc08b6e/