2V0-71.23 exam dumps

2V0-71.23 practice question 205 of 355

VMware Certified Professional - Tanzu for Kubernetes Operations 2024. Associate level, VMware. Free question with the correct answer and a full explanation.

2V0-71.23 Question 205

Select 3

A Kubernetes cluster deployed using VMware Tanzu Kubernetes Grid (TKG) is experiencing high resource utilization, and you need to scale it up to handle the increased workload. What are the correct steps to scale the cluster up in this scenario?

  1. A

    Edit the cluster configuration file to increase the number of worker nodes and apply it using the 'tanzu cluster update' command.

  2. B

    Directly modify the Kubernetes Deployment YAML file for the control plane nodes and apply the changes using 'kubectl apply'.

  3. C

    Use the 'tanzu cluster scale' command to interactively increase the number of worker nodes.

  4. D

    Ensure the underlying infrastructure, such as vSphere or AWS, has sufficient resources for the new nodes.

  5. E

    Manually create individual Kubernetes nodes and add them to the cluster using 'kubectl join'.

Show answer and explanation

Correct answers: A, C, D

Explanation

Scaling a Kubernetes cluster in VMware Tanzu Kubernetes Grid (TKG) should be done using supported tools and processes. You can either edit the cluster configuration file and apply the changes using 'tanzu cluster update' or use the 'tanzu cluster scale' command for an interactive approach. Additionally, it is essential to verify that the underlying infrastructure has adequate resources to accommodate the new nodes. Unsupported methods, such as manual node creation or direct YAML modification, can lead to cluster instability and are not recommended.

  • A. Correct.

    Correct: Editing the cluster configuration file and applying it with 'tanzu cluster update' is a standard method to scale a cluster in TKG. This ensures the desired number of worker nodes is provisioned.

  • B. Incorrect.

    Incorrect: Modifying the control plane nodes directly via Kubernetes YAML is not supported in TKG. Control plane scaling is typically managed through preconfigured tools and should not be handled manually.

  • C. Correct.

    Correct: The 'tanzu cluster scale' command provides a straightforward way to scale a cluster up or down interactively.

  • D. Correct.

    Correct: Ensuring sufficient resources in the underlying infrastructure is critical when scaling a cluster, as new nodes will require CPU, memory, and storage resources.

  • E. Incorrect.

    Incorrect: Manually creating nodes and adding them to the cluster is not a recommended approach in TKG. Scaling should be performed using the supported 'tanzu' CLI commands or configuration updates.

Timed practice exam

Take a 2V0-71.23 practice test under exam conditions

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

Start timed exam