
Answer-first summary for fast verification
Answer: Retrieve a unique data key using KMS GenerateDataKey API, encrypt the data with it, and store the encrypted key and data.
The correct answer is C. Using the KMS GenerateDataKey API provides a unique data key for each video file. You can use this key to encrypt the data and then store the encrypted data along with the encrypted data key. This approach ensures that each file is encrypted with a unique key and that the keys are managed securely, meeting the requirement for unique encryption per file.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How should a developer implement encryption for an application storing multiple video files, ensuring each file is encrypted with a unique key?
A
Encrypt data using the KMS Encrypt API and store both the data key and encrypted data.
B
Generate an encryption key with a cryptography library, encrypt the data, and store the result.
C
Retrieve a unique data key using KMS GenerateDataKey API, encrypt the data with it, and store the encrypted key and data.
D
Utilize S3 server-side encryption with an AWS KMS key for data upload.