KCNA · Question #71
Which of the following best describes horizontally scaling an application deployment?
The correct answer is C. The act of adding/removing application instances of the same application to meet demand. Horizontal scaling involves increasing or decreasing the number of identical application instances to handle fluctuating workload demands.
Question
Which of the following best describes horizontally scaling an application deployment?
Options
- AThe act of adding/removing node instances to the cluster to meet demand.
- BThe act of adding/removing applications to meet demand.
- CThe act of adding/removing application instances of the same application to meet demand.
- DThe act of adding/removing resources to application instances to meet demand.
How the community answered
(19 responses)- A11% (2)
- B5% (1)
- C84% (16)
Why each option
Horizontal scaling involves increasing or decreasing the number of identical application instances to handle fluctuating workload demands.
Adding or removing node instances is horizontal scaling at the infrastructure level, not specifically for an application deployment itself.
Adding or removing different applications does not constitute scaling a single application deployment.
Horizontally scaling an application in Kubernetes means increasing or decreasing the number of running pods (application instances) for a specific deployment to distribute the load across multiple instances. This method ensures the application can handle varying traffic without increasing the resources of individual instances.
Adding or removing resources (like CPU or memory) to existing application instances is vertical scaling, not horizontal scaling.
Concept tested: Horizontal vs. Vertical Scaling
Source: https://kubernetes.io/docs/concepts/workloads/controllers/horizontal-pod-autoscaler/
Topics
Community Discussion
No community discussion yet for this question.