InterviewStack.io LogoInterviewStack.io

Identity, Authentication, and Access Management Questions

Designing and operating identity and access control systems. Covers authentication protocols and standards (OAuth, SAML, OIDC, MFA), authorization models (RBAC, ABAC), identity lifecycle and privilege management, IAM architecture and automation, and access control across cloud and on-premises environments. The 'who can do what' control plane, distinct from cryptographic key management.

HardSystem Design
37 practiced

Design a hybrid approach that allows near-instant revocation of stateless JWTs (issued with 2-hour TTL) for a global user base. Discuss options like token introspection, short TTLs, revocation blacklists, distributed caches, pub/sub invalidation, and the cost/performance trade-offs for each. Recommend a concrete architecture and justify it.

MediumSystem Design
43 practiced

Design a testing strategy to ensure authorization correctness in CI/CD: include unit tests for policy logic, integration tests that simulate roles and permissions, contract tests between services, end-to-end UI tests that assert both allow and deny cases, and negative tests that prove certain users cannot perform actions. Explain how to maintain test suites when policies evolve.

MediumTechnical
34 practiced

Design single sign-on (SSO) and single logout (SLO) across multiple web applications and multiple identity providers (SAML and OIDC). Explain front-channel vs back-channel logout mechanisms, how you'd correlate sessions across apps, and how to handle IdP unavailability or failure modes without leaving orphaned sessions.

HardTechnical
39 practiced

Design a risk-based adaptive authentication system for a web application: define which signals you would collect (IP reputation, device fingerprint, geolocation anomalies, behavioral patterns, new device), propose a scoring model for risk, identify step-up actions (MFA, challenge, block), state privacy and data retention constraints, and explain how to run experiments to measure effectiveness without blocking legitimate users.

MediumTechnical
35 practiced

List practical techniques to minimize the blast radius if an access token is leaked (for example via logs or a browser extension). Discuss token scope reduction, short-lived tokens, refresh rotation, token binding, IP/device restrictions, and monitoring/detection strategies:explain trade-offs for usability and complexity.

Unlock Full Question Bank

Get access to all Identity, Authentication, and Access Management interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.