VMware 5V0-23.20 Practice Test - Questions Answers, Page 6
List of questions
Question 51
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A development team has deployed a Tanzu Kubernetes cluster and would like to verify the version of Kubernetes that is running. Which command will show this information?
Explanation:
Print the client and server version information.
Synopsis
Print the client and server version information. kubectl version
Question 52
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Which object provides user access to applications running on vSphere with Tanzu?
Explanation:
External HTTP(S) Load Balancing is a proxy-based Layer 7 load balancer that enables you to run andscale your services behind a single external IP address.
Question 53
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
How is the storage selected for the Harbor pods when the embedded Harbor image registry is enabled?
Explanation:
Enabling Harbor Image Registry
The vSphere administrator uses the vSphere Client to enable Harbor. To enable this component, select a cluster, select Configure > Namespaces > Image Registry, and click ENABLE HARBOR:
• A VM Storage Policy is required to allocate storage for the Harbor pods.
• An IP Address, based on the ingress CIDR range, is allocated for the Harbor management interface.
• After a few minutes, Harbor is deployed and running. 184
Question 54
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Which process should be used to upgrade the vSphere with Tanzu Supervisor Cluster?
Explanation:
From the vSphere Client menu, select Workload Management.
Select the Updates tab.
Select the Available Version that you want to update to.
For example, select the version v1.17.4-vsc0.0.2-16293900.
Select the Supervisor Cluster to apply the update to.
To initiate the update, click Apply Updates.
Use the Recent Tasks pane to monitor the status of the update.
Question 55
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
How can you remove unreferenced container images from a project in an embedded Registry Service?
Explanation:
Deleting Artifact:
When an artifact is not referenced by any OCI index, you can delete the artifact freely which will delete its manifest and all associated tags.
When an artifact is referenced by an OCI index, you cannot delete it. In order to delete this artifact, you must first delete all OCI indexes referencing this artifact first, remembering that an artifact can be referenced by multiple parents artifacts pushed onto Harbor by different users. So when deleting an OCI index holding 9 children artifacts not referenced by any other index and 1 child artifact referenced by another index, only 9 out of 10 children artifacts will be deleted.
To delete any artifact in the Harbor interface, click on the artifact and select ‘Delete’ and confirm.
Not Purge:
As a vSphere administrator, you can purge the images for a project in the private image registry by request from DevOps engineers. Purging images from the private image registry deletes all references to the images made by pods, but it does not remove the images from the image registry.
Question 56
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
What is the minimum number of virtual distributed portgroups that must be configured on the vSphere Distributed Switch before enabling Workload Management using the vSphere networking stack and a HAProxy load balancer?
Question 57
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Which three elements should be configured by a vSphere administrator after creating vSphere Namespace? (Choose three.)
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 58
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
The application development team is pushing a Kubernetes application into production. I consists of an application server and a database. The team wants to ensure that only the production application server can access the production database.
Can the development team meet this requirement using Kubernetes Network Policy?
Explanation:
If you want to control traffic flow at the IP address or port level (OSI layer 3 or 4), then you might consider using Kubernetes NetworkPolicies for particular applications in your cluster.
NetworkPolicies are an application-centric construct which allow you to specify how a pod is allowed to communicate with various network "entities" (we use the word "entity" here to avoid overloading the more common terms such as "endpoints" and "services", which have specific Kubernetes connotations) over the network. NetworkPolicies apply to a connection with a pod on one or both ends, and are not relevant to other connections.
Question 59
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Which type of service is created by default when publishing a Kubernetes service?
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.
Question 60
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Which kubectl command should be used to change the active vSphere namespace to namespace-01?
Explanation:
A context element in a kubeconfig file is used to group access parameters under a convenient name.
Each context has three parameters: cluster, namespace, and user. By default, the kubectl commandline tool uses parameters from the current context to communicate with the cluster.
To choose the current context: kubectl config use-context ctx001
Question