A cloud provider offers a dedicated tamper-resistant appliance that generates, stores, and performs cryptographic operations with keys that never leave the device in plaintext, exposing them to tenants through a network cryptographic API. Which statement most accurately describes the primary purpose of a hardware security module (HSM) in this cloud infrastructure?
- AIt measures the integrity of firmware and boot components during startup so a host can attest to its trusted state before joining a cluster.
- BIt records signed transaction logs in an append-only ledger so that key usage can be audited by an independent third party later.
- CIt accelerates bulk symmetric encryption of stored objects so that data-at-rest throughput matches the underlying storage bandwidth.
- DIt provides a certified boundary for key generation, storage, and use so that private keys are never exposed outside the hardened device. Correct
Why A is wrong: Boot integrity measurement and attestation describe a trusted platform module (TPM), not an HSM, so this confuses two distinct hardware roots of trust.
Why B is wrong: Tamper-evident logging is a useful control an HSM may support, but it is not the primary purpose; the core function is protecting keys during generation and use.
Why C is wrong: Some HSMs offer crypto acceleration, but bulk data-at-rest encryption is normally done in software; performance is a side benefit, not the defining purpose.
Why D is correct: This is the defining role of an HSM: a validated, tamper-resistant boundary within which keys are created and used without ever being exported in the clear.