Hard1 markMultiple Choice
AWS SAP-C02 · Question 55 · Domain 3.3: Performance Improvement
A serverless application uses API Gateway and AWS Lambda. Users complain about slow response times when the application hasn't been used for a while. The architect identifies Lambda 'cold starts' as the issue. Which TWO actions will mitigate this performance issue? (Select TWO)
A serverless application uses API Gateway and AWS Lambda. Users complain about slow response times when the application hasn't been used for a while. The architect identifies Lambda 'cold starts' as the issue. Which TWO actions will mitigate this performance issue? (Select TWO)
Answer options:
A.
Configure Provisioned Concurrency on the Lambda functions.
B.
Increase the memory allocated to the Lambda functions.
C.
Rewrite the Lambda functions in a compiled language like Go or Rust.
D.
Use an Application Load Balancer instead of API Gateway.
E.
Enable API Gateway caching.
F.
Deploy the Lambda functions in a VPC.
How to approach this question
Identify the feature that keeps Lambda warm and the architectural choice that speeds up initialization.
Full Answer
A, C
Provisioned Concurrency keeps Lambda functions initialized and ready to respond in double-digit milliseconds. Rewriting functions in lightweight compiled languages (Go, Rust) significantly reduces the initialization time compared to Java or .NET.
Common mistakes
Thinking increasing memory solves the cold start (it helps execution speed, but initialization still happens).
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6
75 questions · hints · full answers · grading
More questions from this exam
Q01A global enterprise requires highly available hybrid connectivity between its on-premises data ce...HardQ02An organization has 50 VPCs across two AWS Regions connected via Transit Gateways (TGW). The TGWs...HardQ03A company uses AWS Organizations. The network team wants to share a central Transit Gateway (TGW)...MediumQ04An enterprise has on-premises data centers in the US and Europe. They want to use the AWS global ...HardQ05A company requires that all API calls to Amazon S3 from their VPC must not traverse the public in...Medium
Expert