nerdexam
HashiCorp

VAULT-ASSOCIATE-002 · Question #88

You are using Vault's Transit secrets engine to encrypt your data. You want to reduce the amount of content encrypted with a single key in case the key gets compromised. How would you do this?

The correct answer is D. Periodically rotate the encryption key. To minimize the impact of a compromised encryption key in the Transit secrets engine, you should periodically rotate the encryption key.

Submitted by stefanr· Apr 18, 2026Secure Vault

Question

You are using Vault's Transit secrets engine to encrypt your data. You want to reduce the amount of content encrypted with a single key in case the key gets compromised. How would you do this?

Options

  • AUse 4096-bit RSA key to encrypt the data
  • BUpgrade to Vault Enterprise and integrate with HSM
  • CPeriodically re-key the Vault's unseal keys
  • DPeriodically rotate the encryption key

How the community answered

(28 responses)
  • A
    4% (1)
  • C
    4% (1)
  • D
    93% (26)

Why each option

To minimize the impact of a compromised encryption key in the Transit secrets engine, you should periodically rotate the encryption key.

AUse 4096-bit RSA key to encrypt the data

Using a larger RSA key (e.g., 4096-bit) increases the key's cryptographic strength but doesn't reduce the amount of content encrypted by that single key or mitigate the risk if the key is compromised.

BUpgrade to Vault Enterprise and integrate with HSM

Upgrading to Vault Enterprise and integrating with an HSM provides enhanced security for key storage but doesn't inherently reduce the amount of content encrypted by a single key version unless rotation is also performed.

CPeriodically re-key the Vault's unseal keys

Periodically re-keying Vault's unseal keys is about securing Vault's master key and the sealing process, not the data encryption keys managed by the Transit secrets engine.

DPeriodically rotate the encryption keyCorrect

Key rotation in the Transit secrets engine creates a new version of the encryption key, and all future encryption operations will use this new key version. This practice reduces the "cryptoperiod" of any single key, meaning if an older key version is compromised, only data encrypted with that specific version is at risk, thus limiting the overall blast radius.

Concept tested: Vault Transit secrets engine key rotation

Source: https://developer.hashicorp.com/vault/docs/secrets/transit#key-rotation

Topics

#Vault Transit#Key rotation#Key management#Data encryption security

Community Discussion

No community discussion yet for this question.

Full VAULT-ASSOCIATE-002 Practice