Kcna Kubernetes And Cloud Native Associate · Free Practice Question Easy

Question 36

In a Kubernetes cluster, you're using a Horizontal Pod Autoscaler (HPA) to automatically scale your application based on CPU utilization. Which of the following metrics sources is not supported by HPA for scaling decisions?

  • A

    Prometheus metrics

  • B

    External metrics from an API

  • C

    User-provided values through ConfigMaps

  • D

    Memory utilization

  • E

    CPU utilization

Reveal correct answer

Correct answer: C

A.

Prometheus metrics can be used for scaling decisions in HPA when integrated properly.

B.

External metrics from an API can also be used for scaling decisions. You can configure HPA to scale based on these metrics.

C.

The Horizontal Pod Autoscaler (HPA) in Kubernetes can scale applications based on a variety of metrics like CPU and memory utilization, external metrics from APIs, or custom metrics from sources like Prometheus. However, it does not support user-provided values through ConfigMaps for making scaling decisions.

D.

Memory utilization is another metric that can be used for scaling with HPA, although it's worth noting that CPU utilization is generally more commonly used.

E.

CPU utilization is one of the most basic and commonly used metrics for scaling with HPA. Kubernetes natively supports this.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need