- Home
- All questions
- Question 410
AWS Certified Solutions Architect study material · question 410 of 500
Where does code written outside a Lambda function's main handler run?
Show the answer
Answer: C. During the Init phase, not on every invocation
Initialization code runs once when the execution environment is created, which is why reused environments skip it.
Source: Understanding Lambda function scaling (Amazon Web Services) — Understanding and visualizing concurrency