Bird
0
0

A Lambda function has reserved concurrency set to 4. If 6 invocation requests arrive simultaneously, what will happen?

medium📝 Predict Output Q4 of 15
AWS - Lambda
A Lambda function has reserved concurrency set to 4. If 6 invocation requests arrive simultaneously, what will happen?
A4 requests execute concurrently; 2 requests are throttled and receive errors
BAll 6 requests execute concurrently without throttling
C2 requests queue until others finish, then execute sequentially
DOnly 1 request executes; the rest are dropped silently
Step-by-Step Solution
Solution:
  1. Step 1: Understand reserved concurrency

    Reserved concurrency limits the maximum concurrent executions for the function.
  2. Step 2: Analyze the scenario

    With reserved concurrency set to 4, only 4 requests can run simultaneously.
  3. Step 3: Outcome for excess requests

    The extra 2 requests beyond the limit are throttled and receive errors immediately.
  4. Final Answer:

    4 requests execute concurrently; 2 requests are throttled and receive errors -> Option A
  5. Quick Check:

    Reserved concurrency caps concurrent executions; excess are throttled [OK]
Quick Trick: Requests beyond reserved concurrency are throttled immediately [OK]
Common Mistakes:
MISTAKES
  • Assuming excess requests queue instead of throttling
  • Believing all requests run concurrently ignoring limits
  • Thinking throttled requests retry automatically without errors

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes