Skip to content
Tech Interview Prep
Technical interview guide

Zero Trust Architecture

Verifying every request explicitly instead of trusting anything by network location.

Minutes to read
4
Practice MCQs
25
Interview Q&A
25
Edition
v5
Editorial status
Reviewed

Scope: NIST SP 800-207; NIST SP 800-207A; NIST SP 1800-35 final (June 2025); CISA Zero Trust Maturity Model 2.0.

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

Texposure≤Tcache+TpropagationT_{\text{exposure}} \le T_{\text{cache}} + T_{\text{propagation}}

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

  1. The subject, device or workload authenticates, and the engine scores identity, credential strength, device state, resource sensitivity and recent behavior.
  2. The administrator sets up the path only after an allow, carrying obligations such as step-up MFA, session limits, masking and audit requirements.
  3. The enforcement point checks every request and re-evaluates on schedule or when a signal changes.
  4. The application still checks object, tenant and business-state authorization at its own boundary.
request signals decision and obligations configure path allowed request object and tenant check Subject and device Policy enforcement point Policy engine Identity, posture, context, threat intel Policy administrator Application Resource

When to use and when not to

SituationFitCaveat
Staff and contractors reaching internal appsStrong: replace network-wide VPN grants with per-app accessNeeds device and identity signals you trust
Legacy app with shared password, no MFA, network allowlistPartial: gateway with compensating controlsResidual risk must be stated; an allowlist is not identity
Unmanaged personal deviceLimited: engine can decline elevated accessNo posture means no elevation for sensitive resources
Small internal tool with few usersOften an identity-aware proxy is enoughPolicy operations cost outweighs the benefit
Encryption as the only controlNot a decisionTLS protects the channel; it does not authorize the action

Traps interviewers probe

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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:

  1. Define it: per-resource decisions from verified signals, no implicit trust from location.
  2. Name the split: engine decides, administrator configures, enforcement point holds the connection.
  3. Continuous evaluation, with the exposure window you would accept for this resource.
  4. Application-level object and tenant checks behind the gateway.
  5. Failure mode per resource, and how emergency access is time-bound and reviewed.
  6. 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.