Microservice Architecture · interview question
How does Kubernetes achieve auto-scaling of microservices?
Multiple choiceMediumchapter-18-curatedpremiummicroservice-architecturekubernetes-orchestration
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.
More Microservice Architecture questions
- In a microservices architecture using Kafka, what is a typical approach to manage distributed transactions?
- Which of the following best describes the concept of immutable Docker images?
- In the context of microservices, what challenge does Eventual Consistency address?
- How would you explain a key consideration when implementing distributed tracing in a microservices architecture in an…
- How does using Apache Kafka contribute to the resilience of a microservices architecture?
- Which Kubernetes feature is crucial for achieving self-healing in a microservices environment?