nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #389

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

The correct answer is C: Ask the developers to install the gcloud CLI on their workstation and run the gcloud container. Using the gcloud CLI to run gcloud container clusters get-credentials configures secure, up-to- date access credentials for each GKE cluster according to Google-recommended practices, allowing developers to switch clusters safely and efficiently.

Configuring Development Environments for GKE

Question

You are a developer at a large corporation. You manage three GKE clusters. Your team's developers need to switch from one cluster to another regularly on the same workstation. You want to configure individual access to these multiple clusters securely while following Google- recommended practices. What should you do?

Options

  • AAsk the developers to use Cloud Shell and run the gcloud container clusters get-credentials
  • BAsk the developers to open three terminals on their workstation and use the kubectl config set
  • CAsk the developers to install the gcloud CLI on their workstation and run the gcloud container
  • DIn a text file, define the clusters, users, and contexts. Email the file to the developers and ask

Explanation

Using the gcloud CLI to run gcloud container clusters get-credentials configures secure, up-to- date access credentials for each GKE cluster according to Google-recommended practices, allowing developers to switch clusters safely and efficiently.

Topics

#GKE Access Management#gcloud CLI#kubectl#Developer Workstation Setup

Community Discussion

No community discussion yet for this question.

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