ExamGecko
Home Home / VMware / 5V0-23.20

VMware 5V0-23.20 Practice Test - Questions Answers

Question list
Search
Search

An administrator working in a vSphere with Tanzu environment wants to ensure that all persistent volumes configured by developers within a namespace are placed on a defined subset of datastores The administrator has applied tags to the required datastores in the vSphere Client Which action should the administrator take next to meet the requirement?

A.
Create a storage policy containing the tagged datastores. and apply it to the vSphere Namespace.
A.
Create a storage policy containing the tagged datastores. and apply it to the vSphere Namespace.
Answers
B.
Create a storage class containing the tagged datastores. and apply it to the Supervisor Cluster
B.
Create a storage class containing the tagged datastores. and apply it to the Supervisor Cluster
Answers
C.
Create a persistent volume claim containing the tagged datastores, and apply it to the vSphere Namespace.
C.
Create a persistent volume claim containing the tagged datastores, and apply it to the vSphere Namespace.
Answers
D.
Create a storage Policy containing the tagged datastores. and apply it to the Supervisor Cluster.
D.
Create a storage Policy containing the tagged datastores. and apply it to the Supervisor Cluster.
Answers
Suggested answer: A

Explanation:

The vSphere administrator defines and assigns VM storage policies to a namespace:

• VM storage policies are translated into Kubernetes storage classes.

• Developers can access all assigned VM storage policies in the form of storage classes.

• Developers cannot manage storage classes.

Storage class names are created in the following way:

• Spaces in VM Storage Policy names are replaced with hyphens (-).

• Special characters are replaced with a digit. A VM Storage Policy called My Gold Policy $ is called my-gold-policy-0 as a storage class.

Which three roles does the Spherelet perform? (Choose three )

A.
Determines placement of vSphere pods
A.
Determines placement of vSphere pods
Answers
B.
Manages node configuration
B.
Manages node configuration
Answers
C.
Starts vSphere pods
C.
Starts vSphere pods
Answers
D.
Provides a key-value store for pod configuration
D.
Provides a key-value store for pod configuration
Answers
E.
Communicates with Kubernetes API
E.
Communicates with Kubernetes API
Answers
F.
Provisions Tanzu Kubernetes clusters
F.
Provisions Tanzu Kubernetes clusters
Answers
Suggested answer: B, C, E

Explanation:

Spherelet is a kubelet that is ported natively to ESXi. It allows the ESXi host to become part of a Kubernetes cluster. Spherelet performs the following functions:

• Communicates with the control plane VMs

• Manages node configuration

• Starts vSphere Pods

• Monitors vSphere Pods

Why would developers choose to deploy an application as a vSphere Pod instead of a Tanzu Kubernetes cluster?

A.
They need the application to run as privileged pods.
A.
They need the application to run as privileged pods.
Answers
B.
The application works with sensitive customer data, and they want strong resource and security isolation.
B.
The application works with sensitive customer data, and they want strong resource and security isolation.
Answers
C.
They want to have root level access to the control plane and worker nodes in the Kubernetes cluster.
C.
They want to have root level access to the control plane and worker nodes in the Kubernetes cluster.
Answers
D.
The application requires a version of Kubernetes that is above the version running on the supervisor cluster.
D.
The application requires a version of Kubernetes that is above the version running on the supervisor cluster.
Answers
Suggested answer: B

Explanation:

A vSphere Pod is a VM with a small footprint that runs one or more Linux containers. With vSphere Pods, workloads have the following capabilities:

• Strong isolation from a Linux kernel based on Photon OS

• Resource management using DRS

• Same level of resource isolation as VMs

• Open Container Initiative (OCI) compatible

• Equivalent to a Kubernetes Container Host vSphere Pods are not compatible with vSphere vMotion. When an ESXi host is placed into maintenance mode, running vSphere Pods are drained and redeployed on another ESXi host, but only if the vSphere Pod is part of a ReplicaSet.

A company needs to provide global visibility and consistent policy management across multiple Tanzu Kubernetes Clusters, namespaces, and clouds Which VMvare solution will meet these requirements'?

A.
vSphere with Tanzu Supervisor Cluster
A.
vSphere with Tanzu Supervisor Cluster
Answers
B.
vCenter Server
B.
vCenter Server
Answers
C.
Tanzu Mission Control
C.
Tanzu Mission Control
Answers
D.
Tanzu Kubernetes Grid Service
D.
Tanzu Kubernetes Grid Service
Answers
Suggested answer: C

Explanation:

VMware Tanzu Mission Control™ is a centralized management platform for consistently operating and securing your Kubernetes infrastructure and modern applications across multiple teams and clouds.

A developer is connecting to a Tanzu Kubernetes Cluster using the kubectl vsphere login command Which information must be specified, in addition to both the name of the cluster and the Supervisor Cluster Control Wane IP?

A.
The path to the existing kubeconfig file and the SSO Username
A.
The path to the existing kubeconfig file and the SSO Username
Answers
B.
The path to the existing kubeconfig file and the Token D for the SSO credentials
B.
The path to the existing kubeconfig file and the Token D for the SSO credentials
Answers
C.
The name of the Supervisor Namespace and the Token ID for the SSO credentials
C.
The name of the Supervisor Namespace and the Token ID for the SSO credentials
Answers
D.
The name of the Supervisor Namespace and the SSO Username
D.
The name of the Supervisor Namespace and the SSO Username
Answers
Suggested answer: D

Explanation:

To connect to the Supervisor Cluster, run the following command. kubectl vsphere login --server=SUPERVISOR-CLUSTER-CONTROL-PLANE-IP --tanzu-kubernetes-cluster-name TANZU-KUBERNETES-CLUSTER-NAME --tanzu-kubernetes-cluster-namespace SUPERVISOR-NAMESPACE-WHERE-THE-CLUSTER-ISDEPLOYED --vsphere-username VCENTER-SSO-USER-NAME For example: kubectl vsphere login --server=10.92.42.137 --tanzu-kubernetes-cluster-name tanzu-kubernetes-cluster-01 --tanzu-kubernetes-cluster-namespace tanzu-ns-1 --vsphere-username [email protected]

Which value must be increased or decreased to horizontally scale a Tanzu Kubernetes cluster?

A.
Namespaces
A.
Namespaces
Answers
B.
etcd instance
B.
etcd instance
Answers
C.
Worker node count
C.
Worker node count
Answers
D.
ReplicaSets
D.
ReplicaSets
Answers
Suggested answer: C

Explanation:

Scale a Cluster Horizontally With the Tanzu CLI

To horizontally scale a Tanzu Kubernetes cluster, use the tanzu cluster scale command. You change the number of control plane nodes by specifying the --controlplane-machine-count option. You change the number of worker nodes by specifying the --worker-machine-count option.

Which two container network interfaces (CNIs) are supported with Tanzu Kubernetes clusters created by the Tanzu Kubernetes Grid Service? (Choose two )

A.
NSX-T
A.
NSX-T
Answers
B.
Weave Net
B.
Weave Net
Answers
C.
Flannel
C.
Flannel
Answers
D.
Antrea
D.
Antrea
Answers
E.
Calico
E.
Calico
Answers
Suggested answer: D, E

Explanation:

https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-A7756D67-0B95-447D-A645-E2A384BF8135.html

A Tanzu Kubernetes cluster provisioned by the Tanzu Kubernetes Grid Service supports two CNI options: Antrea (default) and Calico. Both are open-source software that provide networking for cluster pods, services, and ingress.

Tanzu Kubernetes clusters provisioned by the Tanzu Kubernetes Grid Service support the following Container Network Interface (CNI) options:

Antrea

Calico

Explanation

Tanzu Kubernetes Grid Service CNI

Tanzu Kubernetes Grid Service supports Antrea and Calico as container network interfaces (CNI).

The default CNI in vSphere 7 Update 1 is Antrea.

Antrea is a VMware-supported, open source, Kubernetes-native project that implements the container network interface (CNI) and Kubernetes network policy, providing network connectivity and security for pod workloads. Antrea extends the benefit of programmable networks from Open vSwitch (OVS) to Kubernetes.

For more information about Antrea, see https://antrea.io/

Where are the virtual machine images stored that are used to deploy Tanzu Kubernetes clusters?

A.
Content Library
A.
Content Library
Answers
B.
Supervisor Cluster
B.
Supervisor Cluster
Answers
C.
Harbor Image Registry
C.
Harbor Image Registry
Answers
D.
Namespace
D.
Namespace
Answers
Suggested answer: A

Explanation:

The vSphere administrator configures a Subscribed Content Library on the Supervisor Cluster. The virtual machine image that is used for the Tanzu Kubernetes cluster nodes is pulled from this library.

A Subscribed Content Library originates from a Published Content Library. After the subscription is created, the system synchronizes it with the published library. To create the Tanzu Kubernetes cluster nodes, VMware publishes a Photon OS OVA library to which you subscribe. After the subscriber is synchronized with the publisher, you associate the content library with the Supervisor Cluster.

Which capability do persistent volumes provide to containerized applications?

A.
Automated disk archival
A.
Automated disk archival
Answers
B.
Support for in-memory databases
B.
Support for in-memory databases
Answers
C.
Support for ephemeral workloads
C.
Support for ephemeral workloads
Answers
D.
Retention of application state and data
D.
Retention of application state and data
Answers
Suggested answer: D

Explanation:

Certain Kubernetes workloads require persistent storage to store data permanently. To provision persistent storage for Kubernetes workloads, vSphere with Tanzu integrates with Cloud Native Storage (CNS), a vCenter Server component that manages persistent volumes.

Persistent storage is used by vSphere Pods, Tanzu Kubernetes clusters, and VMs. The following example illustrates how persistent storage is used by a vSphere Pod. vSphere Pods use different types of storage depending on the objects that are stored. The types of storage are ephemeral virtual machine disks (VMDKs), persistent volume VMDKs, and containers image VMDKs:

• Storage policies for container image and ephemeral disks are defined at the cluster level.

• Storage policies for persistent volumes are defined at the namespace level.

• Networking for vSphere Pods uses the topology provided by NSX.

What is the proper way to delete a Persistent Volume Claim?

A.
By using the kubectl delete persistentvolumeclaim command
A.
By using the kubectl delete persistentvolumeclaim command
Answers
B.
By using the kubectl remove pvc command
B.
By using the kubectl remove pvc command
Answers
C.
Through the SPBM policy engine using the vSphere Client
C.
Through the SPBM policy engine using the vSphere Client
Answers
D.
By unmounting the volume from the VM and deleting it from the vSphere datastore
D.
By unmounting the volume from the VM and deleting it from the vSphere datastore
Answers
Suggested answer: A

Explanation:

Also, kubectl delete pvc, which is much shorter.

DevOps engineers create persistent volume claims to request persistent storage resources. The request provisions a persistent volume object and a matching virtual disk. In the vSphere Client, the persistent volume claim manifests as an FCD virtual disk that can be monitored by vSphere administrators.

The claim is bound to the persistent volume. The workloads can use the claim to mount the persistent volumes and access storage.

When the DevOps engineers delete the claim, the corresponding persistent volume object and the provisioned virtual disk are also deleted.

Total 124 questions
Go to page: of 13