5V0-23.20 Dumps

5V0-23.20 Braindumps 5V0-23.20 Real Questions 5V0-23.20 Practice Test

5V0-23.20 Actual Questions


killexams.com


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?


  1. A load balancer balances pods between Tanzu Kubernetes cluster nodes.

  2. A load balancer distributes Tanzu Kubernetes cluster nodes between ESXi hosts.

  3. A load balancer provides external access to Supervisor Clusters and Tanzu Kubernetes clusters.

  4. 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?


  1. kubectl run my-app.yaml

  2. kubectl apply -f my-app.yaml

  3. kubectl create my-app.yaml

  4. 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?


  1. Primary Workload Network

  2. Load Balancer Network

  3. Frontend Network

  4. Supervisor Cluster Network


Answer: D Question: 32

Which command displays the storage limits that have been set together with the amount of resources consumed?


  1. kubect1 get resourcequotas

  2. kubect1 config get-resourcequotas limits

  3. kubect1 list resourcequotas

  4. 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 )


  1. Determines placement of vSphere pods

  2. Manages node configuration

  3. Starts vSphere pods

  4. Provides a key-value store for pod configuration

  5. Communicates with Kubernetes API

  6. 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)


  1. Whether the resources provided by the virtual machine class type should be reserved on the host

  2. The configuration parameters which need to be edited in the cluster

  3. The amount of CP

  4. memory, and storage the virtual machine should have

  5. Connectivity between the Tanzu Kubernetes cluster and the Subscribed Content Library

  6. 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?

  1. DMZ

  2. Frontend

  3. HAProxy

  4. 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.)


  1. Include the image: //: in the YAML spec.

  2. Run kubectl config use-context to switch to the correct namespace.

  3. Run kubectl config set-context to switch to the correct namespace.

  4. Pull the image into the Registry service with docker pull //:.

  5. Include the image: /: in the YAML spec.

  6. 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?


  1. Tier-1 uplink

  2. vSphere Distributed Switch

  3. Tier-0 uplink segment

  4. Transport Zones


Answer: C Question: 38

What can be used to define whether a vSphere pod can be scaled?


  1. Deployment

  2. Namespaces

  3. Persistent Volume

  4. Network Policies


Answer: A Question: 39

What should be increased or reduced in order to scale a Tanzu Kubernetes cluster up or down?


  1. The number of Pods that it contains

  2. The number of Namespaces that it contains

  3. The number of Deployments that it contains

  4. The number of worker nodes that it contains


Answer: D

Question: 40


What is true of a Tanzu Kubernetes Cluster?


  1. It is a Kubernetes cluster deployed by developers using a YAML specification file.

  2. It use resources from hosts across vSphere clusters to form a Kubernetes cluster on vSphere.

  3. It enables vSphere High Availability and Distributed Resource Scheduler.

  4. 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.)


  1. Permissions

  2. Capacity and Usage limits

  3. License

  4. Namespace name

  5. Storage Policy

  6. 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.)

  1. They can be resized by administrators directly through vCenter Inventory View.

  2. They each run the Spherelet.

  3. They each expose the Kubernetes AP

  4. They do not run any Kubernetes Pods.

  5. They are connected to a Management portgroup.

  6. 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?


  1. Headless

  2. NodePort

  3. ExternalName

  4. 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?


  1. 3

  2. 1

  3. 4

  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?


  1. Create two storage policies with different tag criteria and apply to the Supervisor Cluster using the vSphere Client.

  2. Create two storage policies with different tag criteria and apply to the Supervisor Cluster using kubectl commands.

  3. Create two storage policies with all tag criteria and apply to the Supervisor Cluster using kubectl commands.

  4. 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?


  1. A best-effort class does not provide high availability for TKC nodes.

  2. A best-effort class reserves CPU and Memory resources for TKC nodes.

  3. A guaranteed class provides high availability for TKC nodes.

  4. 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?


  1. Deploy the load balancer

  2. Choose the Kubernetes content library that should be used in the Supervisor Cluster

  3. Define the Primary workload network P range

  4. 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?

  1. Tanzu Kubernetes Grid Service

  2. kubectl

  3. vSphere REST API

  4. Virtual Machine Service


Answer: A

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


  1. kubectl get nodes

  2. kubectl get pods

  3. kubectl get services

  4. 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?


  1. Cluster IP

  2. Node Port

  3. LoadBalancer

  4. 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.