Advanced Kubernetes
Q85 / 100

What is the difference between "horizontal scaling via HPA based on custom metrics" versus "based on CPU/memory metrics"?

Correct! Well done.

Incorrect.

The correct answer is B) CPU/memory-based HPA relies on the built-in Metrics Server, while custom metrics (e.g. requests per second) require an extra pipeline like Prometheus Adapter implementing the custom/external metrics APIs, enabling scaling on app-specific signals

B

Correct Answer

CPU/memory-based HPA relies on the built-in Metrics Server, while custom metrics (e.g. requests per second) require an extra pipeline like Prometheus Adapter implementing the custom/external metrics APIs, enabling scaling on app-specific signals

Explanation

Resource metrics (CPU/memory) come from the Metrics Server by default; scaling on custom or external metrics (like queue depth or request latency) requires registering additional APIs, commonly via the Prometheus Adapter, that the HPA controller can query.

Progress
85/100