2V0-71.23 exam dumps

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

Select 3

You are managing a Tanzu Kubernetes cluster and need to implement a backup and restore strategy. The cluster is running workloads with persistent volumes and critical configurations stored in Kubernetes objects such as ConfigMaps and Secrets. Which actions should you take to ensure a comprehensive backup and restore process?

  1. A

    Use Velero to back up and restore both cluster metadata (e.g., ConfigMaps, Secrets) and persistent volumes.

  2. B

    Manually copy all the YAML definitions of Kubernetes objects to a local machine for backup.

  3. C

    Enable persistent volume snapshots through the cloud provider's storage service and integrate them with Velero.

  4. D

    Use kubectl to export logs from all pods and store them as part of the backup.

  5. E

    Ensure the etcd database is included in the backup process for restoring cluster state.

  6. F

    Back up only the application container images since they are the most critical component.

Show answer and explanation

Correct answers: A, C, E

Explanation

A comprehensive backup and restore strategy for a Tanzu Kubernetes cluster includes backing up cluster state (etcd), configuration objects (e.g., ConfigMaps, Secrets), and persistent data stored in persistent volumes. Velero is a widely used tool for Kubernetes backups that supports these requirements. Persistent volume snapshots further enhance data backup capabilities, especially for dynamic workloads. Other actions, such as exporting logs or relying solely on container images, do not provide sufficient coverage for a proper backup and restore process.

  • A. Correct.

    Velero is a popular tool for Kubernetes cluster backups. It can back up cluster metadata, such as ConfigMaps and Secrets, and also supports persistent volume backup, providing a comprehensive solution.

  • B. Incorrect.

    Manually copying YAML definitions is not a scalable or reliable backup approach, as it does not account for dynamic data changes or persistent volumes.

  • C. Correct.

    Persistent volume snapshots through a cloud provider's storage service ensure that data stored in persistent volumes is captured. Integrating these with Velero provides a streamlined backup and restore process.

  • D. Incorrect.

    Exporting pod logs is not a proper backup strategy for clusters. Logs are primarily for debugging and observability and do not represent the cluster state or configurations.

  • E. Correct.

    Backing up the etcd database is essential because etcd stores the cluster state, including API objects like ConfigMaps, Secrets, and other metadata. This is critical for a full cluster restore.

  • F. Incorrect.

    Backing up only container images is insufficient. Container images can be recreated using CI/CD pipelines and registries, but they do not include cluster state, configuration, or persistent data, which are critical for restoration.

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