Q&A-1Explain zero trust architecture to an engineering team.
Answer
Zero trust means no access decision is made on the basis of network location: "it came from inside the VPN" is not authorization. Every request is authenticated and authorized against policy that weighs who's asking, from what device, for which resource, right now. The canonical reference is NIST SP 800-207 (2020); Google's BeyondCorp (published 2014–2018) is the best-known production implementation, and it's worth citing both in an interview.
The mechanism. Split the architecture into three logical roles:
- Policy Administration Point (PAP): where policy is defined and distributed.
- Policy Decision Point (PDP): evaluates each request against policy and current signals.
- Policy Enforcement Point (PEP): the component in the request path (a proxy, sidecar, or gateway) that actually blocks or allows.
A request carries signals: user identity (OIDC token from the IdP), device posture (managed, disk-encrypted, patch level, attested via a device-management agent), and context (risk score, location, time). The PDP decides; the PEP enforces; the session is re-evaluated, not just checked once at the front door.
A concrete shape. Compare the two dominant deployment styles:
| Approach | Enforcement lives in | Strength | Weakness |
|---|---|---|---|
| Identity-centric (BeyondCorp-style: IAP, Cloudflare Access, Pomerium) | A per-application proxy in front of each resource | Fine-grained per-app policy, works for contractors, no network access at all | Every app needs an integration; non-HTTP protocols are awkward |
| Network micro-segmentation (Istio mTLS + AuthorizationPolicy, native firewall policies) | The mesh or fabric between workloads | Covers east-west traffic, any protocol | Coarser identity granularity; certificate lifecycle becomes a real operational load |
Most real deployments end up hybrid: identity-centric for human access to applications, mTLS/service-mesh authorization for service-to-service.
Failure modes: the part that separates a real answer from a slogan.
- PDP outage. If the decision point is down, the PEP has to choose: fail closed (users locked out, revenue impact) or fail open (you've silently reverted to implicit trust). Decide per resource class and write it down. Detection: synthetic canary requests through each PEP that assert both allow and deny paths, alerting on a canary that unexpectedly succeeds.
- Signal staleness. A device posture check captured at 9:00 is worthless at 17:00 if the device was jailbroken at noon. Token lifetimes matter here: an access token with a 24-hour TTL is a 24-hour window in which revocation doesn't propagate. Short TTLs plus refresh-time re-evaluation bound the window; the cost is more load on the IdP and more latency on refresh.
- Latency of continuous verification. Every hop through a proxy adds RTTs. A user in Sydney hitting a PEP in us-east-1 pays the Sydney–Virginia round trip (~200 ms) on every request, not just login. This is the main reason BeyondCorp-style architectures colocate PEPs regionally and why some teams cache authorization decisions for tens of seconds, which reintroduces staleness. That tension is the honest trade-off.
- The PEP becomes the perimeter. Concentrate all enforcement in one gateway and you've rebuilt the castle with a different moat: it's now a single point of failure and a high-value target. Detection: capacity alerts on the PEP, plus chaos-testing its failure.
When not to do it. A two-person startup with one monolith behind a cloud LB doesn't need a PDP/PEP split: the marginal blast-radius reduction doesn't pay for the operational surface. Zero trust earns its cost when you have many resources, heterogeneous users (employees, contractors, partners), or a compliance driver (executive order 14028 pushed US federal agencies toward SP 800-207). Even then, sequence it: start with the highest-risk access paths (admin planes, production data), not a big-bang migration.
What it isn't. Not "trust nothing": it's "trust policy, not location." Not MFA on every packet. Not a breach guarantee: a compromised endpoint with a valid session still gets through; zero trust shrinks the blast radius and gives you evidence (every decision logged at the PDP), it doesn't eliminate compromise.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.