Skip to content

Autoscaling Questions

Practice questions for Autoscaling topic in Kubernetes and Cloud Native Associate. 16 questions covering this domain.

16 questions2 easy10 medium4 hard
Q1
hard

Pods are pending because the scheduler cannot place them due to insufficient cluster capacity. Which autoscaling component is designed to react by adj...

Q2
medium

Application demand rises, and a team wants the number of Pod replicas to change automatically based on observed metrics. Which Kubernetes autoscaling ...

Q3
hard

A data processing workload scales based on the depth of a message queue rather than CPU usage. The team wants Kubernetes to automatically scale the De...

Q4
medium

A team observes that their application Pods have consistently requested too much CPU and memory because initial estimates were too high. They want Kub...

Q5
hard

An HPA watches two metrics. One metric suggests 6 replicas and the other suggests 10. What desired replica count does Kubernetes choose?

Q6
medium

A team configures an HPA on CPU utilization, but the containers in the Deployment have no CPU requests set. What problem should they expect?

Q7
easy

A team attaches a HorizontalPodAutoscaler to a DaemonSet and waits for replica changes. Why will that not work?

Q8
medium

Replica count keeps jumping up and down every minute because incoming load is noisy. Which HPA feature is designed to reduce that flapping?

Q9
medium

An HPA is configured with scale-down policies: one allowing 10% of current replicas removed per minute, and another allowing 4 replicas removed per mi...

Q10
hard

An HPA is configured to scale Deployments based on CPU utilization. When Pods startup, they consume 100% CPU for 30 seconds while warming up. The HPA ...

Q11
medium

An HPA is configured with tolerance: 0.10 (10%). The target CPU utilization is 70%, and current utilization is 75%. Will the HPA scale up?

Q12
medium

An HPA with minReplicas: 2 and maxReplicas: 10 is scaling a Deployment. The metric indicates scale-down is needed. The HPA behavior specifies a stabil...

Q13
medium

An engineer attaches an HPA to a DaemonSet that runs one monitoring Pod per node. Why is this a poor fit?

Q14
medium

An HPA watches both CPU and a custom queue length metric. CPU suggests 4 replicas, while queue length suggests 7 replicas. What replica count does the...

Q15
medium

An HPA has scaleDown stabilizationWindowSeconds set to 300. What effect does that have when metrics briefly dip?

Q16
easy

Which common Kubernetes add-on usually provides the metrics.k8s.io API that HPA uses for CPU and memory resource metrics?

Sign in to see all 16 questions

Create a free account to browse the questions included with the free plan.