2V0-71.23 exam dumps

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

Single answer

Your organization uses VMware Tanzu to manage Kubernetes clusters and deploy applications. As part of an application lifecycle management strategy, you are tasked with deploying a microservices-based application that requires scaling, version control, and rollback capabilities. Which Kubernetes resource is best suited to achieve these requirements?

  1. A

    Deployment

  2. B

    Pod

  3. C

    ConfigMap

  4. D

    StatefulSet

Show answer and explanation

Correct answer: A

Explanation

The Deployment resource in Kubernetes is specifically designed to manage the lifecycle of stateless applications, including features like scaling, rolling updates, and rollback capabilities. It provides a declarative way to manage workloads, making it the best choice for deploying a microservices-based application that requires these functionalities.

  • A. Correct.

    Deployments are designed for managing application lifecycle tasks, such as scaling, rolling updates, and rollbacks. They are ideal for stateless applications and support version control.

  • B. Incorrect.

    Pods are the basic units in Kubernetes but lack built-in capabilities for scaling, updates, or rollbacks. They are typically managed by higher-level resources like Deployments.

  • C. Incorrect.

    ConfigMaps are used for managing configuration data and do not handle application deployment, scaling, or updates.

  • D. Incorrect.

    StatefulSets are used for stateful applications, such as databases, and focus on maintaining stable network identities and storage. They are not the best choice for stateless microservices requiring scaling and rollbacks.

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