LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


You have prepared a cluster.yaml file for creating a GKE cluster with the following content:

resources:
- name: cluster
  type: container.v1.cluster
  properties:
    zone: europe-west1-b
    cluster:
      description: “My GCP ACE cluster”
      initialNodeCount: 2

What is the correct command to use Cloud Deployment Manager to create this cluster in GKE?

Real Exam



Explanation:

The correct command is gcloud deployment-manager deployments create my-gcp-ace-cluster --config cluster.yaml. This command uses the create action, which is the correct action for creating deployments in Google Cloud. The apply action is not supported by gcloud deployment-manager deployments. Additionally, specifying the type parameter directly in the command is unnecessary and incorrect, as all configuration should be defined within the cluster.yaml file. For more information, refer to the Google Cloud SDK documentation.

Powered ByGPT-5