nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #160

PROFESSIONAL-CLOUD-DEVELOPER Question #160: Real Exam Question with Answer & Explanation

The correct answer is B: Modify the existing Ingress resource with a host rule matching the new domain. https://kubernetes.io/docs/concepts/services-networking/ingress/#name-based-virtual-hosting Name-based virtual hosts support routing HTTP traffic to multiple host names at the same IP

Exposing applications on Google Kubernetes Engine

Question

You need to deploy a new European version of a website hosted on Google Kubernetes Engine. The current and new websites must be accessed via the same HTTP(S) load balancer's external IP address, but have different domain names. What should you do?

Options

  • ADefine a new Ingress resource with a host rule matching the new domain
  • BModify the existing Ingress resource with a host rule matching the new domain
  • CCreate a new Service of type LoadBalancer specifying the existing IP address as the
  • DGenerate a new Ingress resource and specify the existing IP address as the

Explanation

https://kubernetes.io/docs/concepts/services-networking/ingress/#name-based-virtual-hosting Name-based virtual hosts support routing HTTP traffic to multiple host names at the same IP

Topics

#Kubernetes Ingress#Host-based routing#GKE Load Balancer#Application deployment

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions