A project has a single VPC and a subnet in us-central1 with an app on a Compute Engine VM. You must deploy a new VM in europe-west1 that needs access to the app. Follow Google best practices. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: 1. Create a subnetwork in the same VPC in europe-west1. 2. Create the new instance in the new subnetwork and use the first instance's private address as the endpoint..
Why this is the answer
Google Cloud VPC networks are global, meaning subnets can span multiple regions within a single VPC. This allows VMs in different regions but the same VPC to communicate using private IP addresses without additional networking configurations like VPNs or VPC Peering. Therefore, creating a new subnetwork in europe-west1 within the existing VPC and deploying the new VM there enables direct private IP communication with the app in us-central1. Incorrect options: Creating a new VPC and using an internal load balancer or VPC peering is unnecessary complexity. A single global VPC simplifies network management and communication. Cloud VPN is used for connecting on-premises networks or different VPCs securely, not for connecting subnets within the same VPC.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed