exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 195 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 195
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer is building a highly secure healthcare application using serverless components. This application requires writing temporary data to /tmp storage on an AWS Lambda function.

How should the developer encrypt this data?

  • A. Enable Amazon EBS volume encryption with an AWS KMS key in the Lambda function configuration so that all storage attached to the Lambda function is encrypted.
  • B. Set up the Lambda function with a role and key policy to access an AWS KMS key. Use the key to generate a data key used to encrypt all data prior to writing to /tmp storage.
  • C. Use OpenSSL to generate a symmetric encryption key on Lambda startup. Use this key to encrypt the data prior to writing to /tmp.
  • D. Use an on-premises hardware security module (HSM) to generate keys, where the Lambda function requests a data key from the HSM and uses that to encrypt data on all requests to the function.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rcaliandro
1 year, 10 months ago
Selected Answer: B
Yep, B is correct. /tmp doesn't provide a direct way to ecnrypt at rest also because it is intended to be a temporary folder. So, we have to use the GenerateDataKey API and encrypt the data in the function before send it to /tmp folder. Remember to configure the permission to the function for read key and encrypt files. B is the correct answer.
upvoted 1 times
...
Krt5894
2 years, 3 months ago
Selected Answer: B
It is B
upvoted 1 times
...
michaldavid
2 years, 5 months ago
Selected Answer: B
bbbbbbb
upvoted 2 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: B
https://aws.amazon.com/blogs/compute/using-larger-ephemeral-storage-for-aws-lambda/
upvoted 2 times
k1kavi1
2 years, 5 months ago
https://www.examtopics.com/discussions/amazon/view/69249-exam-aws-certified-developer-associate-topic-1-question-386/
upvoted 1 times
...
...
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.

SaveCancel
Loading ...