What is a VPC in GCP and how is it different from an AWS VPC?
Answer: A GCP VPC is a global, software-defined private network. It spans every region automatically, and subnets are regional resources inside it, so instances in Mumbai and Frankfurt can sit in the same VPC and reach each other over private IPs with no peering or gateway. An AWS VPC is regional, so a multi-region deployment needs several VPCs plus peering or a transit gateway.
Why interviewers ask this: This is the single most distinctive fact about GCP networking and interviewers ask it constantly. The follow-up consequence: routes and firewall rules are VPC-wide, so a firewall rule you write once applies across every region, which is powerful and also means a mistake has global blast radius.
