Overview
Curated: · Written: · Reviewed:
Zero Trust Architecture
In one line
Zero trust makes each access decision per resource from verified identity, device and context signals, and grants nothing because a caller sits on the corporate network. Reach for it when a VPN or flat network grants more access than any single request needs.
Key definitions
- Policy engine (PE): decides whether access is granted, from enterprise policy and signals such as identity, credential strength, device state, resource sensitivity and behavior.
- Policy administrator (PA): sets up or tears down the communication path after the engine decides.
- Policy enforcement point (PEP): enables, monitors and ends each connection.
- Continuous evaluation: re-deciding during a session so that revocation and posture changes take effect.
- Microsegmentation: limits network paths. It does not replace resource-level authorization.
- Break-glass: time-bound, monitored emergency access, designed in advance and reviewed afterwards.
Formulas and complexity
The maximum window in which a revoked subject can still be allowed: cache lifetime plus the time a revocation takes to reach the enforcement point. Quote it per resource, and state the value you measured or configured.
How it works
- The subject, device or workload authenticates, and the engine scores identity, credential strength, device state, resource sensitivity and recent behavior.
- The administrator sets up the path only after an allow, carrying obligations such as step-up MFA, session limits, masking and audit requirements.
- The enforcement point checks every request and re-evaluates on schedule or when a signal changes.
- The application still checks object, tenant and business-state authorization at its own boundary.
When to use and when not to
| Situation | Fit | Caveat |
|---|---|---|
| Staff and contractors reaching internal apps | Strong: replace network-wide VPN grants with per-app access | Needs device and identity signals you trust |
| Legacy app with shared password, no MFA, network allowlist | Partial: gateway with compensating controls | Residual risk must be stated; an allowlist is not identity |
| Unmanaged personal device | Limited: engine can decline elevated access | No posture means no elevation for sensitive resources |
| Small internal tool with few users | Often an identity-aware proxy is enough | Policy operations cost outweighs the benefit |
| Encryption as the only control | Not a decision | TLS protects the channel; it does not authorize the action |
Traps interviewers probe
- Treating the gateway allow as the whole decision. Fix: the application checks object, tenant and business state at its authoritative boundary. A stolen token for tenant 4471 must not return tenant 9902's invoice.
- Authorizing on a network tag or source address. Fix: authorize on the verified subject or workload identity. A tag added by the network path shows where a request came from, not who holds the credential.
- Assuming mTLS or microsegmentation authorizes the call. Fix: they prove workload identity and limit paths. Add a per-request, per-action policy on top, because a compromised workload with a valid certificate can still call any endpoint it can reach.
- Caching decisions without binding or expiry. Fix: key the cache by subject, resource and action, state its lifetime, and invalidate it on revocation. The exposure formula above is the number you must defend.
- One failure mode for every resource. Fix: fail closed for privileged writes, serve a bounded cached decision for low-impact reads, and write the choice down per resource and action.
Interview tips
Opening line: "Zero trust means every request to a specific resource is authorized from verified identity, device and context, and network location grants nothing."
Expect these follow-ups:
- How does a revocation reach a session that is already open? Answer with continuous evaluation and the exposure window.
- What happens when the policy engine is down? Answer with fail-closed, cached or fail-open per resource and action.
- How do you show no flat network remains? Answer with negative tests: direct endpoints, legacy protocols, admin consoles, backup paths, service-to-service calls and stale sessions.
- Why not just deploy a gateway? Answer that a gateway that trusts the application's session cookie has not moved the decision.
30-second outline:
- Define it: per-resource decisions from verified signals, no implicit trust from location.
- Name the split: engine decides, administrator configures, enforcement point holds the connection.
- Continuous evaluation, with the exposure window you would accept for this resource.
- Application-level object and tenant checks behind the gateway.
- Failure mode per resource, and how emergency access is time-bound and reviewed.
- Proof: negative tests plus legitimate-user completion, so the security metric is not met by breaking the service.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.