2V0-71-21 practice question 2 of 15
What is the command to find out the available node base operating system images?
Full set: 55 questionsIn a vSphere with Tanzu environment, the base operating system images for creating Tanzu Kubernetes cluster nodes are managed as Kubernetes custom resources of the kind VirtualMachineImage. These images are synchronized from a vSphere Content Library that is subscribed to VMware's official repository. To list the OS images that are available for provisioning new nodes, an administrator connects to the Supervisor Cluster and uses the command kubectl get virtualmachineimages. This command queries the API server and returns a list of available images, their versions, and their readiness status.
A. kubectl get nodes: This command lists the currently running control plane and worker nodes within a Kubernetes cluster, not the available base images for creating them.
B. kubectl cluster-info: This command displays the addresses of the control plane and services within the cluster, used for verifying cluster connectivity.
C. kubectl get virtualmachineclasses: This command lists available sizing templates (CPU, memory, etc.) for virtual machines, not the operating system images they run.
1. VMware vSphere 8.0 Documentation, vSphere with Tanzu Configuration and Management, "Check the Available VM Images and Classes". This section explicitly states: "To see the available virtual machine images, run the kubectl get virtualmachineimages command." It also provides an example output showing different OS images like Ubuntu and Photon.
2. VMware vSphere 8.0 Documentation, vSphere with Tanzu Configuration and Management, "VirtualMachineImage and VirtualMachineClass Custom Resources". This document defines the VirtualMachineImage as a custom resource that "represents a virtual machine image from the Content Library that can be used for deploying a Tanzu Kubernetes cluster." This confirms that kubectl get virtualmachineimages is the correct command to query for these specific resources.
3. VMware vSphere 7.0 Documentation, vSphere with Tanzu Concepts and Planning, "Tanzu Kubernetes Grid Service". In the section describing the service, it details the components, including the Content Library for storing VM images (Tanzu Kubernetes releases) and the custom resources (VirtualMachineImage, VirtualMachineClass) used to represent them within Kubernetes, reinforcing the purpose of the command in option D.
Keep practicing
Take the free 2V0-71-21 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 2V0-71-21 practice questions
- Question 1Choose two supported functionalities when enabling Workload Management with a VMware vSph…
- Question 3Which two options are supported use of Content Library in VMware vSphere with Tanzu? (Cho…
- Question 4Under Menu, which section to enable Tanzu Kubernetes Cluster in VMware vSphere for Tanzu …
- Question 6What are the pre-requisites for installing the Harbor registry in Tanzu Kubernetes Grid (…
- Question 7Why is the port 6443 required in the boostrap machine to deploy Tanzu Kubernetes Grid on …
- Question 8What are two ClusterAPI providers being used in Tanzu Kubernetes Grid? (Choose two.)
