Bird
0
0

If both functions receive 7 simultaneous requests each, how many requests for function B will be throttled?

hard📝 Best Practice Q15 of 15
AWS - Lambda
You have two Lambda functions, A and B, sharing an account concurrency limit of 10. Function A has reserved concurrency 7. If both functions receive 7 simultaneous requests each, how many requests for function B will be throttled?
A3 requests for function B will be throttled
B0 requests for function B will be throttled
C7 requests for function B will be throttled
D4 requests for function B will be throttled
Step-by-Step Solution
Solution:
  1. Step 1: Understand reserved concurrency reservation

    Function A reserves 7 concurrency, so it can run up to 7 instances without throttling.
  2. Step 2: Calculate remaining concurrency for function B

    Account limit is 10, so 10 - 7 = 3 concurrency left for function B.
  3. Step 3: Analyze requests for function B

    Function B gets 7 requests but only 3 can run concurrently; 7 - 3 = 4 requests are throttled.
  4. Final Answer:

    4 requests for function B will be throttled -> Option D
  5. Quick Check:

    Reserved concurrency reduces available concurrency [OK]
Quick Trick: Reserved concurrency reduces shared limit for others [OK]
Common Mistakes:
  • Ignoring reserved concurrency reservation
  • Assuming full account concurrency is available to all
  • Miscounting throttled requests

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes