Topic 1 Question 128
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?
Configure a cron job to scale the deployment on a schedule
Configure a Horizontal Pod Autoscaler.
Configure a Vertical Pod Autoscaler
Configure cluster autoscaling on the node pool.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: B
Inconsistent traffic .. HPA
👍 5Jason_Cloud_at2023/10/27 B is the answer.
👍 2mshafa2023/11/03- 正解だと思う選択肢: B
The recommended approach to ensure a consistent user experience and optimize resource usage for a stateless application with inconsistent traffic in a large Standard Google Kubernetes Engine (GKE) cluster is (option B)
Configure a Horizontal Pod Autoscaler (HPA). HPA automatically adjusts the number of replica pods based on observed CPU utilization or other custom metrics. In the context of varying traffic patterns, HPA dynamically scales the number of pods to meet demand, ensuring that there are enough instances to handle increased traffic and scaling down during periods of lower demand.
This helps maintain consistent performance while optimizing resource utilization in response to changing workloads.
👍 1xhilmi2023/12/06
シャッフルモード