Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 202 of 375

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

Google Associate Cloud Engineer Question 202

Select 3Google Cloud Platform

You are managing a Google Kubernetes Engine (GKE) cluster for a web application that experiences fluctuating traffic. To optimize resource utilization and cost, you decide to create a new node pool with autoscaling enabled. Which of the following actions should you take to configure autoscaling for the new node pool in GKE?

  1. A

    A. Use the gcloud command-line tool to create a node pool with the --enable-autoscaling flag.

  2. B

    B. Set the minimum and maximum number of nodes using the --max-nodes and --min-nodes flags during node pool creation.

  3. C

    C. Enable autoscaling from the GKE console by navigating to the cluster details page and selecting 'Edit' on the desired node pool.

  4. D

    D. Configure autoscaling policies in the Kubernetes Deployment specifications.

  5. E

    E. Use the Google Cloud Console to resize the node pool manually as traffic increases.

Show answer and explanation

Correct answers: A, B, C

Explanation

To configure autoscaling for a node pool in GKE, you can use the gcloud command-line tool with the appropriate flags or enable it through the GKE console. Autoscaling requires setting minimum and maximum node limits to manage resources effectively as demand fluctuates. Configurations at the deployment level or manual resizing do not constitute autoscaling.

  • A. Correct.

    A. Correct. Using the gcloud command-line tool with the --enable-autoscaling flag is one way to enable autoscaling for a node pool in GKE.

  • B. Correct.

    B. Correct. Setting the --min-nodes and --max-nodes flags determines the range within which the autoscaler can adjust the number of nodes.

  • C. Correct.

    C. Correct. Autoscaling can also be enabled and configured through the GKE console by editing the node pool settings.

  • D. Incorrect.

    D. Incorrect. Autoscaling policies are set at the node pool level, not within individual Kubernetes Deployments.

  • E. Incorrect.

    E. Incorrect. Manually resizing the node pool does not configure autoscaling; it requires automatic scaling configurations.

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