AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 149
A company runs applications in an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. The EKS cluster uses an Application Load Balancer to route traffic to the applications that run in the cluster.
A new application that was migrated to the EKS cluster is performing poorly. All the other applications in the EKS cluster maintain appropriate operation. The new application scales out horizontally to the preconfigured maximum number of pods immediately upon deployment, before any user traffic routes to the web application.
Which solution will resolve the scaling behavior of the web application in the EKS cluster?
Answer options
- A. Implement the Horizontal Pod Autoscaler in the EKS cluster.
- B. Implement the Vertical Pod Autoscaler in the EKS cluster.
- C. Implement the Cluster Autoscaler.
- D. Implement the AWS Load Balancer Controller in the EKS cluster.
Correct answer: B
Explanation
The correct answer is B, as the Vertical Pod Autoscaler adjusts the resource limits and requests for the pods based on their usage. This is crucial for a newly deployed application that scales out too quickly without the necessary resources allocated. The other options, such as the Horizontal Pod Autoscaler and Cluster Autoscaler, focus on different scaling mechanisms that do not address the resource allocation issue directly.