Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS is retiring this exam on Nov 30, 2026.
Replacement: DVA-C03 Practice Exam
Question 43 of 167
Free Preview · 167 of 554 · questions 1–167 of 554 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A) Correct - AWS Lambda provides a /tmp directory with storage between 51B to 10,240 MB. https://docs.aws.amazon.com/lambda/latest/dg/configuration-ephemeral-storage.html. The files in this directory are ephemeral and will be deleted after the function execution ends. B) Eliminated - Temporary files are not required to persist beyond the invocation, and using EFS would increase complexity and cost. C) Eliminated - Lambda does not directly support EBS volumes D) Eliminated- While S3 can store temporary data, it is not optimized for high-speed read/write operations during a Lambda invocation. Additionally, the use case specifies that the files do not need to be saved or retrieved later, making S3 an unnecessary overhead.
A is the correct answer.
The correct answer is A The /tmp directory is the recommended location for storing temporary files within an AWS Lambda function. The /tmp directory provides a writable space with a local storage capacity of 512 MB. It is specifically designed for temporary storage within the Lambda execution environment.