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.

HardTechnical
42 practiced

Design a secure pattern that allows external partners to call a limited subset of your APIs without creating local user accounts. Use federation and token-exchange (RFC 8693) concepts to mint constrained tokens. Describe trust establishment, assertion validation, scoping/audience, token issuance and exchange flows, replay protection, rate-limiting, and auditing for partner activity.

MediumSystem Design
43 practiced

Design a high-level integration plan to onboard a large enterprise customer to your B2B SaaS platform, where employees access the product through a corporate portal using SSO. Outline authentication (SAML or OIDC), user provisioning (SCIM), consent flows, role mappings, reporting integration (CSV/API), and error handling. Identify key milestones, dependencies, and common pitfalls to anticipate.

HardSystem Design
34 practiced

Design a high-availability and multi-region deployment for an IdP and directory service that must provide low latency (e.g., <5s for local auth) and survive a region failure. Discuss active-active vs active-passive replication, consistency tradeoffs, session state handling, DNS/routing strategies, and data residency constraints.

MediumSystem Design
41 practiced

Design an enterprise-grade MFA enrollment and recovery flow for a B2B SaaS product that supports both federated SSO and local accounts. Include enrollment UX, device attestation, registering multiple authenticators per user, verification steps, self-service recovery (lost device), admin-assisted recovery, risk-based re-enrollment triggers, and audit logging for critical enrollment/recovery events.

MediumSystem Design
37 practiced

You must integrate on-prem Active Directory with a cloud IdP to support SSO for cloud services and legacy apps. Describe the architecture patterns for directory synchronization versus federation, including security trade-offs (password hash sync vs pass-through auth vs federation), account provenance, how to synchronize groups and nested groups, and how to handle password policy differences.

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.