AWS Certified Developer – Associate — Question 152

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?

Answer options

Correct answer: B

Explanation

Option B is correct because it involves configuring the Lambda function to use an AWS KMS key for encryption, ensuring secure handling of sensitive data before it is written to /tmp. Option A is incorrect as EBS volume encryption does not apply to the ephemeral /tmp storage used by Lambda functions. Option C lacks a secure key management process, making it less secure. Option D is impractical for a serverless architecture, as it relies on an on-premises HSM, which is not suitable for a cloud-native solution.