Google Cloud Platform Interview Questions
27 questions
GCP interview questions covering IAM (Workload Identity, service account security, org policy versus IAM), Cloud Functions (cold starts, Pub/Sub delivery semantics, Gen 1 versus Gen 2 concurrency), and Cloud Storage (access control, signed URLs, lifecycle management, exposure alerting) — scenario-driven, matching the same depth as this site's AWS coverage rather than treating GCP as an afterthought.
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 FunctionsPub/Sub7 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