AWS Certified Developer Associate (#146)

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?

Store the files in EBS and delete the files at the end of the Lambda function.
Copy the files to EFS and delete the files at the end of the Lambda function.
Store the files in the /tmp directory and delete the files at the end of the Lambda function.
Copy the files to an S3 bucket with a lifecycle policy to delete the files.