5V0-23.20 Demo and Sample
Note: Answers are below each question.
Samples are taken from full version.
Latest 5V0-23.20 Exam Questions and Practice Tests 2024 - Killexams.com
5V0-23.20 Dumps
5V0-23.20 Braindumps 5V0-23.20 Real Questions 5V0-23.20 Practice Test
5V0-23.20 Actual Questions
Vmware
5V0-23.20
VMware vSphere with Tanzu Specialist
https://killexams.com/pass4sure/exam-detail/5V0-23.20
Question: 29
Which statement accurately describes a characteristic of load balancers in vSphere with Tanzu using the vSphere networking stack?
A load balancer balances pods between Tanzu Kubernetes cluster nodes.
A load balancer distributes Tanzu Kubernetes cluster nodes between ESXi hosts.
A load balancer provides external access to Supervisor Clusters and Tanzu Kubernetes clusters.
A load balancer performs authentication and authorization for Supervisor Clusters and Tanzu Kubernetes clusters.
Answer: C Question: 30
Which kubectl command is used to deploy the application when using a Kubernetes deployment specification file, my- app.yaml?
kubectl run my-app.yaml
kubectl apply -f my-app.yaml
kubectl create my-app.yaml
kubectl apply spc my-app.yaml
Answer: B Question: 31
An administrator needs to configure a Supervisor Cluster with the vSphere networking stack (vSphere Distributed Switch) and HAProxy appliance using default configuration. The administrator has already connected all hosts in the cluster to a vSphere Distributed Switch and created distributed portgroups.
Which designation must be mapped to a distributed portgroup?
Primary Workload Network
Load Balancer Network
Frontend Network
Supervisor Cluster Network
Answer: D Question: 32
Which command displays the storage limits that have been set together with the amount of resources consumed?
kubect1 get resourcequotas
kubect1 config get-resourcequotas limits
kubect1 list resourcequotas
kubect1 describe resourcequotas
Answer: A
Explanation:
Create the ResourceQuota:
â kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml -- namespace=quota-mem-cpu- example
View detailed information about the ResourceQuota:
â kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml
Question: 33
Which three roles does the Spherelet perform? (Choose three )
Determines placement of vSphere pods
Manages node configuration
Starts vSphere pods
Provides a key-value store for pod configuration
Communicates with Kubernetes API
Provisions Tanzu Kubernetes clusters
Answer: A,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
Question: 34
Which two considerations needs to be made when deciding on a virtual machine class type during the process of creating a Tanzu Kubernetes cluster? (Choose two)
Whether the resources provided by the virtual machine class type should be reserved on the host
The configuration parameters which need to be edited in the cluster
The amount of CP
memory, and storage the virtual machine should have
Connectivity between the Tanzu Kubernetes cluster and the Subscribed Content Library
The storage classes which need to be made available to the cluster
Answer: A,C
Explanation:
A virtual machine class is a request for resource reservations for processing power on the virtual machine (VM), including CPU and memory (RAM). For example, the VM class type named "guaranteed-large" reserves 4 CPU and 16 GB RAM. See Default Virtual Machine Classes for a list of default VM classes and their corresponding CPU and RAM reservations.
The VM disk size is set by the OVA template, not the VM class definition. For Tanzu Kubernetes releases, the disk size is 16GB. See About Tanzu Kubernetes release Distributions.
There are two reservation types for VM classes: guaranteed and best effort. The guaranteed class fully reserves its configured resources. This means that for a given cluster the spec.policies.resources.requests matches the spec.hardware settings. The best effort class allows resources to be overcommitted. For production workloads it is recommended that you use the guaranteed VM class type.
Question: 35
A HAProxy appliance has been deployed using a 3 NIC configuration. Which network will developers and external services use to connect?
DMZ
Frontend
HAProxy
Workload
Answer: B Question: 36
A developer is trying to deploy a Kubernetes Application by using an image from the embedded Registry Service into an existing Namespace within a Supervisor Cluster.
Which three steps must be completed to ensure the deployment is successful? (Choose three.)
Include the image: //: in the YAML spec.
Run kubectl config use-context to switch to the correct namespace.
Run kubectl config set-context to switch to the correct namespace.
Pull the image into the Registry service with docker pull //:.
Include the image: /: in the YAML spec.
Push the image to the Registry service with docker push //:.
Answer: A,B,D Question: 37
What provides the North-South connectivity from NSX-T Data Center to the physical infrastructure?
Tier-1 uplink
vSphere Distributed Switch
Tier-0 uplink segment
Transport Zones
Answer: C Question: 38
What can be used to define whether a vSphere pod can be scaled?
Deployment
Namespaces
Persistent Volume
Network Policies
Answer: A Question: 39
What should be increased or reduced in order to scale a Tanzu Kubernetes cluster up or down?
The number of Pods that it contains
The number of Namespaces that it contains
The number of Deployments that it contains
The number of worker nodes that it contains
Answer: D
Question: 40
What is true of a Tanzu Kubernetes Cluster?
It is a Kubernetes cluster deployed by developers using a YAML specification file.
It use resources from hosts across vSphere clusters to form a Kubernetes cluster on vSphere.
It enables vSphere High Availability and Distributed Resource Scheduler.
It removes the Kubernetes API for use by DevOps teams.
Answer: A
Explanation:
Tanzu Kubernetes Cluster is a Kubernetes cluster deployed by developers using a YAML specification file. It uses resources from hosts across vSphere clusters to form a Kubernetes cluster on vSphere. It also enables vSphere High Availability and Distributed Resource Scheduler, which allows for load balancing and high availability of resources in the cluster. It does not remove the Kubernetes API for use by DevOps teams.
Question: 41
Which three elements should be configured by a vSphere administrator after creating vSphere Namespace? (Choose three.)
Permissions
Capacity and Usage limits
License
Namespace name
Storage Policy
NSX Segment
Answer: A,B,E
Explanation:
Creating a Namespace
A vSphere administrator configures permissions and storage before a namespace can be used:
⢠Assign edit or view permissions to users. Users must be present in a configured single sign-on (SSO) identity source.
⢠Must assign a VM storage policy to the namespace. ⢠Can define resource limits (optional).
⢠Must add a content library to enable the Tanzu Kubernetes Grid Service.
Question: 42
Which three characteristics are true of Control Plane VMs? (Choose three.)
They can be resized by administrators directly through vCenter Inventory View.
They each run the Spherelet.
They each expose the Kubernetes AP
They do not run any Kubernetes Pods.
They are connected to a Management portgroup.
They are deployed via a vCenter Service.
Answer: A,B,D Question: 43
Which Kubernetes Service Types exposes the service externally using a static port?
Headless
NodePort
ExternalName
ClusterIP
Answer: B Question: 44
The network topology for a Supervisor Cluster deployed using the vSphere networking stack, and a HAProxy load balancer is being planned.
In addition to the control plane management IP range and services P range, how many non-overlapping P address ranges are needed?
3
1
4
2
Answer: B
Explanation:
â A dedicated IP range for virtual IPs. The HAProxy VM must be the only owner of this virtual IP range. The range must not overlap with any IP range assigned to any Workload Network owned by any Supervisor Cluster.
Question: 45
An administrator is planning the deployment of a vSphere with Tanzu using an NSX-T environment and must ensure that the control plane VMs and container images are placed onto different datastores. The administrator decides to create two datastores and apply differently named tags to each datastore.
Which additional action would the administrator need to perform to meet this requirement?
Create two storage policies with different tag criteria and apply to the Supervisor Cluster using the vSphere Client.
Create two storage policies with different tag criteria and apply to the Supervisor Cluster using kubectl commands.
Create two storage policies with all tag criteria and apply to the Supervisor Cluster using kubectl commands.
Create a single storage policy containing all tag criteria and apply to the Supervisor Cluster using the vSphere Client.
Answer: D Question: 46
Which description accurately characterizes virtual machine class types for Tanzu Kubernetes cluster (TKC) nodes?
A best-effort class does not provide high availability for TKC nodes.
A best-effort class reserves CPU and Memory resources for TKC nodes.
A guaranteed class provides high availability for TKC nodes.
A guaranteed class reserves CPU and Memory resources for TKC nodes.
Answer: D Question: 47
Which step in vSphere with Tanzu enablement using the vSphere Distributed Switch process is done prior to using the Workload Management Enablement Wizard?
Deploy the load balancer
Choose the Kubernetes content library that should be used in the Supervisor Cluster
Define the Primary workload network P range
Define the Management network interfaces for the Supervisor Cluster
Answer: D
Explanation:
As a vSphere administrator, you can enable the Workload Management platform on a vSphere cluster by configuring the vSphere networking stack to provide connectivity to workloads. A Supervisor Cluster that is configured with vSphere networking supports the deployment of Tanzu Kubernetes clusters created by using the Tanzu Kubernetes Grid Service. It does not support running vSphere Pod or using the embedded Harbor Registry.
Question: 48
What provides a declarative, Kubernetes-style API for cluster creation, configuration, and management?
Tanzu Kubernetes Grid Service
kubectl
vSphere REST API
Virtual Machine Service
Answer: A
Which kubectl command is used to list al pods in the current active namespace?
kubectl get nodes
kubectl get pods
kubectl get services
kubectl list pods
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 type of service is created by default when publishing a Kubernetes service?
Cluster IP
Node Port
LoadBalancer
ExternalName
Answer: A
Explanation:
For some parts of your application (for example, frontends) you may want to expose a Service onto an external IP address, that's outside of your cluster.
Kubernetes ServiceTypes allow you to specify what kind of Service you want. The default is ClusterIP.
6$03/( 48(67,216
7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV
.LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP
$FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP
([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP
3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV
*XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV
8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV
7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\
'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU
.LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG
View Practice Questions »