ExamGecko
Home Home / VMware / 5V0-23.20

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

Question list
Search
Search

Why would an organization set up private image registries?

A.
Role-based access control can be assigned by integrating the image registry with user identity management.
A.
Role-based access control can be assigned by integrating the image registry with user identity management.
Answers
B.
DevOps engineers are able to store virtual machine images in a central location.
B.
DevOps engineers are able to store virtual machine images in a central location.
Answers
C.
Open source registry server projects enable organizations to modify them as necessary.
C.
Open source registry server projects enable organizations to modify them as necessary.
Answers
D.
Public image registries lack enterprise support.
D.
Public image registries lack enterprise support.
Answers
Suggested answer: A

Explanation:

VMware created Harbor in 2014. Harbor was shared with the community through an open-source license in 2016 and donated to the Cloud Native Computing Foundation (CNCF) in 2018.

Harbor is integrated into VMware products: vSphere Integrated Containers, Tanzu Kubernetes Grid Integrated Edition, and vSphere with Tanzu. The embedded Harbor for vSphere with Tanzu includes the following features: • Identity integration and role-based access control

• Graphical user interface

• Auditing of operations

• Management with labels

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?

A.
3
A.
3
Answers
B.
1
B.
1
Answers
C.
4
C.
4
Answers
D.
2
D.
2
Answers
Suggested 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.

Where is a storage policy applied to enable Persistent Volumes?

A.
Namespace
A.
Namespace
Answers
B.
Datastore
B.
Datastore
Answers
C.
Virtual Machine
C.
Virtual Machine
Answers
D.
Cluster
D.
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.

Developers can list the available storage classes in their namespace by running the kubectl describe ns <namespace-name> command.

The virtualization team supports many development teams on a Supervisor cluster. For a specific development team, they would like to limit persistent volumes that can be created on Tanzu Kubernetes clusters to only an NFS based storage array.

Which action should be taken to accomplish this goal?

A.
Use kubectl to create a storage class in the Supervisor cluster.
A.
Use kubectl to create a storage class in the Supervisor cluster.
Answers
B.
Set a resource quota limiting the number of PVCs for that development team.
B.
Set a resource quota limiting the number of PVCs for that development team.
Answers
C.
Add a storage policy to that development team's Supervisor Namespace containing only the NFS datastore
C.
Add a storage policy to that development team's Supervisor Namespace containing only the NFS datastore
Answers
D.
Disconnect non-NFS datastores from the ESXi hosts that make up the Supervisor cluster.
D.
Disconnect non-NFS datastores from the ESXi hosts that make up the Supervisor cluster.
Answers
Suggested answer: C

Explanation:

The storage policy would become a storage class in Kubernetes.

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

A.
kubect1 get resourcequotas
A.
kubect1 get resourcequotas
Answers
B.
kubect1 config get-resourcequotas limits
B.
kubect1 config get-resourcequotas limits
Answers
C.
kubect1 list resourcequotas
C.
kubect1 list resourcequotas
Answers
D.
kubect1 describe resourcequotas
D.
kubect1 describe resourcequotas
Answers
Suggested answer: A

Explanation:

Create the ResourceQuota:

kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml --namespace=quotamem- cpu-example

View detailed information about the ResourceQuota:

kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml

Which is a valid version change for a Tanzu Kubernetes cluster running Kubernetes version 1.16.7?

A.
Upgrade one major version (e.g.. 2.0.1)
A.
Upgrade one major version (e.g.. 2.0.1)
Answers
B.
Upgrade two minor versions (e.g., 1.18.0)
B.
Upgrade two minor versions (e.g., 1.18.0)
Answers
C.
Downgrade one patch version (e.g.. 1.16.5)
C.
Downgrade one patch version (e.g.. 1.16.5)
Answers
D.
Upgrade one minor version (e.g.. 1.17.0)
D.
Upgrade one minor version (e.g.. 1.17.0)
Answers
Suggested answer: D

Explanation:

Be aware of the following constraints when upgrading your cluster.

You can upgrade a cluster up to one minor version of Kubernetes from its current version. If necessary, you can perform subsequent upgrades to move the version forward.

Upgrading your version of Kubernetes is a one-way operation. You cannot subsequently downgrade the Kubernetes version, or undo an upgrade.

What is the minimum number of portgroups needed, in addition to the management portgroup. to provide connectivity for external services on a Supervisor Cluster?

A.
1
A.
1
Answers
B.
4
B.
4
Answers
C.
3
C.
3
Answers
D.
2
D.
2
Answers
Suggested answer: A

A developer is trying to deploy a Kubernetes Application into a namespace within a Supervisor Cluster The deployment must utilize the latest assets that have been pushed into the Registry Service.

What should the developer add to the YAML file to ensure that the deployment is successful?

A.
image: /<namespace>/<image name>:latest
A.
image: /<namespace>/<image name>:latest
Answers
B.
template: <image registry url>/<namespace name>/<image name> : latest
B.
template: <image registry url>/<namespace name>/<image name> : latest
Answers
C.
image: <image registry url>/<namespace name>/<image name>:latest
C.
image: <image registry url>/<namespace name>/<image name>:latest
Answers
D.
template: /<namespace name>/<image name>:latest
D.
template: /<namespace name>/<image name>:latest
Answers
Suggested answer: C

Explanation:

Create an example pod spec with the details about the private registry.

apiVersion: v1

kind: Pod

metadata:

name: <workload-name>

namespace: <kubernetes-namespace>

spec:

containers:

- name: private-reg-container

image: <Registry-IP-Address>/<vsphere-namespace>/<image-name>:<version>

imagePullSecrets:

- name: <registry-secret-name>

Replace <workload-name> with the name of the pod workload.

Replace <kubernetes-namespace> with the Kubernetes namespace in the cluster where the pod will be created. This must be the same Kubernetes namespace where the Registry Service image pull secret is stored in the Tanzu Kubernetes cluster (such as the default namespace).

Replace <Registry-IP-Address> with the IP address for the embedded Harbor Registry instance running on the Supervisor Cluster.

Replace <vsphere-namespace> with the vSphere Namespace where the target Tanzu Kubernetes is provisioned.

Replace <image-name> with an image name of your choice.

Replace <version> with an appropriate version of the image, such as "latest".

Replace <registry-secret-name> with the name of the Registry Service image pull secret that you created previously.

Which requirement is valid for vSphere with Tanzu on vSphere Distributed Switch Network?

A.
Workload networks that are routable to the primary workload network
A.
Workload networks that are routable to the primary workload network
Answers
B.
HAProxy Virtual Server IP range that is allocated to NSX-T edge router external interface
B.
HAProxy Virtual Server IP range that is allocated to NSX-T edge router external interface
Answers
C.
Network Interface Cards with Single Root IO Visualization Support (SR-IOV)
C.
Network Interface Cards with Single Root IO Visualization Support (SR-IOV)
Answers
D.
HAProxy Frontend hterface that has a common subnet and bridged interface to workload networks
D.
HAProxy Frontend hterface that has a common subnet and bridged interface to workload networks
Answers
Suggested answer: B

Which open-source project extends the Docker registry source code to provide an enterprise-class registry server?

A.
Namespace
A.
Namespace
Answers
B.
Manifest
B.
Manifest
Answers
C.
Harbor
C.
Harbor
Answers
D.
Github
D.
Github
Answers
Suggested answer: C

Explanation:

VMware Harbor Registry

VMware Harbor Registry is an enterprise-class registry server that stores and distributes container images. Harbor allows you to store and manage images for use with VMware Tanzu Kubernetes Grid Integrated Edition (TKGI).

Overview

Harbor extends the open source Docker Distribution by adding the functionalities usually required by an enterprise, such as security, identity, and management. As an enterprise private registry, Harbor offers enhanced performance and security. Deploying a registry alongside the TKGI environment improves image management efficiency.

Total 124 questions
Go to page: of 13