You support the backend of a mobile phone game that runs on a Google Kubernetes Engine (GKE) cluster. The application serves HTTP requests from users. You need to implement a solution that will reduce the network cost. What should you do?
A. Configure the VPC as a Shared VPC Host project.
B. Configure your network services on the Standard Tier.
C. Configure your Kubernetes cluster as a Private Cluster.
D. Configure a Google Cloud HTTP Load Balancer as Ingress.
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
D
Explanation
A. Configure the VPC as a Shared VPC Host project.
(No, Doest make sense.)
B. Configure your network services on the Standard Tier.
(In question it is not mentioned that premium tier is used, so we can’t assume that premium tier is used (even though it is default network tier) and go with B.)
C. Configure your Kubernetes cluster as a Private Cluster.
(This does not help with the network cost.)
D. Configure a Google Cloud HTTP Load Balancer as Ingress.
(Costs associated with a load balancer are charged to the project containing the load balancer components.
Because of these benefits, container-native load balancing is the recommended solution for load balancing through Ingress. When NEGs are used with GKE Ingress, the Ingress controller facilitates the creation of all aspects of the L7 load balancer. This includes creating the virtual IP address, forwarding rules, health checks, firewall rules, and more.)