Design High-Performing Architectures

A Lambda function needs 2 GB of temporary local scratch space. Which setting should be increased from its 512 MB default?

Show the answer

Correct answerB. Ephemeral storage

AWhy not this: Function timeout controls execution duration, not local scratch space.

BWhy this is right: Ephemeral storage determines the temporary filesystem capacity available in the /tmp directory.

CWhy not this: Reserved concurrency controls concurrent executions, not temporary storage capacity.

DWhy not this: Function memory changes RAM and proportional CPU allocation, not the capacity of the /tmp directory.

Lambda ephemeral storage controls the capacity of the /tmp directory and defaults to 512 MB. Function memory controls RAM and CPU allocation, not the size of this temporary filesystem.