Q30 — AWS DOP-C02 Ch.3
Question 30 of 100 | ← Chapter 3
A company runs applications on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. The EKS cluster uses an Application Load Balancer to route traffic to applications running in the cluster. A newly migrated application performs poorly. All other applications in the EKS cluster continue operating normally. After deployment, the new application immediately scales horizontally to its preconfigured maximum number of pods before any user traffic is routed to the web application.
- A. Implement Horizontal Pod Autoscaler (HPA) in the EKS cluster.
- B. Implement Vertical Pod Autoscaler (VPA) in the EKS cluster. ✓
- C. Implement Cluster Autoscaler.
- D. Implement AWS Load Balancer Controller in the EKS cluster.
Correct Answer: B. Implement Vertical Pod Autoscaler (VPA) in the EKS cluster.
Explanation
Automatic scaling in Amazon EKS involves both horizontal and vertical mechanisms. The scenario describes a new application scaling horizontally to its maximum pod count immediately after deployment, likely due to misconfigured resource requests. Vertical Pod Autoscaler (VPA) dynamically adjusts resource allocation (e.g., CPU and memory) for individual pods, ensuring adequate resources per pod and preventing unnecessary horizontal scaling triggered by initial resource insufficiency. Option B addresses pod-level resource tuning; option A handles pod count scaling. Other options relate to cluster or load balancer configuration and are not directly relevant to the described issue. AWS documentation states VPA is suitable for optimizing resource utilization.