Examtopics

Associate Cloud Engineer
  • Topic 1 Question 241

    You used the gcloud container clusters command to create two Google Cloud Kubernetes (GKE) clusters: prod-cluster and dev-cluster.

    • prod-cluster is a standard cluster. • dev-cluster is an auto-pilot cluster.

    When you run the kubectl get nodes command, you only see the nodes from prod-cluster. Which commands should you run to check the node status for dev-cluster?

    • gcloud container clusters get-credentials dev-cluster kubectl get nodes

    • gcloud container clusters update -generate-password dev-cluster kubectl get nodes

    • kubectl config set-context dev-cluster kubectl cluster-info

    • kubectl config set-credentials dev-cluster kubectl cluster-info


    シャッフルモード