nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #103

You are using Google Kubernetes Engine with autoscaling enabled to host a new application. You want to expose this new application to the public, using HTTPS on a public IP address. What should you…

The correct answer is A. Create a Kubernetes Service of type NodePort for your application, and a Kubernetes Ingress to. You want to access Global HTTP(s) Load Balancing with GKE services, you must use Ingress https://cloud.google.com/kubernetes-engine/docs/concepts/service

Submitted by tunde_lagos· Mar 30, 2026Deploying and implementing a cloud solution

Question

You are using Google Kubernetes Engine with autoscaling enabled to host a new application. You want to expose this new application to the public, using HTTPS on a public IP address. What should you do?

Options

  • ACreate a Kubernetes Service of type NodePort for your application, and a Kubernetes Ingress to
  • BCreate a Kubernetes Service of type ClusterIP for your application. Configure the public DNS
  • CCreate a Kubernetes Service of type NodePort to expose the application on port 443 of each
  • DCreate a HAProxy pod in the cluster to load-balance the traffic to all the pods of the application.

How the community answered

(31 responses)
  • A
    84% (26)
  • B
    10% (3)
  • C
    3% (1)
  • D
    3% (1)

Explanation

You want to access Global HTTP(s) Load Balancing with GKE services, you must use Ingress https://cloud.google.com/kubernetes-engine/docs/concepts/service

Topics

#GKE#Kubernetes Ingress#Kubernetes Service types#HTTPS

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice