Google Professional Cloud Network Engineer Question 432
Select 3Google Cloud PlatformYou are designing a Google Cloud solution for a web application that uses an external load balancer to route traffic to backend instances based on protocol. The application uses a non-standard protocol that is not supported by the Google Cloud HTTP(S) Load Balancer. Which of the following steps should you take to configure protocol forwarding to support this workload?
- A
Create a forwarding rule that specifies the target backend instance group and the IP protocol.
- B
Set up a target pool to associate instances with the forwarding rule.
- C
Use a target instance as the backend to handle the traffic based on the protocol.
- D
Configure a Google Cloud HTTP(S) Load Balancer to handle the traffic and forward it to the backend.
- E
Reserve a static external IP address for the forwarding rule.
Show answer and explanation
Correct answers: A, C, E
Explanation
Protocol forwarding is used in scenarios where you need to forward traffic of a specific protocol (including non-standard protocols) directly to a backend target instance. To configure this, you need to create a forwarding rule that specifies the protocol and target instance, and reserve a static external IP address for consistent client access. HTTP(S) Load Balancers are not suitable for such use cases because they only support standard HTTP and HTTPS protocols.
- A. Correct.
Correct: Creating a forwarding rule is necessary to specify how traffic is forwarded to the backend based on the protocol and IP address.
- B. Incorrect.
Incorrect: Target pools are used for legacy network load balancers, not for protocol forwarding. Protocol forwarding uses target instances instead.
- C. Correct.
Correct: A target instance is required to handle traffic based on protocols in a protocol forwarding setup. This allows the backend instance to process non-standard protocols.
- D. Incorrect.
Incorrect: The Google Cloud HTTP(S) Load Balancer is designed to handle HTTP and HTTPS traffic. It cannot handle non-standard protocols, so it is not appropriate for this scenario.
- E. Correct.
Correct: Reserving a static external IP address ensures that the forwarding rule uses a predictable IP address for external clients.