2V0-71-21 practice question 15 of 15

What is the advantage of connecting the Tanzu Kubernetes Grid (TKG) CLI to a vSphere with Tanzu Supervisor Cluster?

Full set: 55 questions
Answer options
A: Tanzu Kubernetes clusters can be managed with vCenter Server Graphical User Interface console.
B: Kubernetes objects can be created via vCenter Server VAMI interface.
C: Tanzu Kubernetes clusters can be managed with ESXi Host Client.
D: Tanzu Kubernetes clusters can be deployed to vSphere with Tanzu and manage their lifecycle directly from the TKG CLI. Correct answer
Correct Answer:
D. Tanzu Kubernetes clusters can be deployed to vSphere with Tanzu and manage their lifecycle directly from the TKG CLI.
Explanation

The primary advantage of connecting the Tanzu Kubernetes Grid (TKG) CLI to a vSphere with Tanzu Supervisor Cluster is to enable the command-line-driven deployment and lifecycle management of Tanzu Kubernetes clusters (TKCs). Once authenticated to the Supervisor Cluster, an administrator or DevOps engineer can use tanzu commands (e.g., tanzu cluster create, tanzu cluster scale, tanzu cluster upgrade, tanzu cluster delete) to provision and manage workload clusters directly on vSphere. This provides a powerful, scriptable, and declarative method for managing Kubernetes infrastructure, which is the core function of the TKG CLI in this context.

Why Incorrect

A. The vCenter Server UI is used to manage Supervisor Namespaces and view TKC objects, but the TKG CLI is the designated tool for detailed lifecycle management from the command line.
B. The vCenter Server Appliance Management Interface (VAMI) is used for managing the vCenter appliance itself (e.g., networking, updates) and cannot create Kubernetes objects.
C. The ESXi Host Client is used for managing a single, individual ESXi host and lacks the scope and capability to manage cluster-level resources like Tanzu Kubernetes clusters.

References

1. VMware vSphere 8.0 Documentation, "Deploying and Managing Tanzu Kubernetes Clusters with the Tanzu CLI". The documentation states, "You can use the Tanzu CLI to provision and manage Tanzu Kubernetes clusters on the Supervisor. The general workflow is that the vSphere administrator creates a Supervisor Namespace and gives permissions on it to a DevOps engineer. The DevOps engineer can then connect to the Supervisor Namespace and use the Tanzu CLI to provision Tanzu Kubernetes clusters." This directly supports the correct answer (D).

2. VMware vSphere 8.0 Documentation, "Managing Tanzu Kubernetes Clusters with the Tanzu CLI". This section details the specific commands for lifecycle operations: "To create a Tanzu Kubernetes cluster, you use the tanzu cluster create command... To scale a Tanzu Kubernetes cluster, you use the tanzu cluster scale command." This reinforces that the TKG CLI is the tool for these actions.

3. VMware vCenter Server 8.0 Documentation, "vCenter Server Configuration and Management". This source describes the function of the vCenter Server Management Interface (VAMI), detailing its use for appliance-level tasks like monitoring resources, managing networking, and configuring backups. It makes no mention of managing Kubernetes objects, invalidating option (B).

Scroll to Top