Filters
Question type

Study Flashcards

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?


A) Create a Kubernetes Service of type NodePort for your application, and a Kubernetes Ingress to expose this Service via a Cloud Load Balancer.
B) Create a Kubernetes Service of type ClusterIP for your application. Configure the public DNS name of your application using the IP of this Service.
C) Create a Kubernetes Service of type NodePort to expose the application on port 443 of each node of the Kubernetes cluster. Configure the public DNS name of your application with the IP of every node of the cluster to achieve load-balancing.
D) Create a HAProxy pod in the cluster to load-balance the traffic to all the pods of the application. Forward the public traffic to HAProxy with an iptable rule. Configure the DNS name of your application using the public IP of the node HAProxy is running on.

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What should you do?


A) Navigate to Cloud Logging and view the application logs.
B) Connect to the instance's serial console and read the application logs.
C) Configure a Health Check on the instance and set a Low Healthy Threshold value.
D) Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

Showing 201 - 202 of 202

Related Exams

Show Answer