Lambda Provisioned Concurrency for Weekday Attendance Peaks
Short answer
A Configure provisioned concurrency with scheduled auto scaling for the Lambda functions so execution environments are pre-initialized before the weekday attendance peak.
Question
Teachers report slow application performance at the same time every weekday. A CloudOps engineer notices that the performance problems happen only when the application demand suddenly increases. The application can handle the peak load if the load increases gradually. The CloudOps engineer must modify the application to resolve the performance issue.
Which solution will meet this requirement?
Key Takeaways
The question tests whether you can separate Lambda cold-start scaling from DynamoDB on-demand capacity and choose scheduled pre-warming for a known weekday peak.
This SOA-C03 scenario tests Lambda cold-start latency during a predictable weekday attendance spike, and the correct fix is provisioned concurrency with scheduled auto scaling (A).
Common mistake: The most plausible wrong answer is D, switching DynamoDB to fixed peak provisioned capacity, but that assumes the table is throttling and ignores the Lambda cold-start behavior that scheduled provisioned concurrency solves.
Expert Analysis
The bottleneck is compute initialization, not table capacity. The recurring weekday pattern and the statement that gradual growth is tolerable point to Lambda cold starts: when many concurrent invocations arrive at once, Lambda must create new execution environments, and those requests pay initialization latency. Provisioned concurrency keeps a pool of initialized environments ready, and scheduled auto scaling raises that pool before the known attendance peak. That is exactly option A.
Why DynamoDB is the wrong focus. The table is in on-demand capacity mode, which is designed for spiky, unpredictable traffic and does not require capacity planning. A competing comment argues that on-demand can only instantly absorb up to twice the previous peak and proposes option D, fixed provisioned capacity at peak. That argument would matter only if the scenario showed DynamoDB throttling or a spike beyond the documented allowance; here the symptom is slow performance during a predictable daily surge, and switching to provisioned capacity does not warm Lambda execution environments. Option C adds DynamoDB auto scaling, but reactive scaling is not pre-warming and can still lag a sudden burst.
Eliminate the concurrency trap. Option B sounds similar because reserved concurrency also concerns Lambda concurrency, but reserved concurrency sets a maximum or guaranteed concurrency limit; it does not pre-initialize environments and does not reduce cold-start latency. Option A is the only choice that combines pre-initialized execution capacity with a schedule aligned to the weekday peak.
Decision. Choose A: configure provisioned concurrency with scheduled auto scaling for the Lambda functions. The scheduled action should increase provisioned concurrency shortly before the weekday spike and reduce it afterward.
Official Reference
- https://docs.aws.amazon.com/lambda/latest/dg/provisioned-concurrency.html
- https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-considerations.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When a scenario names a recurring time window, ask which service has a scheduled pre-warm control. Lambda provisioned concurrency is the only option here that both pre-initializes execution environments and can be raised by Application Auto Scaling before the known peak. Treat DynamoDB on-demand mode as the default for spiky traffic unless the question explicitly shows throttling beyond the double-previous-peak allowance. Eliminate reserved concurrency because it caps concurrency but does not warm environments.
Frequently Asked Questions
Why isn't DynamoDB on-demand capacity the problem in this scenario?
Does reserved concurrency reduce Lambda cold-start latency?
How does scheduled auto scaling help before the weekday attendance peak?
Community Votes
50% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 2 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 2
-
Atown 👍 1 Answered DAWS confirms that DynamoDB on-demand capacity can immediately handle up to twice the previous peak traffic. If traffic increases beyond that within 30 minutes, throttling can occur. Setting provisioned capacity to the known peak ensures the necessary throughput is already allocated before teachers start using the application A — Lambda provisioned concurrency: Addresses Lambda cold starts and scaling latency, not DynamoDB throughput limitations. B — Lambda reserved concurrency: Reserves and limits Lambda concurrency but doesn't preinitialize execution environments. C — DynamoDB provisioned capacity with auto scaling: Auto scaling takes time to react, so sudden spikes can still cause throttling.
-
Bad_Mat 👍 1 Answered AThe correct answer is A. Configure provisioned concurrency with scheduled auto scaling for the Lambda functions.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SOA-C03 Questions
Access 100 questions with complete answers and detailed explanations.
View Full SOA-C03 Practice Test →