A media-processing Lambda must unpack a ZIP of permit drawings into a few hundred MB of scratch space before uploading results to S3. Where should that ephemeral workspace live?
Select an answer to reveal the explanation.
Short Explanation
/tmp is Lambda’s workbench—big enough (with memory sizing) to unpack drawings, then throw the scraps away after you ship finals to S3. Stuffing scratch into the deployment package or Cognito attributes is the wrong shelf.
Full Explanation
Lambda provides ephemeral storage under /tmp for scratch work during an invocation; available space scales with configured memory on current runtimes. Durable results belong in services such as Amazon S3. Deployment packages, IAM policies, and Cognito attributes are not scratch filesystems.