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.

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.

HardSystem Design
44 practiced

Design an end-to-end authentication and authorization architecture for a SaaS platform with 10M users that supports web SPAs, server-rendered pages, mobile apps, third-party APIs, SSO via SAML and OIDC, social login providers, and a microservices backend. Specify token flows for user and service identities, session management choices, refresh strategies, token revocation, rate limiting, certificate/key rotation, identity provider integration patterns, and recovery plans for a major credential compromise.

EasyTechnical
34 practiced

Explain 'policy as code' in the context of cloud IAM. What benefits does it provide for repeatability, testing, and compliance? Name common tools and frameworks (OPA, Gatekeeper, Terraform/CFT prechecks) and describe a simple CI/CD workflow that enforces policies for infrastructure changes.

EasyTechnical
44 practiced

Compare OAuth 2.0, OpenID Connect (OIDC), and SAML for solving authentication and authorization problems. For each protocol explain primary use cases (e.g., web SSO, mobile apps, enterprise federation), how authentication statements are conveyed, and typical deployment considerations (mobile vs enterprise SSO). Provide criteria you would use to choose one protocol over the others.

EasyTechnical
31 practiced

What are machine identities and service accounts? Describe best practices for managing them including short-lived credentials, certificate-based authentication, workload identity (e.g., cloud provider identity or SPIFFE), least privilege, rotation automation, and how to detect orphaned or unused service accounts.

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.