Design Secure Architectures
An application must encrypt 100 MB files locally before uploading them to storage. Its symmetric KMS key must remain in AWS KMS; which encryption approach should it use?
Show the answer
Correct answerD. Encrypt files with data keys protected by the KMS key.
AWhy not this: The symmetric KMS key cannot be exported from AWS KMS for local encryption.
BWhy not this: Digital signatures provide integrity and authenticity, not confidentiality for stored files.
CWhy not this: A 100 MB file exceeds the 4,096-byte plaintext limit for direct symmetric KMS encryption.
DWhy this is right: Data keys encrypt the files locally while the KMS key protects the data keys without leaving AWS KMS.
Envelope encryption uses data keys to encrypt files locally and a KMS key to protect those data keys. Direct encryption with a symmetric KMS key accepts at most 4,096 bytes, so it cannot encrypt an entire 100 MB file in one request.