Solved

An AWS Lambda Function Generates a 3MB JSON File and Then

Question 251

Multiple Choice

An AWS Lambda function generates a 3MB JSON file and then uploads it to an Amazon S3 bucket daily. The file contains sensitive information, so the Developer must ensure that it is encrypted before uploading to the bucket. Which of the following modifications should the Developer make to ensure that the data is encrypted before uploading it to the bucket?


A) Use the default AWS KMS customer master key for S3 in the Lambda function code.
B) Use the S3 managed key and call the GenerateDataKey API to encrypt the file. Use the S3 managed key and call the GenerateDataKey API to encrypt the file.
C) Use the GenerateDateKey API, then use that data key to encrypt the file in the Lambda function code. Use the GenerateDateKey API, then use that data key to encrypt the file in the Lambda function code.
D) Use a custom KMS customer master key created for S3 in the Lambda function code.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents