ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 239 - Professional Cloud Architect discussion

Report
Export

Your company uses Google Kubernetes Engine (GKE) as a platform for all workloads. Your company has a single large GKE cluster that contains batch, stateful, and stateless workloads. The GKE cluster is configured with a single node pool with 200 nodes. Your company needs to reduce the cost of this cluster but does not want to compromise availability. What should you do?

A.
Create a second GKE cluster for the batch workloads only. Allocate the 200 original nodes across both clusters.
Answers
A.
Create a second GKE cluster for the batch workloads only. Allocate the 200 original nodes across both clusters.
B.
Configure a HorizontalPodAutoscaler for all stateless workloads and for all compatible stateful workloads. Configure the cluster to use node auto scaling.
Answers
B.
Configure a HorizontalPodAutoscaler for all stateless workloads and for all compatible stateful workloads. Configure the cluster to use node auto scaling.
C.
Configure CPU and memory limits on the namespaces in the cluster. Configure all Pods to have a CPU and memory limits.
Answers
C.
Configure CPU and memory limits on the namespaces in the cluster. Configure all Pods to have a CPU and memory limits.
D.
Change the node pool to use spot VMs.
Answers
D.
Change the node pool to use spot VMs.
Suggested answer: B

Explanation:

One way to reduce the cost of a Google Kubernetes Engine (GKE) cluster without compromising availability is to use horizontal pod autoscalers (HPA) and node auto scaling. HPA allows you to automatically scale the number of Pods in a deployment based on the resource usage of the Pods. By configuring HPA for stateless workloads and for compatible stateful workloads, you can ensure that the number of Pods is automatically adjusted based on the actual resource usage, which can help to reduce costs. Node auto scaling allows you to automatically add or remove nodes from the node pool based on the resource usage of the cluster. By configuring node auto scaling, you can ensure that the cluster has the minimum number of nodes needed to meet the resource requirements of the workloads, which can also help to reduce costs.

asked 18/09/2024
Pieter Meiring
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first