ExamGecko
Home Home / VMware / 5V0-23.20

VMware 5V0-23.20 Practice Test - Questions Answers, Page 4

Question list
Search
Search

How does Kubernetes implement the vSphere storage policy in vSphere with Tanzu?

A.
Storage class
A.
Storage class
Answers
B.
Paravirtual CSl
B.
Paravirtual CSl
Answers
C.
Static Persistent Volume
C.
Static Persistent Volume
Answers
D.
Persistent Volume
D.
Persistent Volume
Answers
Suggested answer: A

Explanation:

When vSphere with Tanzu converts storage policies that you assign to namespaces into Kubernetes storage classes, it changes all upper case letters into lower case and replaces spaces with dashes (-).

To avoid confusion, use lower case and no spaces in the VM storage policy names.

Storage Policy Based Management is a vCenter Server service that supports provisioning of persistent volumes and their backing virtual disks according to storage requirements described in a storage policy.

Which two functions are provided by the NSX Container Rug-in (NCP)? (Choose two.)

A.
Implements Kubernetes Ingress with an NSX-T layer 7 load balancer
A.
Implements Kubernetes Ingress with an NSX-T layer 7 load balancer
Answers
B.
Integrates with container-based PaaS such as Docker
B.
Integrates with container-based PaaS such as Docker
Answers
C.
Creates an NSX-T logical topology for a Kubernetes cluster and a separate logical network for each Kubernetes namespace
C.
Creates an NSX-T logical topology for a Kubernetes cluster and a separate logical network for each Kubernetes namespace
Answers
D.
Configures Overlay Transport Zones
D.
Configures Overlay Transport Zones
Answers
E.
Implements Kubernetes Ingress with an NSX-T layer 4 load balancer
E.
Implements Kubernetes Ingress with an NSX-T layer 4 load balancer
Answers
Suggested answer: A, C

Explanation:

NCP provides the following functionalities:

Automatically creates an NSX-T Data Center logical topology for a Kubernetes cluster, and creates a separate logical network for each Kubernetes namespace.

Implements Kubernetes Ingress with NSX-T layer 7 load balancer

Connects Kubernetes pods to the logical network, and allocates IP and MAC addresses.

Supports network address translation (NAT) and allocates a separate SNAT IP for each Kubernetes namespace.Note:When configuring NAT, the total number of translated IPs cannot exceed 1000.

Implements Kubernetes network policies with NSX-T Data Center distributed firewall.

Implements Kubernetes service of type ClusterIP and service of type LoadBalancer.

How do Tanzu Kubemetes clusters communicate with Storage Policy Based Management to request PersistentVolumes?

A.
Through a proxy VM
A.
Through a proxy VM
Answers
B.
Directly with vCenter Server and the underlying ESXi hosts
B.
Directly with vCenter Server and the underlying ESXi hosts
Answers
C.
Through the Supervisor Cluster
C.
Through the Supervisor Cluster
Answers
D.
Directly with the vCenter ServerAnswer: DExplanation:The Cloud Native Storage for vSphere with Tanzu workflow is as follows:
D.
Directly with the vCenter ServerAnswer: DExplanation:The Cloud Native Storage for vSphere with Tanzu workflow is as follows:
Answers
E.
A developer deploys a pod using the kubectl CLI.
E.
A developer deploys a pod using the kubectl CLI.
Answers
F.
The vSphere with Tanzu Cloud Native Storage-Container Storage Interface (CNS-CSI) reads this request from the control plane API server.
F.
The vSphere with Tanzu Cloud Native Storage-Container Storage Interface (CNS-CSI) reads this request from the control plane API server.
Answers
G.
CNS-CSI informs the vCenter Server CNS of the need for a disk with storage class Gold.
G.
CNS-CSI informs the vCenter Server CNS of the need for a disk with storage class Gold.
Answers
H.
CNS interfaces with SPBM for a suitable datastore that satisfies the Gold storage class (storage policy).
H.
CNS interfaces with SPBM for a suitable datastore that satisfies the Gold storage class (storage policy).
Answers
I.
SPBM decides on a suitable datastore and interfaces with DRS for a suitable ESXi host.
I.
SPBM decides on a suitable datastore and interfaces with DRS for a suitable ESXi host.
Answers
J.
Hostd on the ESXi host creates a First Class Disk (VMDK) on the datastore.
J.
Hostd on the ESXi host creates a First Class Disk (VMDK) on the datastore.
Answers
K.
Spherelet on the ESXi host takes the created VMDK.
K.
Spherelet on the ESXi host takes the created VMDK.
Answers
L.
Spherelet mounts the VMDK to the vSphere Pod.
L.
Spherelet mounts the VMDK to the vSphere Pod.
Answers
M.
M.
Answers
Suggested answer: D

Explanation:

The Cloud Native Storage for vSphere with Tanzu workflow is as follows:

1. A developer deploys a pod using the kubectl CLI.

2. The vSphere with Tanzu Cloud Native Storage-Container Storage Interface (CNS-CSI) reads this request from the control plane API server.

3. CNS-CSI informs the vCenter Server CNS of the need for a disk with storage class Gold.

4. CNS interfaces with SPBM for a suitable datastore that satisfies the Gold storage class (storage policy).

5. SPBM decides on a suitable datastore and interfaces with DRS for a suitable ESXi host.

6. Hostd on the ESXi host creates a First Class Disk (VMDK) on the datastore.

7. Spherelet on the ESXi host takes the created VMDK.

8. Spherelet mounts the VMDK to the vSphere Pod.

9. Spherelet reports the mount as a successful event to the control plane API server.

Which kubectl command is used to list al pods in the current active namespace?

A.
kubectl get nodes
A.
kubectl get nodes
Answers
B.
kubectl get pods
B.
kubectl get pods
Answers
C.
kubectl get services
C.
kubectl get services
Answers
D.
kubectl list pods
D.
kubectl list pods
Answers
Suggested answer: B

Explanation:

Fetch all Pods in all namespaces using kubectl get pods --all-namespaces

Pods

Shortcode = po

List one or more pods

kubectl get pod

Delete a pod

kubectl delete pod <pod_name>

Display the detailed state of a pods

kubectl describe pod <pod_name>

Create a pod

kubectl create pod <pod_name>

Execute a command against a container in a pod

kubectl exec <pod_name> -c <container_name> <command>

Get interactive shell on a a single-container pod

kubectl exec -it <pod_name> /bin/sh

Display Resource usage (CPU/Memory/Storage) for pods

kubectl top pod

Add or update the annotations of a pod

kubectl annotate pod <pod_name> <annotation>

Add or update the label of a pod

kubectl label pod <pod_name>

Which vSphere with Tanzu Workload Network topology provides Layer 2 isolation between Tanzu Kubernetes clusters across namespaces when vSphere Distributed Switches are used?

A.
A dedicated Primary Workload Network for the Supervisor Cluster control plane VMs and separate Workload Networks for each namespace A dedicated Primary
A.
A dedicated Primary Workload Network for the Supervisor Cluster control plane VMs and separate Workload Networks for each namespace A dedicated Primary
Answers
B.
Workload Network for the Supervisor Cluster control plane VMs and a single Workload Network for namespaces
B.
Workload Network for the Supervisor Cluster control plane VMs and a single Workload Network for namespaces
Answers
C.
A single Workload Network for the Supervisor Cluster control plane VMs and Tanzu Kubernetes clusters
C.
A single Workload Network for the Supervisor Cluster control plane VMs and Tanzu Kubernetes clusters
Answers
D.
Distributed firewall rules to isolate namespaces
D.
Distributed firewall rules to isolate namespaces
Answers
Suggested answer: A

Explanation:

For a Supervisor Cluster that is configured with the vSphere networking stack, you can provide Layer 2 isolation for your Kubernetes workloads by creating Workload Networks and assigning them to namespaces. Workload Networks provide connectivity to Tanzu Kubernetes clusters in the namespace and are backed by distributed port groups on the switch that is connected to the hosts in the Supervisor Cluster.

To which network are HA Proxy virtual server IP addresses issued when using the vSphere networking stack default configuration?

A.
vMotion
A.
vMotion
Answers
B.
Overlay
B.
Overlay
Answers
C.
Primary workload
C.
Primary workload
Answers
D.
Management
D.
Management
Answers
Suggested answer: C

Explanation:

The HAProxy virtual IP range where external services and DevOps users connect. In this configuration, HAProxy is deployed with two virtual NICs (Default configuration), one connected to the management network, and a second one connected to the Primary Workload Network. You must plan for allocating Virtual IPs on a separate subnet from the Primary Workload Network.

https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-1F885AAE-92FF-41E6-BF04-0F0FD4173BD9.html

How is information found about all Kubernetes Persistent Volumes in a vSphere environment?

A.
Navigating to the Cloud Native Storage view in vCenter Server
A.
Navigating to the Cloud Native Storage view in vCenter Server
Answers
B.
Using: kubectl get persistentvolumes
B.
Using: kubectl get persistentvolumes
Answers
C.
Accessing the FCD folder on a Datastore
C.
Accessing the FCD folder on a Datastore
Answers
D.
Using: esxcli storage cloud native get
D.
Using: esxcli storage cloud native get
Answers
Suggested answer: A

Explanation:

This is the textbook answer, I know kubectl does give you some information.

To which set of networks are the Supervisor Cluster nodes attached when deploying with an NSX-T network topology?

A.
Frontend and Workload
A.
Frontend and Workload
Answers
B.
Frontend and Management
B.
Frontend and Management
Answers
C.
Workload and Management
C.
Workload and Management
Answers
D.
Management and NSX Overlay
D.
Management and NSX Overlay
Answers
Suggested answer: C

Explanation:

The Network Service has been extended to support the vSphere Distributed Switch (vDS). Start by configuring the switch with appropriate portgroups. Management will carry traffic between vCenter and the Kubernetes Control Plane (Supervisor Cluster control plane). As we will see in a moment, not having the built in Load Balancing capability of NSX means you will need to deploy your own load balancer externally from the cluster. We will give you a choice of integrated load balancers. The first one we support is HAProxy.

The Management network will also carry traffic between the supervisor cluster nodes and HAProxy.

The Frontend network will carry traffic to the Load Balancer virtual interfaces. It must be routable from any device that will be a client for your cluster. Developers will use this to issue kubectl commands to the Supervisor cluster or their TKG clusters. You can have one or more Workload networks.

The primary Workload network will connect the cluster interfaces of the Supervisor cluster.

Namespaces can be defined with their own Workload network allowing for isolation between development teams assigned different Namespaces. The Namespace assigned Workload Networks will connect the TKG cluster nodes in that Namespace.

Kubernetes object types are going to be limited by an administrator within a vSphere with Tanzu namespace. Which three Kubernetes object types may be limited? (Choose three.)

A.
Number of Persistent Volume Claims
A.
Number of Persistent Volume Claims
Answers
B.
Number of Pods
B.
Number of Pods
Answers
C.
Number of Operators
C.
Number of Operators
Answers
D.
Number of DaemonSets
D.
Number of DaemonSets
Answers
E.
Number of Ingress frontends
E.
Number of Ingress frontends
Answers
F.
Number of Load Balancer Services
F.
Number of Load Balancer Services
Answers
Suggested answer: A, B, F

Explanation:

https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-1238AFD8-

232C-4EFC-BD54-796CB9F8C45F.html

Resource Name Description

configmaps The total number of ConfigMaps that can exist in the namespace.

persistentvolumeclaims The total number of PersistentVolumeClaims that can exist in the namespace.

pods The total number of Pods in a non-terminal state that can exist in the namespace. A pod is in a terminal state if .status.phase in (Failed, Succeeded) is true.

replicationcontrollers The total number of ReplicationControllers that can exist in the namespace.

resourcequotas The total number of ResourceQuotas that can exist in the namespace.

services The total number of Services that can exist in the namespace.

services.loadbalancers The total number of Services of type LoadBalancer that can exist in the namespace.

services.nodeports The total number of Services of type NodePort that can exist in the namespace.

secrets The total number of Secrets that can exist in the namespace.

Which two capabilities are associated with vSphere Pod? (Choose two.)

A.
Compatibility with vSphere vMotion
A.
Compatibility with vSphere vMotion
Answers
B.
Compatibility with vSphere performance charts
B.
Compatibility with vSphere performance charts
Answers
C.
Compatibility with NSX-V Datacenter
C.
Compatibility with NSX-V Datacenter
Answers
D.
Compatibility with vSphere HA and DRS
D.
Compatibility with vSphere HA and DRS
Answers
E.
Compatibility with Windows and Linux kernels
E.
Compatibility with Windows and Linux kernels
Answers
Suggested answer: C, D

Explanation:

Resource Management. vSphere DRS handles the placement of vSphere Pods on the Supervisor Cluster.

Total 124 questions
Go to page: of 13