Skip to content
Sharp

Microservice Architecture · interview question

How does Kubernetes achieve auto-scaling of microservices?

Multiple choiceMediumchapter-18-curatedpremiummicroservice-architecturekubernetes-orchestration
Choose one answer
Answer and explanation

Correct answer

C. Using Horizontal Pod Autoscaler based on metrics like CPU usage

Why

Kubernetes uses the Horizontal Pod Autoscaler to automatically scale the number of pods in a deployment based on observed CPU utilization or other custom metrics. This allows applications to handle varying loads efficiently without manual intervention.

Test yourself on Microservice Architecture

A free test with instant, explained results. No account needed.

Start free test
All Microservice Architecture questions →