Bird
0
0

Given a Lambda function with a reserved concurrency of 3, what happens if 5 requests arrive simultaneously?

medium📝 service behavior Q13 of 15
AWS - Lambda
Given a Lambda function with a reserved concurrency of 3, what happens if 5 requests arrive simultaneously?
A3 requests run immediately; 2 are throttled and may be retried
BAll 5 requests run simultaneously without delay
COnly 1 request runs; others are queued
DAll 5 requests are rejected immediately
Step-by-Step Solution
Solution:
  1. Step 1: Understand reserved concurrency effect

    Reserved concurrency limits how many instances run at once; here it is 3.
  2. Step 2: Analyze request handling

    When 5 requests come, 3 run immediately; the other 2 exceed limit and get throttled (rejected or retried).
  3. Final Answer:

    3 requests run immediately; 2 are throttled and may be retried -> Option A
  4. Quick Check:

    Requests > concurrency = throttling [OK]
Quick Trick: Requests over concurrency limit get throttled [OK]
Common Mistakes:
  • Assuming all requests run simultaneously
  • Thinking requests queue automatically
  • Believing throttled requests are dropped without retry

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes