Bird
0
0

Why might a Lambda function experience a cold start delay?

medium📝 Debug Q7 of 15
AWS - Lambda
Why might a Lambda function experience a cold start delay?
ABecause the function code is always loaded from S3 on every call
BBecause the execution environment is created fresh for the first invocation
CBecause Lambda runs on dedicated hardware per function
DBecause the function is waiting for manual approval
Step-by-Step Solution
Solution:
  1. Step 1: Understand cold start concept

    Cold start happens when Lambda creates a new execution environment for the first time, causing delay.
  2. Step 2: Rule out incorrect reasons

    Code is cached after first load, Lambda uses shared hardware, and no manual approval is needed.
  3. Final Answer:

    Because the execution environment is created fresh for the first invocation -> Option B
  4. Quick Check:

    Cold start = fresh environment creation delay [OK]
Quick Trick: Cold start = first-time environment setup delay [OK]
Common Mistakes:
MISTAKES
  • Thinking code loads from S3 every time
  • Assuming dedicated hardware per function
  • Believing manual approval causes delay

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes