Google Professional Cloud Network Engineer Question 434
Select 2Google Cloud PlatformYou are tasked with setting up a Google Cloud environment where traffic from external clients must be forwarded to a specific backend server using a custom protocol not supported by Google Cloud Load Balancers. Which of the following steps must you take to configure protocol forwarding in this scenario?
- A
Create a forwarding rule with the target set to a Google Compute Engine instance.
- B
Create a target instance to specify the backend Compute Engine instance.
- C
Configure a health check for the target instance to monitor its availability.
- D
Ensure the backend instance has a properly configured firewall rule to allow traffic on the required protocol and port.
- E
Set up a Google Cloud HTTP(S) Load Balancer to handle the traffic.
Show answer and explanation
Correct answers: B, D
Explanation
Protocol forwarding allows you to forward traffic directly to a backend instance using protocols not supported by Google Cloud Load Balancers. To configure protocol forwarding, you must create a target instance that specifies the backend instance, and you must ensure that the backend instance's firewall rules allow traffic on the required protocol and port. Health checks and HTTP(S) Load Balancers are not applicable in this scenario.
- A. Incorrect.
This option is incorrect because a forwarding rule must point to a target instance, not directly to a Compute Engine instance.
- B. Correct.
This option is correct because protocol forwarding requires the creation of a target instance to route traffic to the specified backend instance.
- C. Incorrect.
This option is incorrect because health checks are not required for protocol forwarding; they are typically used with load balancers.
- D. Correct.
This option is correct because the backend instance must have a firewall rule allowing traffic on the protocol and port being forwarded.
- E. Incorrect.
This option is incorrect because protocol forwarding is used for custom protocols not supported by HTTP(S) Load Balancers.