Hard1 markMultiple Choice
Domain 3.3: Performance ImprovementPerformanceLambdaServerless

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)

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