Your company has a project in Google Cloud with three Virtual Private Clouds (VPCs). There is a Compute Engine instance on each VPC. Network subnets do not overlap and must remain separated. The network configuration is shown below. Instance #1 is an exception and must communicate directly with both Instance #2 and Instance #3 via internal IPs. How should you accomplish this?
Choose an answer
Tap an option to check your answer.
Correct answer: Add two additional NICs to Instance #1 with the following configuration: ■€¢ NIC1 ■—‹ VPC: VPC #2 ■—‹ SUBNETWORK: subnet #2 ■€¢ NIC2 ■—‹ VPC: VPC #3 ■—‹ SUBNETWORK: subnet #3 Update firewall rules to enable traffic between instances..
Why this is the answer
The correct solution is to add two additional network interfaces (NICs) to Instance 1. Each NIC should be configured to connect to a different VPC (VPC 2 and VPC 3) and its respective subnet. This allows Instance 1 to have direct internal IP connectivity to instances in VPC 2 and VPC 3, as if it were natively part of those networks. Firewall rules must be updated to permit the necessary traffic. Creating a Cloud Router is for advertising routes between networks, not for directly connecting an instance to multiple distinct VPCs. VPN tunnels are for connecting disparate networks, often across geographical locations or to on-premises environments, and would introduce unnecessary overhead and complexity for direct internal communication within Google Cloud. VPC peering connects entire VPCs, but the problem specifies that only Instance 1 needs to communicate with the other instances, and peering all three VPCs would allow all instances to communicate, which is not the requirement.
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