A company is modernizing its application by migrating legacy APIs to Amazon API Gateway and AWS Lambda. The system consists of a high-volume telemetry ingestion endpoint and a critical payment processing endpoint, both running in the same AWS account and Region. During performance testing, a massive surge in telemetry traffic causes the payment processing Lambda function to be throttled with HTTP 429 errors. Which configuration change will guarantee that the payment processing function has dedicated execution capacity?
- AConfigure a linear deployment strategy in AWS CodeDeploy to route traffic gradually to the payment processing Lambda function.
- BRely on the regional unreserved concurrency pool and increase the account-level concurrency limit via AWS Support.
- Configure reserved concurrency specifically for the payment processing Lambda function.Cevap
- DConfigure an AWS-managed KMS key to encrypt the environment variables and payload of the payment processing Lambda function.
Cevap
Configure reserved concurrency specifically for the payment processing Lambda function.
Configuring reserved concurrency for a Lambda function guarantees that a specific number of concurrent executions are set aside exclusively for that function. This prevents other high-volume functions (like the telemetry function) from exhausting the regional concurrency pool and throttling the critical payment processing function.
Adım Adım Çözüm
Anahtar Kavram
Lambda Reserved Concurrency prevents resource exhaustion by allocating dedicated execution capacity to critical functions.