AWS Certified Developer – Associate (DVA-C02) — Question 108

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

The correct answer is B because it allows the developer to securely manage encryption keys using AWS KMS, which is designed for this purpose. Option A is incorrect as EBS volume encryption does not apply to Lambda's /tmp storage. Option C lacks a secure key management approach, as generating a key at startup does not provide the same level of security. Option D introduces unnecessary complexity by relying on on-premises HSMs, which is not needed in a serverless architecture.