DevOps · Flashcard

Which three phases make up the AWS Lambda execution environment lifecycle?

  • AInit, Invoke and Shutdown — each begins with an event sent to the runtime and every extension
  • BProvision, Execute and Terminate — each begins with a control message sent by the scheduler
  • CDownload, Warm and Freeze — each begins with a state change reported by the billing system
  • DRegister, Handle and Drain — each begins with a handshake performed over the Runtime API

Why this is the answer

Lambda documents exactly three phases: Init, Invoke and Shutdown. Each phase starts with an event Lambda sends to the runtime and to all registered extensions, which signal completion with a Next API request. Provision/Execute/Terminate is generic VM vocabulary, not Lambda's model; Download and Freeze are steps or states inside the lifecycle, not phases of it; Register/Handle/Drain is invented — extensions do register, but that happens inside Init.

Official docs
Study in Gnoseed →