A company has AWS Lambda functions that use environment variables. The company does not want its developers to see environment variables in plaintext.
Which solution will meet these requirements?
A.
Deploy code to Amazon EC2 instances instead of using Lambda functions.
B.
Configure SSL encryption on the Lambda functions to use AWS CloudHSM to store and encrypt the environment variables.
C.
Create a certificate in AWS Certificate Manager (ACM). Configure the Lambda functions to use the certificate to encrypt the environment variables.
D.
Create an AWS Key Management Service (AWS KMS) key. Enable encryption helpers on the Lambda functions to use the KMS key to store and encrypt the environment variables.
Reasons for choosing D:
AWS KMS is the primary service for managing encryption keys in AWS. This makes it the most appropriate choice for encrypting sensitive environment variables within Lambda functions.
Encryption helpers in Lambda allow you to easily integrate KMS key usage within your Lambda code, ensuring that environment variables are stored and accessed in an encrypted format.
"To configure encryption for your environment variables
Enable console encryption helpers to use client-side encryption to protect your data in transit.
Under Encryption in transit, choose Enable helpers for encryption in transit.
For each environment variable that you want to enable console encryption helpers for, choose Encrypt next to the environment variable.
Under AWS KMS key to encrypt in transit, choose a customer managed key that you created at the beginning of this procedure."
I don't understand why we should use a complex way of encrypting variables instead of using Parameter Store... but in this case the best option is D
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
osmk
Highly Voted 1 year, 1 month agoAndy_09
Highly Voted 1 year, 1 month agoJA2018
Most Recent 4 months agoMatAlves
6 months, 1 week agoRhydian25
9 months ago