InterviewStack.io LogoInterviewStack.io

Applied Cryptography and Key Management Questions

Selecting and applying cryptographic primitives correctly: symmetric and asymmetric encryption, hashing, digital signatures, key derivation, secure random number generation, and public key infrastructure. Covers key lifecycle management, key exchange and distribution, choosing appropriate algorithms for a given constraint set including resource-constrained environments, and the forward-looking side of algorithm lifecycle: cryptographic agility and algorithm-migration strategy, forward secrecy, and the post-quantum cryptography transition and planning upgrades without breaking existing data or interoperability. The applied-crypto engineering layer, distinct from compliance-driven crypto standards.

EasyTechnical
27 practiced

You're starting a greenfield system expected to run for more than 10 years. List the factors you'd weigh when selecting cryptographic algorithms and key sizes for symmetric encryption, public-key encryption, signatures, and key exchange. How would you build in algorithm agility from day one, and how would you document these choices so a future team can safely migrate them?

HardSystem Design
26 practiced

Design an internal PKI to issue and manage TLS certificates for a large fleet of microservices across multiple clusters and cloud providers (tens to hundreds of thousands of services, potentially millions of devices). Address CA hierarchy and certificate templates, automated enrollment and renewal (ACME for public-facing certs, a private CA or bespoke protocol internally), revocation at scale (CRL vs OCSP vs short-lived certs), trust distribution, and monitoring of certificate health. If you were hardening the CA itself for internet-facing services, what would Certificate Transparency logging and OCSP-responder scaling add, and what's your incident-response plan if the CA's own key is compromised?

EasyTechnical
25 practiced

Walk through the TLS handshake step by step (TLS 1.2 or 1.3) and explain what each message accomplishes. Cover how confidentiality, integrity, authentication, and (where applicable) forward secrecy are achieved, and the role certificates, key exchange, and session-key derivation play.

EasyTechnical
27 practiced

What is a Key Management Service, and what does the full key-management lifecycle look like for symmetric and asymmetric keys in an enterprise environment? For each stage (generation, provisioning, storage/usage, rotation, revocation, archival, secure destruction), name concrete controls and automation options you'd expect a KMS or HSM to provide, and the audit/logging you'd want at each stage. Compare cloud-managed KMS, HSM-backed KMS, and self-hosted key stores (like HashiCorp Vault) from an operational and decision-criteria standpoint: when would you reach for each?

EasyTechnical
31 practiced

Describe the core components and trust model of an enterprise Public Key Infrastructure: root CA, intermediate CAs, issuing CAs, certificate profiles and validity periods, registration authorities, and the strategies (offline root, short-lived certs, cross-certification) used to limit blast radius if a CA is compromised. Then walk through what actually happens end to end for one certificate: how it's requested and issued (CSR, CA validation), how a client validates the resulting chain (chain verification, hostname checks), and how automated issuance (e.g. Let's Encrypt / ACME) changes that story at scale.

Unlock Full Question Bank

Get access to all 24 Applied Cryptography and Key Management interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.