LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Professional Cloud Developer

Google Professional Cloud Developer

Get started today

Ultimate access to all questions.


How can you deploy a new European version of a website on Google Kubernetes Engine while maintaining access to both the current and new sites through the same HTTP(S) load balancer's external IP address, but with different domain names?

Exam-Like



Explanation:

The correct approach is to modify the existing Ingress resource to add a host rule for the new domain. Google Kubernetes Engine (GKE) uses the Ingress resource to configure the Google Cloud HTTP(S) Load Balancer. A single Ingress can handle multiple hostnames by defining multiple host rules. By updating the existing Ingress (option B), the same load balancer and IP address will route traffic to the appropriate backend services based on the domain name. Creating a new Ingress (options A or D) would result in a separate load balancer with a different IP, which violates the requirement. Option C uses a Service of type LoadBalancer, which creates a network-tier load balancer (not HTTP/S) and does not support host-based routing.

Powered ByGPT-5