Flashcardsfor IT Certifications

D3: Horizontal Pod Autoscaler

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
What does HPA do?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Horizontal Pod Autoscaler practice questions and answers
  1. What does HPA do?
    Scales the number of Pod replicas based on metrics.
  2. Required for CPU-based HPA?
    CPU resource requests on containers.
  3. Basic HPA command?
    kubectl autoscale deployment NAME --cpu-percent=60 --min=2 --max=10.
  4. HPA metric types?
    Resource (CPU/memory), custom, and external metrics.
  5. Example external metric?
    Pub/Sub subscription backlog.
  6. What are minReplicas and maxReplicas?
    Bounds on scaling.
  7. What is the behavior field?
    Controls scale-up/down rates and stabilization windows.
  8. Why stabilization windows?
    Prevent flapping from rapid scale changes.
  9. HPA vs cluster autoscaler?
    HPA scales Pods; cluster autoscaler adds nodes for pending Pods.
  10. HPA vs VPA?
    HPA changes replica count; VPA changes Pod resource requests.