DevOps Quiz 74

Last Updated :
Discuss
Comments

Question 1

Which of the following is NOT a method of Kubernetes autoscaling?

  • Horizontal Pod Autoscaler (HPA)

  • Vertical Pod Autoscaler (VPA)

  • Cluster Autoscaler (CA)

  • Node Memory Balancer (NMB)

Question 2

Which metric is most commonly used by HPA for scaling?

  • Disk usage

  • Network latency

  • CPU usage

  • Number of users logged in

Question 3

Which component of VPA intercepts pod creation requests to set initial resources?

  • VPA Recommender

  • VPA Updater

  • VPA Admission Controller

  • Metrics Server

Question 4

Which YAML field specifies the cluster name for Cluster Autoscaler?

  • minReplicas

  • clusterName

  • tags

  • scaleTargetRef

Question 5

How can HPA cost optimization be achieved?

  • By tracking CPU and memory usage, monitoring scaling events, and refining thresholds

  • By manually adding pods during high traffic

  • By disabling Metrics Server

  • By removing nodes during peak traffic

Question 6

Which Kubernetes component collects metrics used by HPA and VPA?

  • Cluster Autoscaler

  • Metrics Server

  • VPA Updater

  • kube-proxy

Question 7

Your web app experiences sudden traffic spikes during flash sales. CPU usage frequently crosses 70%. You want the system to automatically handle more users without downtime. Which autoscaler would you configure?

  • Cluster Autoscaler

  • Vertical Pod Autoscaler (VPA)

  • Horizontal Pod Autoscaler (HPA)

  • kube-proxy

Question 8

You configured an HPA for your app with minReplicas: 2 and maxReplicas: 10, targeting 50% CPU utilization. CPU usage suddenly jumps to 80%. What happens next?

  • HPA scales down to 2 pods

  • HPA scales up, adding more pod replicas to reduce CPU usage

  • HPA ignores the spike

  • Cluster Autoscaler adds a new node

Question 9

You want Cluster Autoscaler to balance nodes evenly across similar groups when scaling. Which YAML field should you set?

  • clusterName

  • balanceSimilarNodeGroups

  • minReplicas

  • targetCPUUtilizationPercentage

Question 10

You want to minimize cloud costs while autoscaling. What is the best approach?

  • Ignore pod resource requests and let CA handle scaling

  • Properly define CPU and memory requests for pods, monitor usage, and refine HPA thresholds

  • Only use VPA and ignore HPA

  • Scale nodes manually

Tags:

There are 10 questions to complete.

Take a part in the ongoing discussion