A Developer is creating a Lambda function that will generate and export a file. The function requires 100 MB of temporary storage for temporary files while executing. These files will not be needed after the function is complete. How can the Developer MOST efficiently handle the temporary files?
A) Store the files in EBS and delete the files at the end of the Lambda function.
B) Copy the files to EFS and delete the files at the end of the Lambda function.
C) Store the files in the /tmp directory and delete the files at the end of the Lambda function.
D) Copy the files to an S3 bucket with a lifecycle policy to delete the files.
Correct Answer:
Verified
Q54: An application running on Amazon EC2 instances
Q55: An application is expected to process many
Q56: A stock market monitoring application uses Amazon
Q57: A Developer wants to encrypt new objects
Q58: A Developer is writing a serverless application
Q60: An application uses Amazon Kinesis Data Streams
Q61: A Development team currently supports an application
Q62: A Developer has created a Lambda function
Q63: A company has an application that logs
Q64: A company is using Amazon RDS MySQL
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents