2V0-71.23 exam dumps

2V0-71.23 practice question 28 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 28

Select 3

You are tasked with deploying a stateless application on a Kubernetes cluster using VMware Tanzu. The application requires high availability and must handle rolling updates with zero downtime. Which Kubernetes resource objects should you use to define and manage the application’s deployment lifecycle effectively?

  1. A

    Deployment

  2. B

    StatefulSet

  3. C

    ReplicaSet

  4. D

    Service

  5. E

    ConfigMap

Show answer and explanation

Correct answers: A, C, D

Explanation

To effectively manage the lifecycle of a stateless application in Kubernetes, you need a Deployment object for rolling updates and version control, a ReplicaSet to ensure high availability by maintaining the desired pod replicas, and a Service to expose the application and enable load balancing. StatefulSet and ConfigMap are not directly relevant to this use case.

  • A. Correct.

    Deployment is essential for managing stateless applications, as it provides rolling update capabilities, version control, and automated scaling.

  • B. Incorrect.

    StatefulSet is used for stateful applications that require stable network identities or persistent storage. It is not suitable for this stateless application scenario.

  • C. Correct.

    ReplicaSet ensures the desired number of pod replicas are running at all times, which is critical for high availability.

  • D. Correct.

    Service allows you to expose the application to external or internal traffic and provides load balancing, which is necessary for high availability and seamless updates.

  • E. Incorrect.

    ConfigMap is used to manage configuration data for applications but is not directly involved in managing the application’s deployment lifecycle.

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