Flashcardsfor IT Certifications

D3: Pod Autoscaling & Autopilot Resource Requests

Google Cloud Associate Cloud Engineer exam practice questions · 12 flashcards

Question
What is the Horizontal Pod Autoscaler (HPA)?
1 / 12

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

Last updated: · Report an error on this page

Show all 12 Pod Autoscaling & Autopilot Resource Requests practice questions and answers
  1. What is the Horizontal Pod Autoscaler (HPA)?
    Scales the number of Pod replicas based on CPU, memory, custom or external metrics.
  2. How do you create an HPA?
    kubectl autoscale deployment NAME --cpu-percent=60 --min=2 --max=10.
  3. What is the Vertical Pod Autoscaler (VPA)?
    Adjusts Pod CPU/memory requests based on usage.
  4. VPA update modes?
    Off (recommend only), Initial (on creation) and Auto/Recreate.
  5. Can HPA and VPA both act on CPU for the same workload?
    Avoid it; they conflict. Use multidimensional autoscaling or different metrics.
  6. What does HPA need to work on CPU?
    Pods must have CPU requests defined.
  7. How is Autopilot billed?
    By the CPU, memory and storage resources Pods request.
  8. What if requests aren't set in Autopilot?
    Autopilot applies default requests.
  9. How does Autopilot treat limits?
    Limits are generally set equal to requests.
  10. What are Autopilot compute classes?
    Options like Balanced, Scale-Out, Performance and Accelerator for different workload needs.
  11. Why right-size Autopilot requests?
    Over-requesting costs money; under-requesting causes throttling or eviction.
  12. HPA vs cluster autoscaler?
    HPA scales Pods; cluster autoscaler scales nodes.