Bird
0
0

Which statement best describes the lifecycle of an AWS Lambda execution environment?

easy📝 Conceptual Q2 of 15
AWS - Lambda
Which statement best describes the lifecycle of an AWS Lambda execution environment?
AIt is created once and never destroyed
BIt is created on first invocation and reused for subsequent invocations
CIt is created and destroyed for every single invocation
DIt runs continuously regardless of function invocations
Step-by-Step Solution
Solution:
  1. Step 1: Recall Lambda environment reuse behavior

    Lambda creates an execution environment on the first invocation and may reuse it for later invocations to improve performance.
  2. Step 2: Eliminate incorrect options

    The environment is not permanent, nor destroyed after every invocation, and it does not run continuously without invocations.
  3. Final Answer:

    It is created on first invocation and reused for subsequent invocations -> Option B
  4. Quick Check:

    Lambda environment lifecycle = Created once, reused [OK]
Quick Trick: Lambda reuses environments to reduce startup time [OK]
Common Mistakes:
MISTAKES
  • Assuming environment is destroyed after every call
  • Believing environment runs continuously
  • Thinking environment is permanent

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes