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
40 practiced

Design a prevention and detection pipeline to avoid hard-coded credentials in source code repositories. Include pre-commit hooks, static analysis rules, CI secret scanning, automated creation and rotation of secrets when leaks are detected, and developer education. Mention specific tools and how you'd integrate the pipeline with GitHub/GitLab.

MediumTechnical
44 practiced

Explain why one-way functions matter for password storage and authentication protocols. Contrast the naive approach of storing H(password) with using a proper password-based key derivation function (PBKDF) that includes salts and computational cost (iterations/work factor). What attacks are mitigated by PBKDFs?

MediumSystem Design
43 practiced

Design a defense-in-depth system against advanced credential stuffing using rate-limiting, ML-driven risk scoring, device fingerprinting, progressive profiling, and CAPTCHA. Explain which features you'd use for the ML model, data sources, how to serve real-time risk scores (latency and scaling), and strategies to reduce false positives and adversarial manipulation of the ML model.

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.

EasyTechnical
45 practiced

In a backend service, describe the difference between authentication and authorization. Provide concrete examples showing where they differ in responsibilities (who verifies identity, who enforces permissions), and explain which component(s) in a microservices architecture (API gateway, identity provider, downstream services) should own each responsibility and why.

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.