ExamGecko
Home Home / VMware / 5V0-23.20

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

Question list
Search
Search

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?

A.
kubectl describe tkc dev-cluster
A.
kubectl describe tkc dev-cluster
Answers
B.
kubectl explain tkg dev-cluster
B.
kubectl explain tkg dev-cluster
Answers
C.
kubectl get version
C.
kubectl get version
Answers
D.
kubectl get vm dev-cluster
D.
kubectl get vm dev-cluster
Answers
Suggested answer: C

Explanation:

Print the client and server version information.

Synopsis

Print the client and server version information. kubectl version

Which object provides user access to applications running on vSphere with Tanzu?

A.
External load balancer
A.
External load balancer
Answers
B.
vSphere Distributed Switch
B.
vSphere Distributed Switch
Answers
C.
Round-robin DNS
C.
Round-robin DNS
Answers
D.
Internal load balancer
D.
Internal load balancer
Answers
Suggested answer: A

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.

How is the storage selected for the Harbor pods when the embedded Harbor image registry is enabled?

A.
vCenter Server automatically selects a local ESXi host datastore.
A.
vCenter Server automatically selects a local ESXi host datastore.
Answers
B.
An administrator selects a VM storage policy as part of enablement.
B.
An administrator selects a VM storage policy as part of enablement.
Answers
C.
vCenter Server automatically chooses a VM storage policy.
C.
vCenter Server automatically chooses a VM storage policy.
Answers
D.
An administrator selects a specific datastore as part of enablement.
D.
An administrator selects a specific datastore as part of enablement.
Answers
Suggested answer: B

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

Which process should be used to upgrade the vSphere with Tanzu Supervisor Cluster?

A.
Use the vSphere Client, navigate to Workload Management, and apply updates.
A.
Use the vSphere Client, navigate to Workload Management, and apply updates.
Answers
B.
Use kubectl, and apply an update manifest specification to the Supervisor Cluster.
B.
Use kubectl, and apply an update manifest specification to the Supervisor Cluster.
Answers
C.
Use the vSphere Client, navigate to vSphere lifecycle Manager, and apply updates
C.
Use the vSphere Client, navigate to vSphere lifecycle Manager, and apply updates
Answers
D.
Allow vSphere with Tanzu Supervisor Cluster to upgrade automatically when new versions are available.
D.
Allow vSphere with Tanzu Supervisor Cluster to upgrade automatically when new versions are available.
Answers
Suggested answer: A

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.

How can you remove unreferenced container images from a project in an embedded Registry Service?

A.
Delete images in Content Library.
A.
Delete images in Content Library.
Answers
B.
Use kubectl to delete the images.
B.
Use kubectl to delete the images.
Answers
C.
Delete the namespace using the vSphere Client.
C.
Delete the namespace using the vSphere Client.
Answers
D.
Purge a namespace using the vSphere Client.
D.
Purge a namespace using the vSphere Client.
Answers
Suggested answer: A

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.

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?

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

Which three elements should be configured by a vSphere administrator after creating vSphere Namespace? (Choose three.)

A.
Permissions
A.
Permissions
Answers
B.
Capacity and Usage limits
B.
Capacity and Usage limits
Answers
C.
License
C.
License
Answers
D.
Namespace name
D.
Namespace name
Answers
E.
Storage Policy
E.
Storage Policy
Answers
F.
NSX Segment
F.
NSX Segment
Answers
Suggested 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.

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?

A.
Yes, by using kubect1 to create a Network Policy that only allows pods on the same network segment to talk to each other.
A.
Yes, by using kubect1 to create a Network Policy that only allows pods on the same network segment to talk to each other.
Answers
B.
Yes. by logging in to NSX Manager and creating a firewall rules to only allow the production application server pod to talk to the database
B.
Yes. by logging in to NSX Manager and creating a firewall rules to only allow the production application server pod to talk to the database
Answers
C.
Yes, by using kubect1 to create a policy that disables pod to pod communication in the Namespace
C.
Yes, by using kubect1 to create a policy that disables pod to pod communication in the Namespace
Answers
D.
No, Kubernetes Network Policy does not support this action.
D.
No, Kubernetes Network Policy does not support this action.
Answers
Suggested answer: A

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.

Which type of service is created by default when publishing a Kubernetes service?

A.
Cluster IP
A.
Cluster IP
Answers
B.
Node Port
B.
Node Port
Answers
C.
LoadBalancer
C.
LoadBalancer
Answers
D.
ExternalName
D.
ExternalName
Answers
Suggested 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.

Which kubectl command should be used to change the active vSphere namespace to namespace-01?

A.
kubectl config use-context namespace-01
A.
kubectl config use-context namespace-01
Answers
B.
kubectl describe ns namespace-01
B.
kubectl describe ns namespace-01
Answers
C.
kubectl get ns namespace-01
C.
kubectl get ns namespace-01
Answers
D.
kubectl config change-context namespace-01
D.
kubectl config change-context namespace-01
Answers
Suggested answer: A

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

Total 124 questions
Go to page: of 13