Bird
0
0

If an AWS Lambda function is set with reserved concurrency of 5, what happens when 10 requests arrive simultaneously?

medium📝 Predict Output Q5 of 15
AWS - Architecture Best Practices
If an AWS Lambda function is set with reserved concurrency of 5, what happens when 10 requests arrive simultaneously?
AAll 10 requests run concurrently without limits
BOnly 5 requests run concurrently; others are throttled
CThe function scales automatically to handle all requests
DThe function returns an error immediately for all requests
Step-by-Step Solution
Solution:
  1. Step 1: Understand Reserved Concurrency in Lambda

    Reserved concurrency limits the number of concurrent executions to the set value.
  2. Step 2: Analyze Behavior on Excess Requests

    Requests beyond the limit are throttled, not run or error immediately.
  3. Final Answer:

    Only 5 requests run concurrently; others are throttled -> Option B
  4. Quick Check:

    Reserved concurrency limits concurrent executions [OK]
Quick Trick: Reserved concurrency caps simultaneous Lambda executions [OK]
Common Mistakes:
  • Assuming Lambda scales infinitely without limits
  • Thinking excess requests cause immediate errors
  • Believing all requests run regardless of concurrency

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes