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.

MediumTechnical
30 practiced

Design telemetry, metrics, and alerting to detect and respond to cryptographic failures: certificate expiry, OCSP-stapling failures, TLS handshake degradation, KMS latency/failures, and anomalous key usage (like an unusual signing rate). Define the SLOs, the actual metric names (counters/gauges/histograms) you'd emit, alert thresholds, and a simple operator playbook for each.

HardTechnical
31 practiced

Design an audit-logging architecture for all key-management operations (create, use, rotate, export, delete) that meets compliance expectations and enables detection of anomalous behavior, without leaking key material into the logs themselves. Define the event types and mandatory fields, your redaction/hashing strategy for sensitive fields, retention and access controls, log integrity protections (tamper-evident or append-only, HSM-signed), and how this feeds a SIEM.

MediumTechnical
43 practiced

You're asked to lead a company-wide 'key compromise drill.' Outline the plan: objectives, participants across engineering, security ops, legal, and communications, the simulated compromise scenarios, a step-by-step playbook, decision gates, reporting/metrics, and the post-drill remediation actions.

HardTechnical
30 practiced

Your cloud KMS provider discloses a critical vulnerability and you must migrate keys and re-encrypt data across cloud providers quickly. Outline an expedited, secure migration plan that preserves confidentiality during transfer, minimizes downtime, remaps access controls to the new provider, and gives you full auditability of the migration. How does the plan change if instead the trigger is a KMS service principal being exfiltrated from CI and used to decrypt sensitive objects, or a vault's master key being suspected extracted: what would you freeze first, and what cross-team responsibilities and regulatory notifications kick in?

EasyTechnical
51 practiced

Why can't you just hash a password with SHA-256 and call it done? Walk through what a key derivation function actually is (how it differs from a plain hash or a PRF) and compare PBKDF2, bcrypt, scrypt, and Argon2 as password-storage choices: the core mechanism each relies on (iteration count vs memory hardness), typical parameter knobs, and strengths/weaknesses. Then explain how the calculus changes when you're deriving a session key from an already-random shared secret instead of a low-entropy password, and where HKDF fits that case.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.