Google Professional Cloud Network Engineer Question 619
Select 3Google Cloud PlatformYou are tasked with configuring a highly available routing solution for a multi-NIC virtual machine (VM) in Google Cloud. The VM must route traffic to specific subnets based on the source IP address, and the solution must provide failover capabilities. You decide to use an internal load balancer as the next hop. Which of the following steps are required to successfully configure this setup?
- A
Create a backend service with the multi-NIC VM as the only backend.
- B
Configure a forwarding rule for the internal load balancer to listen on the desired IP and port.
- C
Associate the internal load balancer with a custom static route that specifies the desired destination IP range.
- D
Enable IP forwarding on the multi-NIC VM to ensure proper routing.
- E
Create a firewall rule to allow traffic from the internal load balancer’s subnet to the multi-NIC VM.
Show answer and explanation
Correct answers: B, C, E
Explanation
To configure an internal load balancer as a next hop for a multi-NIC VM, you need to set up the load balancer to listen for traffic and route it appropriately. This involves creating a forwarding rule to direct traffic to the load balancer, associating the load balancer with static routes for the desired destination ranges, and ensuring that firewall rules allow traffic from the load balancer's subnet to reach the VM. Including the multi-NIC VM directly as a backend or enabling IP forwarding on the VM is not part of the solution for this use case.
- A. Incorrect.
This option is incorrect because the backend for the internal load balancer should not directly include the multi-NIC VM. The internal load balancer should serve as an intermediary for routing traffic.
- B. Correct.
This option is correct because a forwarding rule is required to direct traffic to the internal load balancer, specifying the IP and port where the load balancer will listen.
- C. Correct.
This option is correct because custom static routes are needed to define the internal load balancer as the next hop for the desired destination IP ranges.
- D. Incorrect.
This option is incorrect because enabling IP forwarding on the multi-NIC VM is not directly relevant to configuring the internal load balancer as the next hop. The internal load balancer handles the routing logic.
- E. Correct.
This option is correct because a firewall rule is necessary to allow traffic from the internal load balancer’s subnet to reach the multi-NIC VM.