Identity and Access Management (IAM) Engineer Interview Prep
OverviewOwns the identity layer for humans and services: authentication, least-privilege authorization, and privileged access controls across enterprise systems, kept correct through change and incident.
Curated: · Written: · Reviewed:
- Interview Q&A
- 105
- Practice MCQs
- 100
Top 100 Identity and Access Management (IAM) Engineer Interview Questions and Answers
The questions most likely to actually be asked, ranked by likelihood, with pro-level model answers.105 Q&ATop 100 Identity and Access Management (IAM) Engineer Practice MCQs
Quick multiple-choice self-checks covering the same high-value ground, with an explanation for every answer.100 MCQsThe role in one line
You own who and what can authenticate to enterprise systems, what they may do once inside, and you keep both correct through change and incident.
The interview loop
| Round | What it probes | What it scores |
|---|---|---|
| Protocol design | OAuth 2.0, OIDC and SAML flows, trust boundaries, token and assertion validation | Each hop traced, with the check made at each one |
| Authorization model | RBAC vs ABAC, least privilege, segregation of duties | Model justified against a stated constraint |
| Lifecycle and PAM | Joiner-mover-leaver, access reviews, just-in-time and vaulted privilege | Removal path named, with the evidence it leaves |
| Incident diagnosis | Failed logins, token errors, provisioning drift | Evidence to containment, recovery, then audit artifacts |
| Architecture | Multiple IdPs, key rotation, scale | Assumptions stated first, failure modes named |
Five must-know areas
- OAuth vs OIDC: OAuth authorizes access to an API, OIDC authenticates the user. An access token is not a login.
- Token validation: iss, aud, exp, nonce, an algorithm allowlist and kid lookup, not the signature alone.
- Redirect and code protection: exact redirect URI matching, PKCE with S256, and state for CSRF on the callback.
- Federated identity: the key is iss plus sub, never email, because email changes and gets reassigned.
- Session end: what a disable or sign-out terminates immediately, and what stays valid until expiry.
Numbers and formulas to have ready
Access token lifetime and cache TTLs are set by your deployment, so quote your configured values and say where they come from. Leaver exposure is bounded by the sum of the access token lifetime and any cache that still honours a revoked result:
For a SAML assertion, the time window check uses a clock skew tolerance you configure. The tolerance is not a standard value:
where t_nb is NotBefore, t_na is NotOnOrAfter and delta is your configured skew.
Reference architecture
- The authorization server, not the relying party, holds the upstream IdP trust.
- Each callback is bound to one IdP by the issuer in the response, not by the URL alone.
- The resource API checks aud and scope on every request; it does not accept an ID token.
- Key rotation publishes the new key in JWKS before the first token is signed with it.
Strong vs weak answers
| Question | Strong answer | Weak answer |
|---|---|---|
| Use OAuth to log users in? | OAuth delegates access. I'd use OIDC so the ID token carries authentication, then validate iss, aud and nonce. | OAuth logs them in. |
| Public client, no secret? | Authorization code with PKCE using S256. Implicit is removed in OAuth 2.1. | Implicit, it's simpler. |
| Wildcard redirect on staging? | No. Register exact URIs per environment; a wildcard lets a code reach an attacker's host. | Fine on staging if it's internal. |
| Disable a leaver at the IdP? | New tokens stop. I revoke refresh tokens and end app sessions. Access tokens run to exp. | They're out. |
| Sign-out order? | End the local session, revoke refresh tokens, then call the end_session endpoint or send back-channel logout. | Clear the cookie. |
Interview tips
- State your assumptions first: client type, token lifetimes, and which party holds the signing keys.
- Draw the flow with each validation step labelled before you speak to it.
- Name the threat each control stops: code interception, CSRF, replay, token substitution.
- Close every answer with the operational control: revocation path, monitoring signal, or audit record.
- When you cannot defend a point, say which step you would check first and in what order.
Last-week checklist
- Trace OIDC, OAuth and SAML end to end without notes.
- Practise ID token and SAML assertion validation as ordered lists.
- Write out the leaver path and what each step terminates.
- Rehearse key rotation with the publish, sign, retire order.
- Work through the Top 100 aloud and repair the Concepts you could not defend, in study order.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.