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.

EasyTechnical
31 practiced

You're designing RBAC for a three-tier application (frontend, API/backend, data). Define a minimal set of roles (admin, developer, viewer) and map which permissions each role should have across compute, databases, object storage, and CI/CD. Describe constraints you would add (time-bound access, IP restrictions, MFA) and how you would test these roles before production rollout.

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.

EasyTechnical
67 practiced

Explain the principle of least privilege and provide a concrete example applying it to API permission design for an enterprise application. Identify entities involved, the minimal permissions you would grant, how you would enforce validation, and how you'd monitor and detect over-provisioned permissions.

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.

EasyTechnical
65 practiced

In Node.js using Express, outline middleware that verifies a Bearer JWT access token signed with RS256 by using a JWKS endpoint. Provide the high-level pseudocode, list error cases to handle (expired, malformed, unknown kid), and explain how to cache JWKS keys safely to avoid performance problems.

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.