QuizzesAutoscaling — HPA, VPA & Cluster Autoscaler — Concept Check
intermediate
kubernetes

Autoscaling — HPA, VPA & Cluster Autoscaler — Concept Check

Questions on Autoscaling — HPA, VPA & Cluster Autoscaler. Kubernetes has three autoscaling dimensions: HPA scales pod replicas based on CPU/memory/custom metrics, VPA adjusts pod resource requests, and Cluster Autoscaler adds/removes nodes based on pending pods.

7 minutes 7 questions Pass at 70%
Time Limit
7 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

7 questions on Autoscaling — HPA, VPA & Cluster Autoscaler — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.Your application is experiencing high CPU usage and you have an HPA configured with a target CPU utilization of 70%. What will the HPA do?

    • ADecrease the number of pod replicas to balance the load
    • BScale down the nodes in the cluster
    • CIncrease the number of pod replicas to reduce CPU usage per pod
    • DAdjust the CPU requests for each pod
  2. 2.A Kubernetes cluster has several pods in a Pending state due to insufficient nodes. What action will the Cluster Autoscaler take?

    • AAdjust pod resource requests
    • BRemove underutilized nodes
    • CAdd more nodes to the cluster
    • DIncrease pod replicas
  3. 3.You notice that your application is over-provisioned with resources. Which autoscaler should you use to optimize resource requests?

    • AKEDA
    • BCluster Autoscaler
    • CHorizontal Pod Autoscaler
    • DVertical Pod Autoscaler
  4. 4.An application uses KEDA to scale based on Kafka consumer lag. What happens when there are no messages in the topic?

    • AThe deployment scales up to handle potential spikes
    • BThe deployment scales based on CPU usage
    • CThe deployment scales to zero replicas
    • DThe deployment maintains a minimum of one replica
  5. 5.You have configured an HPA with a custom metric for HTTP requests per second. What is required for this setup?

    • APrometheus Adapter or KEDA
    • BMetrics Server only
    • CCluster Autoscaler
    • DVertical Pod Autoscaler
  6. 6.A node in your cluster is underutilized for over 10 minutes. What will the Cluster Autoscaler do?

    • AAdjust resource requests of pods on the node
    • BAdd more nodes to balance the load
    • CIncrease pod replicas on the node
    • DRemove the node to reduce costs
  7. 7.A common belief is that HPA can adjust pod resource requests directly. What is the truth?

    • AHPA requires no additional components
    • BHPA scales pod replicas, not resource requests
    • CHPA adjusts both replicas and resource requests
    • DHPA only works with CPU metrics