DVA-C02 · Question #19
A developer is designing an AWS Lambda function that creates temporary files that are less than 10 MB during invocation. The temporary files will be accessed and modified multiple times during invocat
The correct answer is A. the /tmp directory. A Lambda function has access to local storage in the /tmp directory. Each execution environment provides between 512 MB and 10,240 MB, in 1-MB increments, of disk space in the /tmp https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
Question
A developer is designing an AWS Lambda function that creates temporary files that are less than 10 MB during invocation. The temporary files will be accessed and modified multiple times during invocation. The developer has no need to save or retrieve these files in the future. Where should the temporary files be stored?
Options
- Athe /tmp directory
- BAmazon Elastic File System (Amazon EFS)
- CAmazon Elastic Block Store (Amazon EBS)
- DAmazon S3
How the community answered
(18 responses)- A89% (16)
- B6% (1)
- D6% (1)
Explanation
A Lambda function has access to local storage in the /tmp directory. Each execution environment provides between 512 MB and 10,240 MB, in 1-MB increments, of disk space in the /tmp https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
Community Discussion
No community discussion yet for this question.