Your Lambda function processes files for your customers and as part of that process, it creates a lot of intermediary files it needs to store on its disk and then discard. What is the best way to store temporary files for your Lambda functions that will be discarded when the function stops running?
Correct answer - "Use the local directory /tmp" : This is 512MB of temporary space you can use for your Lambda functions.
Incorrect answers - "tmp/" - wrong / "/opt" - not accessible "S3 bucket" - won't be temporary after the Lambda function is deleted
For more information visit