Quick revision
The short answer
I would decide on the requirement, mutual TLS with identity and automatic rotation for every call, and judge the three options first on that, keeping layer 7 features as a separate decision. For 150 services, a mesh usually wins over SSL bundles in every service because rotation and enforcement live in one platform; between sidecars and ambient mode, I would run a time-boxed trial and pick on measured overhead, maturity and our ability to operate it. The rollout goes permissive first, then strict namespace by namespace, owned by a platform team with an exit plan.
What to remember
In this answer, we framed the decision on the actual requirement, mTLS with identity and automatic rotation, and kept layer 7 features separate. We compared SSL bundles, a sidecar mesh and ambient mode at 150 services: central rotation and enforcement favour a mesh, while the choice between sidecars and ambient comes from a time-boxed trial with criteria written in advance. The rollout moves each namespace from permissive to strict based on measured plaintext traffic, with documented exceptions, and a platform team owns the mesh and the certificate authority with an upgrade cadence, on-call and an exit plan.
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.
I would decide on the requirement, mutual TLS with identity and automatic rotation for every call, and judge the three options first on that, keeping layer 7 features as a separate decision. For 150 services, a mesh usually wins over SSL bundles in every service because rotation and enforcement live in one platform; between sidecars and ambient mode, I would run a time-boxed trial and pick on measured overhead, maturity and our ability to operate it. The rollout goes permissive first, then strict namespace by namespace, owned by a platform team with an exit plan.
Why this question is asked
Security mandates like this one arrive with a deadline and three enthusiastic camps. The technical question is real, but the bigger risk is a decision made on taste, followed by a rollout that breaks calls or stalls halfway. Interviewers ask this leadership question to see how a senior person frames the decision, puts numbers on the costs, de-risks the newest option, and plans who will own the result for years. In this answer, we will restate the requirement, compare the three options against it with rough costs, set up a trial to settle the open questions, plan a staged rollout, and decide ownership.
1Starting From the Requirement
The first step is to write down what security actually asked for, because each camp quietly adds its own goals. Mutual TLS (mTLS) means both sides of a connection present certificates, so every call is encrypted and each side knows the other's identity. The real requirement is usually: every service-to-service call encrypted, every workload with a verifiable identity, certificates rotated automatically and often, and a way to prove coverage to auditors.
Things like canary routing, retries and traffic metrics are attractive, but they are layer 7 traffic features, not encryption. If we let them into the comparison, the mesh camp wins by bringing extra features, not by meeting the requirement better. So I judge every option on mTLS first, and treat layer 7 features as a separate decision we can make later.
2Comparing the Three Options at Our Scale
Spring Boot SSL bundles with an internal certificate authority put TLS inside each application. The JVM does the encryption, so there is no extra hop and no extra process, and Spring Boot 3.1 and later make the configuration consistent through spring.ssl.bundle properties, with hot reloading of certificates in recent versions. The cost is everywhere else: all 150 services must be changed and tested, non-Java services need their own approach, every runtime must handle rotation (fetching new certificates before expiry, for example from Vault or cert-manager), and proving that every call is encrypted means auditing every client configuration.
A sidecar mesh gives mTLS to every pod without code changes, with short-lived certificates rotated by the control plane and a policy that can enforce strict mTLS per namespace. The costs are resources and operations. If our 150 services run around 2,000 pods, sidecars at 50 to 150 MB each add 100 to 300 GB of memory, plus CPU and a little latency on every hop, and the mesh must be upgraded regularly.
Ambient mode delivers the same mTLS with a per-node ztunnel instead of a proxy per pod, so overhead is much lower and pods need no restart to join. Layer 7 features come from waypoint proxies added only where needed. Its risk is maturity: it is newer, fewer teams have run it in production for years, and our engineers have less experience debugging it.
| SSL bundles + internal CA | Sidecar mesh | Ambient mesh | |
|---|---|---|---|
| Code changes | all 150 services | none | none |
| Rotation | in each runtime | automatic, central | automatic, central |
| Enforcement and audit | per service config | one policy per namespace | one policy per namespace |
| Resource overhead | lowest | per pod: highest | per node: low |
| Maturity and team skills | well understood | mature, widely run | newer; verify |
| Non-JVM services | separate work each | covered | covered |
3Settling the Open Questions With a Trial
The table shows that a mesh fits the requirement better at this scale, mostly because rotation and enforcement are central. The open question is sidecar or ambient, and that is an empirical question. I would run a time-boxed trial of four to six weeks on two or three representative namespaces, one of them busy and one with non-Java services, and measure memory and CPU per node, p99 latency added per call, startup behaviour, the upgrade procedure and how quickly an engineer who did not build it can diagnose a broken call. I would also check vendor or distribution support for the mode and version we would run.
I write the decision criteria before the trial starts, so the result decides rather than the loudest voice. For example: ambient wins if its overhead is under half of sidecars, the upgrade runs cleanly twice, and on-call engineers can resolve injected faults within an agreed time. Otherwise we choose sidecars, scoped carefully, and revisit ambient in a year.
4A Staged Rollout From Permissive to Strict
The rollout must never break traffic. Istio's PeerAuthentication supports a permissive mode, in which a workload accepts both plaintext and mTLS. We onboard namespaces into the mesh in permissive mode first, so meshed callers start using mTLS automatically while unmeshed callers keep working. Then we measure: the mesh's telemetry shows, per connection, whether it used mTLS, so we can see exactly which callers still send plaintext.
Once a namespace shows no plaintext traffic except known exceptions, we switch it to strict mode, which rejects plaintext. We go namespace by namespace, starting with low-risk ones, with a quick rollback to permissive. Systems that cannot join the mesh, such as managed databases, legacy VMs or partner integrations, get explicit, documented exceptions, for example through an egress gateway that originates TLS, and those exceptions go on the security team's list with an owner and a date.
- Onboard in permissive modeplaintext and mTLS both accepted
- Measure connections by security modefind remaining plaintext callers
- Plaintext only from known exceptions?YesSwitch to strict modeNoFix or onboard callers first
- Watch errors for a weekrollback is one policy change
- Record coverage for auditnext namespace
5 steps in order. Play them, or step through them one at a time.
5Deciding Who Owns It
Whichever option wins, the decision fails without an owner. I would make a platform team responsible for the mesh and the certificate authority as a product: a published upgrade cadence (for Istio, staying within supported versions, which move every few months), an on-call rotation, dashboards for certificate expiry and mTLS coverage, and documentation for service teams. The root certificate and its rotation plan deserve special care, because an expired root takes down every call at once.
I would also record an exit plan in the architecture decision record. Because the mesh uses standard certificates with SPIFFE identities, moving to another mesh or to application TLS later is possible, and writing down how keeps the choice reversible. Finally, I would share the reasoning with the camps that lost, including what would make us revisit, which keeps their trust and their help during the rollout.
6Follow-up questions
What would make you choose application-level TLS despite its cost?
If most traffic does not run on Kubernetes, for example many services on VMs or serverless platforms where a mesh cannot reach, or if the organisation cannot staff a platform team to run a mesh reliably. Also if the number of services were small, say 15 Java services on one framework, where adding SSL bundles once is cheaper than operating a mesh forever. And if regulations required end-to-end encryption into the application process itself, since a mesh terminates TLS in a proxy beside the app.
How do you prove to auditors that every call is encrypted?
With the mesh's own telemetry: every request metric carries the connection security mode, so a dashboard and a report can show the share of mTLS traffic per namespace, and strict policies make plaintext impossible rather than just rare. Exceptions are listed with owners.
How do you handle a team that refuses to onboard?
Understand the reason first: often it is a real technical blocker such as a protocol the mesh handles badly. Offer help and a dated exception for real blockers, and make the deadline and the policy clear for the rest, since the requirement comes from security, not from the platform team.
7Conclusion
In this answer, we framed the decision on the actual requirement, mTLS with identity and automatic rotation, and kept layer 7 features separate. We compared SSL bundles, a sidecar mesh and ambient mode at 150 services: central rotation and enforcement favour a mesh, while the choice between sidecars and ambient comes from a time-boxed trial with criteria written in advance. The rollout moves each namespace from permissive to strict based on measured plaintext traffic, with documented exceptions, and a platform team owns the mesh and the certificate authority with an upgrade cadence, on-call and an exit plan.
Open with
I would start by pinning down the requirement: every call encrypted, every workload with an identity, automatic rotation, and coverage we can prove. Layer 7 features like canaries and retries are a separate decision, so I would not let them tip the comparison.
Then, if they want more
At 150 services, SSL bundles mean changing and testing every service, handling rotation in every runtime and auditing every client config, and non-Java services need their own solution. A mesh gives mTLS with central rotation and a single enforcement policy without code changes.
Sidecars are mature but cost memory per pod, maybe 100 to 300 gigabytes across a couple of thousand pods, while ambient mode does mTLS with per-node proxies and much lower overhead, but it is newer.
So I would run a time-boxed trial of both on a few namespaces with criteria written in advance: overhead, latency, upgrade experience and how fast on-call can debug it.
The rollout is permissive mode first, so plaintext and mTLS both work, then I use the telemetry to find remaining plaintext callers and switch each namespace to strict, with documented exceptions for things outside the mesh.
A platform team owns the mesh and the CA as a product, with upgrades, on-call, certificate-expiry alerts and an exit plan in the decision record.
About this answer
- Last updated
- 13 November 2026
- Versions it names
- Spring Boot 3.1
- 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 decide, and how do you plan the rollout?": https://scrivio-interview-library.netlify.app/architecture/load-balancing-networking/86bd3f700d/