PROFESSIONAL-CLOUD-DEVELOPER · Question #226
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 follow
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #226. The question stem and answer options stay visible for context.
Question
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?
Options
- AYour user account does not have privileges to interact with the cluster using kubectl.
- BYour Cloud Shell external IP address is not part of the authorized networks of the cluster.
- CThe Cloud Shell is not part of the same VPC as the GKE cluster.
- DA VPC firewall is blocking access to the cluster's endpoint.
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.