2V0-71.23 exam dumps

2V0-71.23 practice question 33 of 355

VMware Certified Professional - Tanzu for Kubernetes Operations 2024. Associate level, VMware. Free question with the correct answer and a full explanation.

2V0-71.23 Question 33

Select 3

A platform engineer is deploying a stateful application on a Kubernetes cluster managed by VMware Tanzu. The application requires persistent storage and must be accessible through a specific network IP address. Which Kubernetes concepts should the engineer utilize for this deployment?

  1. A

    PersistentVolume and PersistentVolumeClaim

  2. B

    StatefulSet

  3. C

    Service of type LoadBalancer

  4. D

    DaemonSet

  5. E

    NetworkPolicy

Show answer and explanation

Correct answers: A, B, C

Explanation

To successfully deploy a stateful application in Kubernetes, the engineer must use PersistentVolume and PersistentVolumeClaim to manage persistent storage, a StatefulSet to ensure stable identities and storage for Pods, and a Service of type LoadBalancer to allow external network access to the application. DaemonSet and NetworkPolicy are not directly relevant to the requirements stated in the scenario.

  • A. Correct.

    PersistentVolume (PV) and PersistentVolumeClaim (PVC) are essential for provisioning and managing persistent storage for stateful applications in Kubernetes.

  • B. Correct.

    StatefulSet is the correct Kubernetes resource for managing stateful applications since it provides stable network identities and persistent storage using PVCs.

  • C. Correct.

    A Service of type LoadBalancer is required to ensure the application can be accessed from outside the cluster using a specific IP address.

  • D. Incorrect.

    DaemonSet is used for ensuring a specific Pod runs on all or some nodes in the cluster. It is not relevant for managing persistent storage or network accessibility for stateful applications.

  • E. Incorrect.

    NetworkPolicy is used to define network traffic rules for Pods, but it does not address persistent storage or external accessibility requirements.

Timed practice exam

Take a 2V0-71.23 practice test under exam conditions

63 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam