skip to content

A compliance requirement states that traffic must be encrypted in transit. Your platform terminates TLS at the edge and speaks plain HTTP internally. How would you decide between leaving it as is, re-encrypting to every backend, and passing TLS through to the origin?

level: principalimportance: should knowfreq 33%

answer

  1. what does the control actually say
  2. scope follows the data, not the hostname
  3. enumerate wire segments and boundaries
  4. per-route, not one global mode
  5. encrypted hops cost you packet captures

basics

~20 s

Start from what the control actually says and which network segments it covers, then pick the cheapest topology that satisfies it: plaintext inside a genuinely bounded segment, re-encryption where wires leave a trust boundary, and passthrough only when the edge must never hold the key or see plaintext.

solid answer

~60 s

I would not start from the topology; I would start from the control's wording and scope, because "encrypted in transit" means very different things depending on whether it covers public networks, every wire segment, or every segment outside a defined boundary. Then I would map the actual segments — client to edge, edge to service, service to service, service to datastore, and anything crossing a zone, region or provider — and ask which of them the control touches. Re-encryption is the usual answer for segments leaving a trust boundary because it keeps full L7 capability at the edge; plaintext can stay defensible for a co-located hop inside a bounded segment if the control allows it and the boundary is enforced, not assumed. Passthrough is a different requirement altogether: it is what you choose when the edge must not be a decryption point or hold key material, typically because it is third-party or out of audit scope. I would also weigh what each option costs in certificate lifecycle, and prefer a per-route decision over one global mode.

go deeper

for a junior

Know that "encrypted in transit" is about specific network segments, and that terminating at the edge leaves the segment behind it unencrypted unless something else encrypts it.

for a middle

Be able to enumerate the hops a request crosses and say what each topology does to each hop, including that re-encryption needs the backend certificate actually verified, not merely present.

for a senior

Show you would map segments against the control's real scope, prefer per-route decisions, budget for internal certificate automation, and account for the observability you give up when hops become unreadable.

for a principal

Own the framing: which tiers may hold keys or see plaintext, whether re-encrypting shrinks audit scope enough to pay for itself, and how the safe mode becomes a platform default so the decision does not decay as teams and networks change.

## Read the control before drawing the diagram The phrase "encrypted in transit" is doing a lot of work and is almost never self-explanatory. Different frameworks and different auditors mean: over public or untrusted networks only; across any boundary the organisation does not control; between every pair of components; or between components handling a specific data class. The engineering answers to those four are not the same, and choosing a topology before resolving the wording is how teams end up re-encrypting a hop nobody cared about while leaving a cross-region link in the clear. So the first move is to get the control's actual text, its scope statement, and — if there is a live audit — the auditor's interpretation, in writing. The second is to establish what data the control is about, because scope usually follows the data class rather than the hostname. ## Map the segments, not the products Then enumerate the wire segments a request actually crosses, and mark each with who owns the wire and whether it leaves a boundary: - client to edge (public internet — never in question), - edge to service tier (in-rack, cross-zone, or cross-region — very different answers), - service to service, - service to datastore and cache, - anything crossing into a third party, another account, or another provider. The segments that matter most are usually the least visible: a replica link to another region, a managed service reached over a shared network, an agent shipping logs. A tidy re-encryption story for the front door means nothing if the audit trail leaves over a plaintext connection. ## The three options against that map **Leave the internal hop plaintext.** Defensible only when the control's scope genuinely excludes the segment *and* the boundary is enforced rather than asserted — the network path is restricted, nothing else shares it, and there is a control that fails closed when someone changes it. The honest version of this argument names how it is enforced. "It is internal" is not an argument; "the segment is a dedicated link nothing else can route to, verified by a policy that fails closed" is. **Re-encrypt.** The common answer. The edge keeps every L7 capability — routing, inspection, caching, retries — and the wire is encrypted. The real costs are a second certificate lifecycle across the fleet and the discipline to *verify* the backend certificate rather than merely encrypting to it. An internal CA with short-lived, automatically renewed certificates makes this sustainable; a manual internal PKI makes it a recurring outage source. Budget for the automation, not the CPU. **Passthrough.** This answers a different question. It is not "more encrypted" than re-encryption on the wire; what it uniquely provides is that the edge never holds the key and never sees plaintext. Choose it when the edge is operated by someone else, when key custody must stay with one team or in specific hardware, or when you want the edge tier out of audit scope entirely. You pay for it in edge capability — no path routing, connection-level balancing only, no header insertion — and in distributing certificates and keys to every origin. ## What I would actually recommend A per-route decision, not a platform-wide mode. Terminate at the edge for the L7 work; re-encrypt on any segment that leaves a trust boundary — zone, region, account, provider — and for any route carrying data in the control's scope; keep passthrough for the specific routes where key custody or audit scope demands it. Mixed modes are normal and are usually cheaper than the uniform answer. Before committing I would pressure-test three things. Does this reduce audit scope enough to be worth its operational weight — sometimes re-encrypting a tier is cheaper than arguing about a boundary for two years. Does it survive change: who notices when a new service joins the plaintext segment, and what fails closed. And what does it cost in incident response — every encrypted hop is one you can no longer read in a packet capture at 2am, which pushes the burden onto structured logs and tracing that must exist beforehand. ## The organisational half The technical choice is the smaller half. The larger half is deciding which tier is permitted to hold private keys and see plaintext, who operates it, and how that is proven repeatedly rather than once. If a platform layer can make an encrypted, mutually authenticated hop the default that teams get without doing anything, that is usually a stronger long-term answer than a per-service configuration standard — because a standard degrades and a default does not. That trade, and not the cipher list, is what the question is really asking.

  • When is leaving the internal hop plaintext a defensible answer rather than a shortcut?
    When the control's scope genuinely excludes that segment and the boundary is enforced by something that fails closed — a restricted path nothing else can route to, verified continuously — rather than asserted by convention. If the only argument is "it is our own network", it is a shortcut, because network layouts change and nobody re-reads the assumption.
  • Why might re-encryption reduce cost overall even though it adds a certificate lifecycle?
    Because it can shrink the argument as well as the risk. A tier that is demonstrably encrypted on every wire is far easier to take through review than a boundary you must justify each cycle, and it removes a class of findings entirely. Automated short-lived internal certificates make the recurring cost small; the expensive version is a hand-managed internal PKI.
  • What do you lose in incident response once every hop is encrypted?
    The ability to read traffic off the wire. Packet capture stops being a diagnostic tool between your own components, so the observability you would have improvised has to exist in advance: structured request logs at each hop, correlation identifiers that survive the proxy, and traces. Plan that before turning on encryption everywhere, not during the first incident afterwards.
  • How would you keep the decision from decaying as the platform grows?
    Make the safe mode the default rather than a documented standard. If joining the platform gives a service an encrypted, mutually authenticated hop with no configuration, new services inherit the property. Standards rely on every team reading them; defaults do not, and only defaults survive reorganisations.

saying these in an interview costs you the question

  • Chooses a topology before reading the control's scope
  • Says passthrough is always the most compliant option
  • Calls the internal network trusted with nothing enforcing it
  • Re-encrypts without verifying the backend certificate
  • Ignores cross-region and third-party segments entirely

context