Lambda Provisioned Concurrency for Weekday Attendance Peaks

SOA-C03 By islever Editorial Last updated

Implement performance optimization strategies for compute, storage, and database resources. Implement scalability and elasticity.

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

A school uses a web application to track student attendance. The application uses an Amazon API Gateway REST API and backend AWS Lambda functions. The application stores data in an Amazon DynamoDB table that is in on-demand capacity mode.
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?
  1. Configure provisioned concurrency with scheduled auto scaling for the Lambda functions. Correct Answer
  2. Configure reserved concurrency with scheduled auto scaling for the Lambda functions.
  3. Change the DynamoDB table from on-demand capacity mode to provisioned capacity mode with auto scaling.
  4. Change the DynamoDB table from on-demand capacity mode to provisioned capacity mode. Set the provisioned capacity to match peak usage.

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

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?

On-demand mode is designed for spiky traffic; the scenario gives no throttling or capacity-exceeded evidence. The daily pattern points to Lambda cold starts, which provisioned concurrency pre-warms.

Does reserved concurrency reduce Lambda cold-start latency?

No. Reserved concurrency sets aside a concurrency limit for a function but does not pre-initialize execution environments; only provisioned concurrency keeps environments warm.

How does scheduled auto scaling help before the weekday attendance peak?

Application Auto Scaling can raise Lambda provisioned concurrency on a schedule before the known surge, so requests hit initialized environments instead of triggering many cold starts.

More SOA-C03 FAQ →

Community Votes

D
50%
A
50%

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

  1. Atown 👍 1 Answered D
    AWS 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.
  2. Bad_Mat 👍 1 Answered A
    The 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.

Log in to comment, report an error, or add a note about this question.

Practice All SOA-C03 Questions

Access 100 questions with complete answers and detailed explanations.

View Full SOA-C03 Practice Test →

← Back to SOA-C03 Study Guide