IAM interview questions · IAM architectures
Zero Trust access
The interview question“How would you replace the VPN with a Zero Trust architecture?”
In plain wordsA museum where every room has its own guard who calls a central desk before letting you in, and can send you out at any moment.
Scenario 1 of 5
Decide, then enforce
In plain words Nobody gets in just because they are “inside”. Every request goes past a guard who asks a central brain: allowed or not?
Technical details
NIST SP 800-207 splits the policy decision point (PDP, the policy engine) from the policy enforcement points (PEP: access proxy, gateway, the app itself). The PDP combines identity, device posture, context and resource sensitivity.
Scenario 2 of 5
Sara opens the HR app from a company laptop
In plain words She logs in with a passkey, the laptop is managed and up to date: the guard lets her through, only to the HR app.
Technical details
IdP asserts identity and authentication strength (acr/amr); MDM reports compliance; the PDP returns allow with a session lifetime; the proxy publishes only that app, not the network.
Scenario 3 of 5
Same person, personal tablet
In plain words The device is unknown, so she can read in the browser but not download files.
Technical details
Policy outcomes are not just allow/deny: limited session, step-up MFA, read-only, block downloads. This keeps people productive without trusting an unmanaged device.
Scenario 4 of 5
Mid-session, the risk changes
In plain words The same session suddenly appears from another continent. The brain tells every guard: stop trusting it now.
Technical details
Continuous evaluation: short tokens plus revocation events (CAEP, Shared Signals Framework) let enforcement points end sessions without waiting for expiry.
Scenario 5 of 5
Services are checked too
In plain words When one program calls another, it also shows its own badge. No “trusted internal traffic”.
Technical details
Service-to-service calls use workload identities (mTLS with SPIFFE IDs or OAuth client credentials) and audience-restricted tokens, checked at the gateway and in the service.
How it works
A policy engine (PDP) decides; enforcement points (access proxy for apps, API gateway for APIs, the app itself) apply the decision. Inputs: identity and authentication strength from the IdP, device health from MDM/EDR, risk signals, and how sensitive the resource is.
Apps are published one by one, never the whole network. Decisions are re-evaluated during the session, and service-to-service traffic uses workload identities instead of trusted network zones.
A concrete example
A consultancy removes the VPN for 90% of apps: employees reach them through an identity-aware proxy; contractors on personal laptops get browser-only access without downloads; an impossible-travel alert revokes sessions in seconds.
Mistakes to avoid
- Selling Zero Trust as one product.
- Strong login but long sessions with no re-evaluation.
They may also ask you
- What would you migrate first off the VPN?
- How do you handle legacy apps that need network access?