ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 215 - Professional Cloud Developer discussion

Report
Export

You are trying to connect to your Google Kubernetes Engine (GKE) cluster using kubectl from Cloud Shell. You have deployed your GKE cluster with a public endpoint. From Cloud Shell, you run the following command:

You notice that the kubectl commands time out without returning an error message. What is the most likely cause of this issue?

A.
Your user account does not have privileges to interact with the cluster using kubectl.
Answers
A.
Your user account does not have privileges to interact with the cluster using kubectl.
B.
Your Cloud Shell external IP address is not part of the authorized networks of the cluster.
Answers
B.
Your Cloud Shell external IP address is not part of the authorized networks of the cluster.
C.
The Cloud Shell is not part of the same VPC as the GKE cluster.
Answers
C.
The Cloud Shell is not part of the same VPC as the GKE cluster.
D.
A VPC firewall is blocking access to the cluster's endpoint.
Answers
D.
A VPC firewall is blocking access to the cluster's endpoint.
Suggested answer: B

Explanation:

https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#cloud_shell

If you want to use Cloud Shell to access the cluster, you must add the public IP address of your Cloud Shell to the cluster's list of authorized networks.

asked 18/09/2024
Sneh Fields
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first