Design Resilient Architectures

A latency-sensitive API uses a Lambda function with slow initialization, and traffic rises sharply at a predictable time each morning. Which change BEST prevents initialization delays during that rise without changing the function code?

Show the answer

Correct answerD. Schedule provisioned concurrency before the rise

AWhy not this: Reserved concurrency guarantees and caps concurrency capacity but does not preinitialize execution environments.

BWhy not this: More ephemeral storage provides additional temporary disk space, not preinitialized execution environments.

CWhy not this: A longer timeout allows longer executions; it does not prevent initialization delays.

DWhy this is right: Scheduling sufficient provisioned concurrency prepares execution environments before the predictable traffic increase.

Provisioned concurrency initializes execution environments before requests arrive, reducing startup latency when sized for demand. Reserved concurrency reserves concurrency capacity but does not preinitialize execution environments.