True or False? When encrypting data with the Transit secrets engine, Vault always stores the ciphertext in a dedicated KV store along with the associated encryption key.
Answer(s): B
Comprehensive and Detailed in DepthA: Incorrect. Transit doesn't store ciphertext; it returns it to the client.B: Correct. The Transit engine performs encryption/decryption without persisting data.Overall Explanation from Vault Docs:"The Vault Transit secrets engine does NOT store any data... Ciphertext is returned to the caller."
https://developer.hashicorp.com/vault/docs/secrets/transit
What is the default maximum time-to-live (TTL) for a token, measured in days?
Answer(s): A
Comprehensive and Detailed in DepthA: Vault's default max TTL is 768 hours (32 days). Correct.B, C, D: Incorrect values per Vault's defaults.Overall Explanation from Vault Docs:"The system max TTL is 768 hours (32 days) unless overridden..."
https://developer.hashicorp.com/vault/docs/concepts/tokens#token-time-to-live- periodic-tokens-and-explicit-max-ttls
After decrypting data using the Transit secrets engine, the plaintext output does not match the plaintext credit card number that you encrypted. Which of the following answers provides a solution?$ vault write transit/decrypt/creditcard ciphertext="vault:v1:cZNHVx+sxdMEr......." Key: plaintext Value: Y3JlZGl0LWNhcmQtbnVtYmVyCg==
Answer(s): C
Comprehensive and Detailed in DepthA: Sealing would prevent decryption, not return encoded data. Incorrect.B: Permission issues don't return encoded data. Incorrect.C: Transit returns base64-encoded plaintext; decoding Y3JlZGl0LWNhcmQtbnVtYmVyCg== yields "credit-card-number". Correct.D: No evidence of corruption; it's a format issue. Incorrect.Overall Explanation from Vault Docs:"All plaintext data must be base64-encoded... Decode it to reveal the original value."
True or False? The Vault Secrets Operator does NOT encrypt client cache, such as Vault tokens and leases, by default in Kubernetes Secrets.
Comprehensive and Detailed in DepthA: VSO doesn't encrypt client cache by default; it requires extra configuration. Correct.B: Incorrect; encryption is optional, not default.Overall Explanation from Vault Docs:"Client cache persistence and encryption are not enabled by default... Requires Transit engine configuration."
https://developer.hashicorp.com/vault/docs/platform/k8s/vso/sources/vault#vault- client-cache
True or False? When using the Transit secrets engine, setting the min_decryption_version will determine the minimum key length of the data key (i.e., 2048, 4096, etc.).
Comprehensive and Detailed in DepthA: Incorrect. min_decryption_version sets the minimum key version, not length.B: Correct. It controls versioning, not key size.Overall Explanation from Vault Docs:"min_decryption_version specifies the minimum key version for decryption... Key length is a separate configuration."
https://developer.hashicorp.com/vault/docs/secrets/transit#usage
Post your Comments and Discuss HashiCorp HCVA0-003 exam prep with other Community members: