What are Cloud Functions?
Answer: Cloud Functions is GCP's functions-as-a-service offering: you deploy a single function in a supported runtime — Node.js, Python, Go, Java, .NET, Ruby, PHP — and Google runs it in response to an HTTP request or an event, scaling automatically and billing only for execution time. There is no server or container to define.
Why interviewers ask this: The framing to lead with is "smallest unit of deployable compute": one function, one responsibility, triggered by one kind of event. It suits glue code and event handlers, and becomes awkward as soon as you want several related endpoints, which is where Cloud Run fits better.
