Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 119 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 119

Select 2Google Cloud Platform

You are tasked with deploying a Google Kubernetes Engine (GKE) cluster for a new application that requires high availability across multiple zones and a specific machine type for the nodes. How can you configure the GKE cluster to meet these requirements?

  1. A

    A. Use the gcloud command-line tool with the '--enable-autoscaling' flag to create the cluster.

  2. B

    B. Specify the '--num-nodes' option to set the number of nodes per zone.

  3. C

    C. Use the '--node-locations' flag to specify multiple zones for the nodes.

  4. D

    D. Set the '--machine-type' flag to choose the specific machine type for the nodes.

  5. E

    E. Enable 'private clusters' to ensure high availability.

Show answer and explanation

Correct answers: C, D

Explanation

To deploy a GKE cluster with high availability across multiple zones, the '--node-locations' flag should be used to specify the zones. Additionally, the '--machine-type' flag allows you to define the specific machine type for the cluster nodes. These configurations collectively ensure that the cluster is deployed according to the specified requirements.

  • A. Incorrect.

    A. The '--enable-autoscaling' flag is used to automatically adjust the number of nodes in a node pool, but it does not configure high availability across multiple zones or specify machine types.

  • B. Incorrect.

    B. The '--num-nodes' option sets the number of nodes per zone but does not ensure high availability across multiple zones.

  • C. Correct.

    C. The '--node-locations' flag allows you to specify multiple zones, which is necessary for high availability.

  • D. Correct.

    D. The '--machine-type' flag is used to specify the machine type for the nodes, which meets the requirement of choosing a specific machine type.

  • E. Incorrect.

    E. Enabling 'private clusters' restricts access to nodes but does not directly ensure high availability across multiple zones.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam