PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice question 2 of 25
You deployed an application into a large Standard Google Kubernetes Engine (GKE) cluster. The application is stateless and multiple pods run at the same time. Your application receives inconsistent traffic. You need to ensure that the user experience remains consistent regardless of changes in traffic. and that the resource usage of the cluster is optimized. What should you do?
Full set: 205 questionsHorizontal Pod Autoscaler (HPA) automatically adds or removes replicas based on real-time CPU, memory, or custom metrics, keeping request latency stable during demand spikes while downsizing during lulls—optimising both user experience and cluster resource utilisation. A stateless deployment enables seamless replica scaling.
A. Cron scaling uses static schedules, cannot react to unpredictable traffic.
C. Vertical Pod Autoscaler adjusts container resources, not replica count; less effective for traffic variability.
D. Node autoscaling changes node count; without HPA pods will not scale to meet demand, and large cluster already exists.
1. GKE docs “Horizontal Pod Autoscaling” – overview paragraph 1–2 (https://cloud.google.com/kubernetes-engine/docs/concepts/horizontalpodautoscaler)
2. Google Kubernetes “Best practices for autoscaling” – HPA for workload spikes (https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
Keep practicing
Take the free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice questions
- Question 1[Building and implementing CI/CD pipelines for a service] You need to enforce several con…
- Question 3You are responding to a high-priority incident where a critical, user-facing payment serv…
- Question 4[Applying Site Reliability Engineering (SRE) principles to a service] You support a user-…
- Question 5You are deploying an application that needs to access sensitive information. You need to …
- Question 6[Building and implementing CI/CD pipelines for a service] You are building an application…
- Question 7[Optimizing service performance] You support a Node.js application running on Google Kube…
