2V0-71.23 exam dumps

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

Select 3

You are deploying a mission-critical application on a Kubernetes cluster managed by VMware Tanzu. The application experiences varying levels of traffic throughout the day, requiring it to automatically scale based on resource usage. Which of the following configurations would enable autoscaling for this application effectively?

  1. A

    Set up a Horizontal Pod Autoscaler (HPA) based on CPU utilization metrics.

  2. B

    Deploy a Vertical Pod Autoscaler (VPA) to dynamically adjust pod CPU and memory requests.

  3. C

    Manually monitor resource usage and scale pods using the kubectl scale command.

  4. D

    Configure custom metrics in Kubernetes and integrate them with the Horizontal Pod Autoscaler (HPA).

  5. E

    Enable Cluster Autoscaler to automatically add or remove worker nodes based on the cluster's resource demands.

Show answer and explanation

Correct answers: A, B, D

Explanation

To enable effective application autoscaling in a Kubernetes cluster managed by VMware Tanzu, you can use Horizontal Pod Autoscaler (HPA) for scaling pods based on metrics like CPU, memory, or custom-defined metrics. Additionally, Vertical Pod Autoscaler (VPA) ensures that individual pods have appropriate resource allocations to handle traffic variations. Custom metrics integration with HPA further enhances scaling capabilities. While Cluster Autoscaler is useful for managing worker node resources, it is not directly responsible for application-level autoscaling.

  • A. Correct.

    Correct. Horizontal Pod Autoscaler (HPA) allows the application to scale out (or in) by dynamically adjusting the number of pod replicas based on metrics like CPU or memory utilization.

  • B. Correct.

    Correct. Vertical Pod Autoscaler (VPA) adjusts resource requests like CPU and memory for individual pods, ensuring optimal performance during varying traffic loads.

  • C. Incorrect.

    Incorrect. Manually scaling pods may address resource demands temporarily, but it does not enable automatic scaling, which is the core requirement in this scenario.

  • D. Correct.

    Correct. Custom metrics can be configured to work with HPA, allowing the application to scale based on specific business or application metrics in addition to standard CPU/memory metrics.

  • E. Incorrect.

    Incorrect. While Cluster Autoscaler adjusts the number of worker nodes in the cluster, it does not directly handle application autoscaling. It is a complementary feature rather than a direct solution for this scenario.

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