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

Explain secure mechanisms for storing and injecting secrets (API keys, DB passwords, signing keys) into CI/CD pipelines and runtime environments. Compare secrets vaults (HashiCorp Vault), cloud KMS, environment variables, and sealed secrets. Describe how to rotate secrets, audit access, and handle secrets in ephemeral build agents and containers.

MediumSystem Design
34 practiced

Design an authentication and authorization architecture for a web application serving 2 million monthly users. Specify identity provider selection (OIDC/OAuth2 choices), token format and lifetime, session management, refresh token rotation, and how microservices enforce authorization at scale.

HardTechnical
38 practiced

You need to run containerized services that require read/write access to NFS volumes owned by specific UIDs, but you must avoid running containers as root. Design approaches to provide least-privilege access: evaluate Kubernetes fsGroup, supplemental groups, user namespaces/subuid mapping, and host-level UID mapping. Discuss how each approach affects security, backups, and cross-environment consistency.

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.

HardTechnical
45 practiced

You are the lead security engineer responsible for migrating 200 services from local username/password auth to OIDC SSO. Draft a phased migration plan covering discovery of affected systems, gating criteria for rollout phases, developer onboarding, handling legacy clients, session migration, rollback strategy, and metrics/KPIs to determine successful migration.

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.