Cloud Functions Interview Questions
9 questions
Related categories:Google Cloud Platform
What's actually different between Cloud Functions Gen 1 and Gen 2, beyond just a version number?
IntermediateGcpCloud Functions6 min
A function migrated from Gen 1 to Gen 2 started returning occasionally-wrong results under load — what changed, and how do you fix it?
ExpertGcpCloud Functions8 min
A Cloud Function's p99 latency is dominated by cold starts under bursty traffic — how would you mitigate this, and what's the actual cost trade-off?
IntermediateGcpCloud Functions7 min
A Pub/Sub-triggered Cloud Function occasionally processes the same message twice — is this a bug, and how do you actually fix it?
IntermediateGcpCloud FunctionsPubsub7 min
A Cloud Function has been silently failing for days with no alert firing — what's typically missing in the observability setup, and how do you fix it?
IntermediateGcpCloud Functions6 min
A Cloud Function times out mid-execution after partially completing a multi-step operation — what state does it leave behind, and how do you design around this?
AdvancedGcpCloud Functions7 min
After adding a Serverless VPC Access connector to a Cloud Function, cold starts got noticeably slower — why, and is this avoidable?
AdvancedGcpCloud Functions6 min
How would you decide between Cloud Functions, Cloud Run, and GKE for a new workload, beyond just 'serverless is simpler'?
IntermediateGcpCloud FunctionsCloud Run7 min
A Cloud Function works perfectly with the Functions Framework locally but fails immediately in production — how do you systematically narrow down why?
IntermediateGcpCloud Functions7 min