Design High-Performing Architectures

A latency-sensitive Lambda function has lengthy initialization, and a downstream system permits at most 100 concurrent executions of that function. Other functions share the account; which configuration supports an immediate burst of 100 executions without initialization delays while enforcing the downstream limit?

Show the answer

Correct answerD. Set reserved concurrency to 100 and provisioned concurrency to 100.

AWhy not this: The initialized capacity meets the burst requirement, but the function could exceed 100 concurrent executions.

BWhy not this: Reserved concurrency enforces the limit but does not prepare initialized execution environments.

CWhy not this: The concurrency cap is appropriate, but half of the immediate burst could require new environment initialization.

DWhy this is right: Provisioned concurrency prepares 100 environments, and reserved concurrency prevents execution beyond that limit.

Provisioned concurrency supplies initialized execution environments, while reserved concurrency caps the function's concurrent executions. Reserved concurrency alone does not preinitialize environments, and a higher reserved limit would allow the downstream limit to be exceeded.