
Explanation:
The Horizontal Pod Autoscaler (HPA) automatically scales the number of Pods in a replication controller, deployment, replica set, or stateful set based on observed CPU utilization (or other select metrics). This is the standard way to handle traffic increases in Kubernetes with minimal administrative overhead. Vertical Pod Autoscaler (VPA) adjusts the size (CPU/RAM) of existing pods, which usually requires a restart, making HPA better for scaling out to handle requests. Options A and C involve high overhead.
Ultimate access to all questions.
Question 27. A company has implemented a Kubernetes cluster on Amazon Elastic Kubernetes Service (Amazon EKS) to host a microservices-based application. The company expects application traffic to increase significantly for the next month and wants to prevent the application from crashing because of the high number of requests. Which solution will meet these requirements with the LEAST administrative overhead?
A
Create a second EKS cluster. Load balance the workload between the two clusters.
B
Implement the Kubernetes Horizontal Pod Autoscaler. Set a target CPU utilization percentage.
C
Migrate the application from Amazon EKS to Amazon EC2 for the next month. Migrate the application back to Amazon EKS when the month ends.
D
Implement the Kubernetes Vertical Pod Autoscaler. Set a target CPU utilization percentage.
E
None
F
None
No comments yet.