Quick revision
The short answer
We make a cold start predictable by mapping the bootstrap graph, which services must run before others can start, as maintained data, and by breaking cycles deliberately so foundational services such as networking, DNS, identity and secrets have minimal static dependencies, with a rule that lower layers never depend on higher ones at startup. We define recovery tiers with a start order and owners, let services start degraded instead of crash-looping, rehearse full cold starts in an isolated environment once or twice a year, and guard against drift with dependency checks in reviews, automatic detection of new startup dependencies from traces, and cold-start time reported to leadership.
What to remember
In this answer, we saw why a platform that only ever restarts piece by piece cannot start itself after a full outage. We mapped the bootstrap graph as maintained data, broke cycles with static bootstrap dependencies and a layering rule, defined tiers with owners and degraded startup, rehearsed cold starts in isolation, and guarded against drift with reviews, automatic detection and a reported cold-start time.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
We make a cold start predictable by mapping the bootstrap graph, which services must run before others can start, as maintained data, and by breaking cycles deliberately so foundational services such as networking, DNS, identity and secrets have minimal static dependencies, with a rule that lower layers never depend on higher ones at startup. We define recovery tiers with a start order and owners, let services start degraded instead of crash-looping, rehearse full cold starts in an isolated environment once or twice a year, and guard against drift with dependency checks in reviews, automatic detection of new startup dependencies from traces, and cold-start time reported to leadership.
Why this question is asked
Most platforms are never started from nothing. Services come and go one at a time, each starting into a world where everything else is already running. So startup dependencies pile up unnoticed, including circular ones, until a power or network event forces a full restart and the platform cannot start itself. Nine hours of recovery is the result. Interviewers ask this question to see whether a senior leader can turn that experience into a lasting capability across hundreds of changing services. In this answer, we will see why cold starts fail, map the bootstrap graph, break its cycles, define tiers and degraded startup, rehearse, and keep it all true as the platform changes.
1Why the Platform Could Not Start Itself
The four failures form a cycle. The secrets service stores its data in a database, so it needs the database to start. The database is run by a Kubernetes operator, a controller that manages the database cluster, and the operator needs secrets, such as the database's credentials, from the secrets service. Neither can start first. Deployments to fix anything go through the CI system, which needs the identity provider for logins, which itself may need secrets or a database.
In normal operation, none of this matters, because at least one copy of each is always running. A cold start, where everything is down at once, is the only time the order matters, and nobody had ever written it down.
- Secrets service startsneeds its database
- Database startsoperator needs credentials
- Operator asks for credentialsfrom the secrets service
- Secrets service up yet?it is waiting for the databaseYesContinueNoDeadlock: nothing starts
4 steps in order. Play them, or step through them one at a time.
2Map the Bootstrap Graph
The first step is a map: for each service, which other services must be running for it to start, as opposed to which it calls later. This is the bootstrap graph. At the bottom are networking and DNS; then identity and secrets; then data stores; then platform services such as CI, observability and service discovery; then the products.
The map must be maintained data, stored in a repository and checked automatically, not a diagram in someone's head or a wiki page that is out of date in a month. A graph stored as data can also be checked for cycles by a program, which is exactly the property we need.
3Break Cycles Deliberately
Cycles at the bottom of the graph must be broken by design. Foundational services get minimal, static dependencies. The secrets service can unseal with keys held in a hardware module or a cloud key service rather than in a database that needs secrets. The database operator gets its own bootstrap credentials, stored locally and rotated by a separate process, so it does not need the secrets service to start. Break-glass access, a small set of emergency credentials that do not depend on the identity provider, lets engineers act when identity is down. Cached configuration lets services start with the last known settings when the config service is unavailable.
Then we write the rule that keeps cycles from coming back: at startup, a service may depend only on services in lower layers. A secrets service may depend on networking, never on CI. Calls to higher layers are allowed at runtime, but not as a condition for starting.
- Tier 0: network and DNSstatic configuration, no dependencies above
- Tier 1: identity and secretslocal bootstrap keys, break-glass access
- Tier 2: data storesbootstrap credentials stored locally
- Tier 3: platform servicesCI, observability, discovery, config
- Tier 4: productsstart degraded if tier 3 is incomplete
5 layers, from the top down. Step through them one at a time.
At startup, each tier may depend only on the tiers above it in this list.
4Recovery Tiers, Owners and Degraded Startup
Each tier has a defined start order, a named owner team and a target time, such as tier 1 healthy within 30 minutes of network recovery. The cold-start runbook follows the tiers, so on the day nobody has to work out the order.
Services above the foundation should start in a degraded mode when non-critical dependencies are missing, instead of crash-looping. A product service that cannot reach the recommendation service should start and serve without recommendations. A service that cannot reach the metrics backend should start and buffer or drop metrics. Crash loops are expensive during a cold start: they consume CPU and attention, flood logs, and can overload a dependency the moment it comes up as hundreds of services retry together.
5Rehearse a Cold Start From Nothing
A plan for a cold start is untested until we start a full copy of the platform from nothing. Once or twice a year, in an isolated environment that mirrors production, we bring everything down and start it from the bottom tier up, timing each tier and recording what blocks progress.
These rehearsals are expensive, but they are the only reliable way to find cycles introduced since the last test. The first one usually takes far longer than hoped and finds a dozen problems; that is its value. Over a few rehearsals the time drops from hours towards the target.
6Keep It True as Hundreds of Services Change
Between rehearsals, guards stop drift. Architecture reviews check new startup dependencies against the layer rule. Traces and startup logs are analysed automatically to detect new dependencies a service exercises during startup, and a new edge that points upward, or closes a cycle, raises a flag for the owning team.
Finally, cold-start time becomes a resilience measure reported to leadership, next to availability and incident counts. What gets reported gets funded, and a measured cold-start time of, say, 90 minutes, falling over time, shows the capability is real.
7Follow-up questions
How do you decide what belongs in the foundational layer?
A service belongs in the foundation if many others need it to start and it can itself be made to start with only static dependencies. Networking, DNS, identity, secrets and the core data stores usually qualify. The test is twofold: if this service were down, could the platform start without it, and can we make this service start without anything above it? Anything we add to the foundation must meet the stricter rules: minimal dependencies, local bootstrap credentials and high redundancy, so we keep the layer as small as possible.
Should every service support degraded startup?
Every service above the foundation should start when non-critical dependencies are missing. Critical dependencies, such as a service's own database, are fine to wait for, but with backoff and jitter rather than a tight crash loop.
How long should a cold start take?
The target comes from the business's tolerance for a full outage. Many platforms aim for one to two hours, and the rehearsals show whether the target is realistic.
8Conclusion
In this answer, we saw why a platform that only ever restarts piece by piece cannot start itself after a full outage. We mapped the bootstrap graph as maintained data, broke cycles with static bootstrap dependencies and a layering rule, defined tiers with owners and degraded startup, rehearsed cold starts in isolation, and guarded against drift with reviews, automatic detection and a reported cold-start time.
Open with
The nine hours came from a startup dependency graph nobody had written down, with cycles in it: secrets needed the database, the database operator needed secrets, deployments needed CI, CI needed identity.
Then, if they want more
In normal operation that never shows, because something is always running. So first I would map the bootstrap graph, which services must be running for each service to start, and keep it as data in a repository that a program can check for cycles. Then I would break cycles deliberately.
Foundational services like networking, DNS, identity and secrets get minimal static dependencies: local bootstrap credentials, unsealing with keys from a hardware or cloud key service, break-glass access that does not need the identity provider, cached configuration. And there is a rule: at startup, a service may only depend on lower layers.
I would define recovery tiers with a start order, owners and target times, and require services above the foundation to start degraded when non-critical dependencies are missing instead of crash-looping, which also avoids retry storms.
Once or twice a year we would rehearse a full cold start in an isolated copy of the platform, time it, and fix what blocks it, which catches new cycles.
Between rehearsals, architecture reviews and automatic detection of new startup dependencies from traces guard against drift, and I would report cold-start time to leadership as a resilience measure, so it stays funded.
About this answer
- Last updated
- 13 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 official documentation for the version you use. 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 "As the senior technical leader, how do you make a full cold start of the platform...": https://scrivio-interview-library.netlify.app/architecture/high-availability/30ceba1205/