Bird
0
0

You need to design an API Gateway + Lambda system that handles high traffic with minimal latency. Which architectural choice improves performance most effectively?

hard📝 Application Q9 of 15
AWS - Serverless Architecture
You need to design an API Gateway + Lambda system that handles high traffic with minimal latency. Which architectural choice improves performance most effectively?
ADisable caching in API Gateway and use Lambda on-demand scaling
BUse edge-optimized API Gateway endpoints without Lambda provisioned concurrency
CEnable Lambda provisioned concurrency and use regional API Gateway endpoints
DUse synchronous Lambda invocation with global API Gateway caching disabled
Step-by-Step Solution
Solution:
  1. Step 1: Understand cold start impact on Lambda latency

    Cold starts cause delays; provisioned concurrency keeps Lambdas warm to reduce latency.
  2. Step 2: Choose API Gateway endpoint type for regional performance

    Regional endpoints reduce latency for specific regions compared to edge-optimized.
  3. Final Answer:

    Enable Lambda provisioned concurrency and use regional API Gateway endpoints -> Option C
  4. Quick Check:

    Provisioned concurrency + regional endpoints = best latency [OK]
Quick Trick: Provisioned concurrency reduces cold start latency [OK]
Common Mistakes:
  • Relying only on edge-optimized endpoints
  • Disabling caching unnecessarily
  • Ignoring cold start delays

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes