1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. What is a cold start in a serverless function platform?

Added 30 Nov -0001

What is a cold start in a serverless function platform?

  1. The first invocation after any code deployment, which is always noticeably slower by design and by contract
  2. The restart of the function after it exceeds its memory limit, which clears the warm container pool
  3. A scheduled invocation triggered by a timer event, which wakes a function that has never run
  4. The added latency when a new execution environment must be created and initialised before the handler runs Correct answer

Correct answer

D. The added latency when a new execution environment must be created and initialised before the handler runs

12 views

MCQSEXAM

Explanation

Cold start covers provisioning a sandbox, loading the runtime and running initialisation code, which can add hundreds of milliseconds or more for heavy runtimes. Warm invocations reuse the existing environment and skip that path. Provisioned concurrency or smaller deployment packages reduce it, and code placed outside the handler is reused across warm calls.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cloud Computing MCQs

Practise all Cloud Computing MCQs

Similar MCQs