AmazonAmazon
DVA-C02 · Question #226
DVA-C02 Question #226: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #226. The question stem and answer options stay visible for context.
Submitted by yaw92· Mar 5, 2026Development with AWS Services
Question
A developer is creating an AWS Lambda function that will generate and export a file. The function requires 100 MB of temporary storage for temporary files while running. These files will not be needed after the function is complete. How can the developer MOST efficiently handle the temporary files?
Options
- AStore the files in Amazon Elastic Block Store (Amazon EBS) and delete the files at the end of the
- BCopy the files to Amazon Elastic File System (Amazon EFS) and delete the files at the end of the
- CStore the files in the /tmp directory and delete the files at the end of the Lambda function.
- DCopy the files to an Amazon S3 bucket with a lifecycle policy to delete the files.
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.