SAP-C02 Continuous Improvement for Existing Solutions Practice Question
A company has a serverless application using AWS Lambda and Amazon API Gateway. The application experiences cold starts that cause latency spikes. Which solution would reduce the impact of cold starts?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Configure Provisioned Concurrency for the Lambda function.
Provisioned Concurrency keeps a specified number of execution environments initialized and ready to respond immediately, eliminating cold starts for the configured concurrency level. Option B (increasing memory) can reduce cold start duration but does not eliminate it. Option C (decreasing timeout) does not affect cold starts. Option D (enabling VPC access) typically adds network latency and may worsen cold starts due to ENI creation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure Provisioned Concurrency for the Lambda function.
Why this is correct
Ensures a set number of environments are initialized and ready.
- ✗
Increase the Lambda function memory allocation.
Why it's wrong here
Larger memory can reduce cold start time but not eliminate it entirely.
- ✗
Decrease the Lambda function timeout.
Why it's wrong here
Timeout does not affect cold starts.
- ✗
Use a VPC and enable Lambda to access resources in the VPC.
Why it's wrong here
VPC can increase cold starts due to ENI creation.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.