mediummultiple choiceObjective-mapped

An API team runs an AWS Lambda function behind an Application Load Balancer (ALB). During predictable hourly traffic spikes, p95 response latency increases due to occasional cold starts. The team wants stable latency during those spikes without permanently overprovisioning resources for all functions. Which configuration is the most appropriate way to reduce cold starts for this Lambda function?

Question 1mediummultiple choice
Full question →

An API team runs an AWS Lambda function behind an Application Load Balancer (ALB). During predictable hourly traffic spikes, p95 response latency increases due to occasional cold starts. The team wants stable latency during those spikes without permanently overprovisioning resources for all functions. Which configuration is the most appropriate way to reduce cold starts for this Lambda function?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Publish a version of the function and configure provisioned concurrency on an alias, using autoscaling for the alias.

Provisioned concurrency pre-initializes execution environments for a specific published function version. By attaching provisioned concurrency to an alias, you can control warm capacity and (with the right settings) autoscale the provisioned capacity for predictable spike patterns, reducing cold-start-driven latency increases.

B

Distractor review

Increase the function memory size and rely on faster initialization to reduce cold starts.

More memory can improve CPU performance and may reduce initialization time in some cases, but it does not guarantee that execution environments are already warm when traffic spikes. Cold starts can still occur.

C

Distractor review

Set reserved concurrency equal to the expected peak requests per second for the function.

Reserved concurrency primarily limits or guarantees concurrency. It helps control throttling and allocation, but it does not pre-warm environments. Therefore it does not directly prevent cold-start latency spikes.

D

Distractor review

Use an event source mapping with a higher batch size so Lambda triggers earlier and keeps the runtime warm.

Event source mappings apply to event sources such as SQS, Kinesis, or DynamoDB streams. For an ALB-triggered Lambda (synchronous request/response), batch size is not a mechanism to guarantee warm environments or to mitigate cold starts.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Publish a version of the function and configure provisioned concurrency on an alias, using autoscaling for the alias. — Use provisioned concurrency on a published version attached to an alias. Provisioned concurrency keeps a specified number of execution environments initialized and ready to handle ALB-invoked requests, which directly reduces cold-start latency. Using the alias model allows the team to manage and autoscale warm capacity for those predictable hourly spikes rather than relying on default on-demand initialization behavior. Why others are wrong: Increasing memory or adjusting reserved concurrency can change performance and limits, but they do not ensure pre-initialized execution environments are available during bursts. Event source mapping configuration is not applicable for ALB-triggered synchronous invocation in a way that would reliably prevent cold starts.

What should I do if I get this SAA-C03 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.