2V0-21.23 Question 357
Single answerYou are managing a VMware vSphere with Tanzu environment. The development team has deployed multiple Kubernetes namespaces, and your organization requires you to back up and restore the namespace objects and persistent data within the environment. Which solution or approach is the most appropriate for achieving this?
- A
Use a Kubernetes-native backup solution like Velero to back up and restore namespaces and persistent volumes.
- B
Use vSphere High Availability (HA) to back up and restore Kubernetes workloads.
- C
Leverage vSphere Data Protection (VDP) to back up and restore the vSphere with Tanzu environment.
- D
Use the built-in vSphere with Tanzu backup and restore tool to back up and restore Kubernetes workloads.
Show answer and explanation
Correct answer: A
Explanation
Backing up and restoring Kubernetes workloads, including namespaces and persistent volumes in a vSphere with Tanzu environment, requires a Kubernetes-native tool like Velero. Velero integrates with Kubernetes to back up configuration data and persistent storage, which is essential for ensuring the recoverability of workloads in a Tanzu-enabled environment. Other options, such as vSphere HA or deprecated tools like VDP, are not appropriate for Kubernetes-specific backup and restore tasks.
- A. Correct.
Velero is a Kubernetes-native backup solution that supports backing up and restoring namespaces, including their objects and persistent volumes, in a vSphere with Tanzu environment. It is the most suitable option for this use case.
- B. Incorrect.
vSphere High Availability (HA) is designed for VM-level protection in case of host or VM failures. It does not provide functionality for backing up or restoring Kubernetes namespaces or persistent volumes.
- C. Incorrect.
vSphere Data Protection (VDP) is a deprecated backup solution and does not support Kubernetes-native workloads or namespaces in vSphere with Tanzu.
- D. Incorrect.
vSphere with Tanzu does not include a built-in backup and restore tool specifically for Kubernetes workloads. External tools like Velero are required for this purpose.