VAULT-ASSOCIATE-002 · Question #68
You have a 2GB Base64 binary large object (blob) that needs to be encrypted. Which of the following best describes the transit secrets engine?
The correct answer is D. The transit engine is not a good solution for binaries of this size. The Transit secrets engine is not suitable for directly encrypting very large binary objects like a 2GB blob due to its in-memory processing and design limitations.
Question
Options
- AA data key encrypts the blob locally, and the same key decrypts the blob locally.
- BTo process such a large blob. Vault will temporarily store it in the storage backend.
- CVault will store the blob permanently. Be sure to run Vault on a compute optimized machine.
- DThe transit engine is not a good solution for binaries of this size.
How the community answered
(64 responses)- A3% (2)
- B5% (3)
- C13% (8)
- D80% (51)
Why each option
The Transit secrets engine is not suitable for directly encrypting very large binary objects like a 2GB blob due to its in-memory processing and design limitations.
While Transit can manage data keys, directly encrypting a 2GB blob locally using a key from Transit wouldn't address the Transit engine's limitation regarding processing large data in its own memory.
Vault does not temporarily store large blobs in its storage backend for Transit operations; all data for encryption/decryption by Transit is processed in memory.
Vault is not designed to permanently store encrypted blobs of this size, and simply running Vault on a compute-optimized machine would not bypass the fundamental in-memory processing limitation for large data in Transit.
The Transit secrets engine is designed to operate on small to medium-sized data that can be processed efficiently in memory, making it generally unsuitable for directly encrypting large files like a 2GB blob due to memory and performance constraints.
Concept tested: Vault Transit secrets engine limitations for large data
Source: https://developer.hashicorp.com/vault/docs/secrets/transit#caveats-and-limitations
Topics
Community Discussion
No community discussion yet for this question.