ASSOCIATE-CLOUD-ENGINEER · Question #371
You are managing a stateful application deployed on Google Kubernetes Engine (GKE) that can only have one replica. You recently discovered that the application becomes unstable at peak times. You have
The correct answer is B. Configure a Vertical Pod Autoscaler on the Deployment.. A Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory requests and limits for a pod based on usage. This is ideal for stateful applications with a single replica, where scaling out horizontally is not possible. It ensures the pod gets more CPU during peak times
Question
Options
- AEnable cluster autoscaling on the GKE cluster.
- BConfigure a Vertical Pod Autoscaler on the Deployment.
- CConfigure a Horizontal Pod Autoscaler on the Deployment.
- DEnable node auto-provisioning on the GKE cluster.
How the community answered
(35 responses)- A14% (5)
- B71% (25)
- C6% (2)
- D9% (3)
Explanation
A Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory requests and limits for a pod based on usage. This is ideal for stateful applications with a single replica, where scaling out horizontally is not possible. It ensures the pod gets more CPU during peak times and reverts to lower usage when idle, thus ensuring performance and cost-efficiency.
Topics
Community Discussion
No community discussion yet for this question.