Data Ingestion and Transformation

A Lambda transformation needs 4 GiB of temporary local scratch space during each invocation, but its default /tmp storage fills up. The files need not survive execution environment termination; which change meets the requirement without a network file system?

Show the answer

Correct answerA. Increase configured ephemeral storage to 5,120 MB.

AWhy this is right: Configurable ephemeral storage directly increases the space available in /tmp.

BWhy not this: Deployment package storage holds code artifacts, not invocation scratch files.

CWhy not this: Memory allocation changes RAM and CPU allocation, not the configured /tmp capacity.

DWhy not this: Lambda functions do not support directly attaching EBS volumes.

Lambda provides configurable ephemeral storage in /tmp, from 512 MB to 10,240 MB. Increasing it to 5,120 MB provides sufficient scratch space; increasing function memory does not increase /tmp capacity.