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.

MediumTechnical
45 practiced

Write a Python function that computes the effective permissions of a user given: a role hierarchy (roles may inherit other roles), a mapping of roles to permissions, and a list of roles assigned to the user. The function must handle cycles in role inheritance gracefully and return a deduplicated set of permissions. Include function signature and brief complexity expectations.

HardTechnical
44 practiced

Discuss differences between symmetric (HS256) and asymmetric (RS256) JWT signing algorithms. Create a migration plan to move from HS256 to RS256 across many services: key generation, distribution, library updates, handling tokens signed with old keys, preventing algorithm-confusion attacks, and operationalizing kid-based key rotation.

MediumTechnical
37 practiced

Perform a threat model for TOTP (time-based one-time password) second-factor authentication. Identify how replay attacks, desynchronization, brute-force guessing, provisioning interception, and man-in-the-middle attacks could be executed. Recommend mitigations such as skew windows, rate limiting, provisioning protections, and binding tokens to sessions or devices.

MediumTechnical
61 practiced

Compare options for authenticating applications and users to databases: shared application credentials (pooled), per-user DB authentication (impersonation), integrated OS auth (Kerberos), and certificate-based auth. Discuss pros/cons for security, auditing, connection pooling and operational complexity, and recommend patterns for OLTP workloads that require per-user auditing.

EasyTechnical
57 practiced

Compare common Multi-Factor Authentication (MFA) approaches : TOTP (time-based OTP), SMS OTP, push-based approval, and hardware-backed/U2F/WebAuthn tokens : in terms of security, usability, deployability, and attack surface. For each method, list typical threats (e.g., SIM swapping, phishing, device theft) and describe when you would choose or avoid that method for a user-facing application.

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.