AWS Certified Solutions Architect – Associate (SAA-C03) — Question 575
A company hosts an internal serverless application on AWS by using Amazon API Gateway and AWS Lambda. The company’s employees report issues with high latency when they begin using the application each day. The company wants to reduce latency.
Which solution will meet these requirements?
Answer options
- A. Increase the API Gateway throttling limit.
- B. Set up a scheduled scaling to increase Lambda provisioned concurrency before employees begin to use the application each day.
- C. Create an Amazon CloudWatch alarm to initiate a Lambda function as a target for the alarm at the beginning of each day.
- D. Increase the Lambda function memory.
Correct answer: B
Explanation
The high latency at the start of the day is caused by Lambda cold starts when the application is first accessed after a period of inactivity. Configuring scheduled scaling to increase provisioned concurrency before the workday starts ensures pre-warmed execution environments are available to handle the initial burst of traffic. Other options like increasing memory, raising throttling limits, or triggering a single function execution do not resolve cold start latency for multiple concurrent users.