ExamGecko
Home Home / VMware / 5V0-23.20

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

Question list
Search
Search

Which command should be used by a developer to log in to the vSphere with Tanzu Supervisor Cluster?

A.
vmwarectl login --server-<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
A.
vmwarectl login --server-<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
Answers
B.
kubectl vsphere login --server=<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<vcENTER-SSO-USER>
B.
kubectl vsphere login --server=<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<vcENTER-SSO-USER>
Answers
C.
vmwarectl vsphere login --server—<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<VCENTER-SSO-USER>
C.
vmwarectl vsphere login --server—<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<VCENTER-SSO-USER>
Answers
D.
kubectl login --server=<KUBERNETES-CONTROL-PLANE-lP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
D.
kubectl login --server=<KUBERNETES-CONTROL-PLANE-lP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
Answers
Suggested answer: B

Explanation:

Authenticating Using kubectl

In vSphere with Tanzu, authentication is performed using vCenter Single Sign-On. You run the command kubectl vsphere login to authenticate a user through vCenter Single Sign-On to Kubernetes clusters. kubectl vsphere login --server <kubernetes control plane> -u <username> The --insecure-skip-tls-verify flag is required if the certificate presented by the vSphere with Tanzu control plane is not trusted by the client machine. The control plane is signed by the vCenter Server VMware CA by default. You can replace the control plane certificate with a trusted certificate if needed. Alternatively, install the vCenter Server VMware CA root certificate into your client machine to remove the need for the --insecure-skip-tls-verify flag.

Which external load balancer is supported in vSphere 7 U1 using the vSphere networking stack?

A.
Nginx
A.
Nginx
Answers
B.
Seesaw
B.
Seesaw
Answers
C.
Loadmaster
C.
Loadmaster
Answers
D.
HAProxy
D.
HAProxy
Answers
Suggested answer: D

Explanation:

When using vSphere with Tanzu with vDS networking, HAProxy provides load balancing for developers accessing the Tanzu Kubernetes control plane, and for Kubernetes Services of Type Load Balancer. Review the possible topologies that you can implement for the HAProxy load balancer.

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

The HAProxy appliance is an open-source solution developed by HAProxy Technologies and chosen by VMware as the first supported open-source load balancer for use with vSphere with Tanzu. With the HAProxy, external network traffic is routed to Kubernetes pods running in the vSphere with Tanzu environment.

A user needs to identify the namespaces that may be accessed.

Which command will provide the desired output?

A.
kubect1 get storageclasses
A.
kubect1 get storageclasses
Answers
B.
kubect1 config use-context
B.
kubect1 config use-context
Answers
C.
kubect1 config get-contexts
C.
kubect1 config get-contexts
Answers
D.
kubect1 get contexts
D.
kubect1 get contexts
Answers
Suggested answer: C

Explanation:

A user can have permissions on multiple namespaces. The kubectl commands are typically actioned against the current active namespace.

View the list of available namespaces: kubectl config get-contexts Change the current active namespace: kubectl config use-context <namespace>

What is required to enable Workload Management?

A.
vSphere Distributed Switch
A.
vSphere Distributed Switch
Answers
B.
Windows Network Load Balancer
B.
Windows Network Load Balancer
Answers
C.
Github repository
C.
Github repository
Answers
D.
NSX-V
D.
NSX-V
Answers
Suggested answer: A

Explanation:

https://docs.vmware.com/en/VMware-vSphere/7.0/vsphere-esxi-vcenter-server-702-vsphere-withtanzu-guide.pdfConfiguring Workload Networks You configure one or more workload networks and their respective

IP address ranges.

Each workload network is assigned a vSphere Distributed Switch port group and uses a defined IP range to allocate IP addresses to workloads (VMware Tanzu Kubernetes clusters).

Which role should the vSphere administrator apply for the developer?

A.
Assign the developer user with the "can edit" role at the vSphere Namespace object.
A.
Assign the developer user with the "can edit" role at the vSphere Namespace object.
Answers
B.
Assign the developer user with the 'VSphere Kubernetes Manager" role at the vSphere Namespace object.
B.
Assign the developer user with the 'VSphere Kubernetes Manager" role at the vSphere Namespace object.
Answers
C.
Assign the developer user with the 'VSphere Kubernetes Manager" role at the cluster object.
C.
Assign the developer user with the 'VSphere Kubernetes Manager" role at the cluster object.
Answers
D.
Assign the developer user with the "can edit" role at the cluster object.
D.
Assign the developer user with the "can edit" role at the cluster object.
Answers
Suggested answer: A

Explanation:

Permissions for programmers should be assign at the Namespace level, typically using groups and roles.

You assign roles for the Namespace to Active Directory groups. You can later assign access to users by adding them to these groups. You assign access to separate Active Directory groups for the edit and view roles in the Namespace.

A vSphere administrator is required to provide a developer with read/write permissions on a vSphere Namespace.

A.
It is a Kubernetes cluster deployed by developers using a YAML specification file.
A.
It is a Kubernetes cluster deployed by developers using a YAML specification file.
Answers
B.
It aggregates hosts across vSphere clusters to form a Kubernetes cluster on vSphere.
B.
It aggregates hosts across vSphere clusters to form a Kubernetes cluster on vSphere.
Answers
C.
It enables vSphere High Availability and Distributed Resource Scheduler.
C.
It enables vSphere High Availability and Distributed Resource Scheduler.
Answers
D.
It exposes a Kubernetes API for use by DevOps teams.
D.
It exposes a Kubernetes API for use by DevOps teams.
Answers
Suggested answer: B

On which cluster can a Supervisor Namespace be created?

A.
A Tanzu Kubernetes Grid Integrated cluster
A.
A Tanzu Kubernetes Grid Integrated cluster
Answers
B.
A vSphere 7 cluster enabled with Workload Management
B.
A vSphere 7 cluster enabled with Workload Management
Answers
C.
A Tanzu Kubernetes cluster
C.
A Tanzu Kubernetes cluster
Answers
D.
A vSphere 6.7 cluster enabled with Workload Management
D.
A vSphere 6.7 cluster enabled with Workload Management
Answers
Suggested answer: B

Explanation:

A Supervisor Cluster namespace is a combination of resource allocations and permissions set within the Supervisor Cluster. When you create a Supervisor Namespace, you’ll assign who has access to use it, and how many of the ESXi cluster’s resources you can use (much like a resource pool).

When you enabled the Workload Management components, you created a special Kubernetes cluster called the “Supervisor Cluster”. You can continue to deploy virtual machines in this cluster, and you can also deploy kubernetes pods as a “pod vm” which is basically a container with some special wrapping so they are better isolated, like a virtual machine is.

Which command provides valid syntax to deploy a vSphere Pod?

A.
tkg apply -c containerName
A.
tkg apply -c containerName
Answers
B.
docker run containerName
B.
docker run containerName
Answers
C.
kubectl apply -f deployment.yaml
C.
kubectl apply -f deployment.yaml
Answers
D.
kubectl apply -t deployment.yaml
D.
kubectl apply -t deployment.yaml
Answers
Suggested answer: C

Explanation:

You can deploy an application on a namespace on a Supervisor Cluster. Once the application is deployed, the respective number of vSphere Pods are created on the Supervisor Cluster within the namespace.

Common kubectl commands include the apply, get, describe, and delete commands:

• The kubectl apply command applies the contents of a YAML file. Typically, this command is used to create a pod or deployment: — kubectl apply -f /path/to/my.yaml

• The kubectl get command returns basic information about an object: — kubectl get pod

<pod_name_name>

Which statement describes a characteristic of Supervisor Cluster control plane VMs?

A.
Manage the lifecycle of ESXi hosts
A.
Manage the lifecycle of ESXi hosts
Answers
B.
Are manually created by a vSphere administrator
B.
Are manually created by a vSphere administrator
Answers
C.
Host developer workloads
C.
Host developer workloads
Answers
D.
Run system and infrastructure pods
D.
Run system and infrastructure pods
Answers
Suggested answer: D

Explanation:

The Supervisor Cluster provides the management layer on which Tanzu Kubernetes clusters are built.

The Tanzu Kubernetes Grid Service is a custom controller manager with a set of controllers that is part of the Supervisor Cluster. The purpose of the Tanzu Kubernetes Grid Service is to provision Tanzu Kubernetes clusters.

While there is a one-to-one relationship between the Supervisor Cluster and the vSphere cluster, there is a one-to-many relationship between the Supervisor Cluster and Tanzu Kubernetes clusters.

You can provision multiple Tanzu Kubernetes clusters within a single Supervisor Cluster. The workload management functionality provided by the Supervisor Cluster gives you control over the cluster configuration and lifecycle, while allowing you to maintain concurrency with upstream Kubernetes.

The creation of which object by an administrator in the vSphere client automatically results in the creation of a new segment within NSX -T?

A.
Service
A.
Service
Answers
B.
Pod
B.
Pod
Answers
C.
Network policy
C.
Network policy
Answers
D.
Namespace
D.
Namespace
Answers
Suggested answer: D

Explanation:

NSX Container Plugin (NCP) runs as a pod on the control plane VMs. It listens for requests for network objects to the API server and interfaces with the NSX Manager to create, update, or delete those objects:

• A request to create a namespace results in a new NSX segment.

• A request to deploy a pod results in a segment port request and IP assignment.

• A request to create a service results in a new virtual server.

• A request to create a network policy results in a new distributed firewall rule.

Total 124 questions
Go to page: of 13