
Answer-first summary for fast verification
Answer: Configure Application Auto Scaling to manage Lambda provisioned concurrency on a schedule
Configure Application Auto Scaling to manage Lambda provisioned concurrency on a schedule Concurrency is the number of requests that a Lambda function is serving at any given time. If a Lambda function is invoked again while a request is still being processed, another instance is allocated, which increases the function's concurrency. Due to a spike in traffic, when Lambda functions scale, this causes the portion of requests that are served by new instances to have higher latency than the rest. To enable your function to scale without fluctuations in latency, use provisioned concurrency. By allocating provisioned concurrency before an increase in invocations, you can ensure that all requests are served by initialized instances with very low latency. You can configure Application Auto Scaling to manage provisioned concurrency on a schedule or based on utilization. Use scheduled scaling to increase provisioned concurrency in anticipation of peak traffic. To increase provisioned concurrency automatically as needed, use the Application Auto Scaling API to register a target and create a scaling policy.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
The development team at a retail company is preparing for the Thanksgiving sale and aims to ensure that the serverless backend of their application, which operates using AWS Lambda functions, avoids potential latency issues during the anticipated traffic surge.
As an AWS Certified Developer Associate, which of the following strategies would you suggest to mitigate latency bottlenecks in this scenario?
A
Add an Application Load Balancer in front of the Lambda functions
B
No need to make any special provisions as Lambda is automatically scalable because of its serverless nature
C
Configure Application Auto Scaling to manage Lambda reserved concurrency on a schedule
D
Configure Application Auto Scaling to manage Lambda provisioned concurrency on a schedule
No comments yet.