ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 51 - DVA-C02 discussion

Report
Export

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?

A.
the /tmp directory
Answers
A.
the /tmp directory
B.
Amazon Elastic File System (Amazon EFS)
Answers
B.
Amazon Elastic File System (Amazon EFS)
C.
Amazon Elastic Block Store (Amazon EBS)
Answers
C.
Amazon Elastic Block Store (Amazon EBS)
D.
Amazon S3
Answers
D.
Amazon S3
Suggested answer: A

Explanation:

AWS Lambda is a service that lets developers run code without provisioning or managing servers. Lambda provides a local file system that can be used to store temporary files during invocation. The local file system is mounted under the /tmp directory and has a limit of 512 MB. The temporary files are accessible only by the Lambda function that created them and are deleted after the function execution ends. The developer can store temporary files that are less than 10 MB in the /tmp directory and access and modify them multiple times during invocation.

Reference:

[What Is AWS Lambda? - AWS Lambda]

[AWS Lambda Execution Environment - AWS Lambda]

asked 16/09/2024
Kaung Zaw Tun
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first