Hard1 markMultiple Choice
Subtask 5.3: Cost OptimizationCost OptimizationGKESpot VMsAutoscaling

GCP PCA · Question 50 · Cost Optimization

Your team manages a large Google Kubernetes Engine (GKE) Standard cluster. The CFO has asked you to optimize the compute costs of the cluster. The workloads consist of a mix of critical, always-on web services and fault-tolerant, interruptible batch processing jobs. Which TWO strategies should you implement? (Select TWO)

Answer options:

A.

Create a node pool using Spot VMs for the batch processing jobs

B.

Use Spot VMs for the critical, always-on web services

C.

Enable Cluster Autoscaler to remove underutilized nodes

D.

Disable Horizontal Pod Autoscaler (HPA)

E.

Migrate all workloads to a single massive Compute Engine VM

How to approach this question

Identify GKE features that reduce compute waste and leverage discounted pricing models.

Full Answer

GKE cost optimization relies on matching the workload to the pricing model and scaling dynamically. Spot VM node pools are ideal for the interruptible batch jobs. The Cluster Autoscaler ensures that as pods scale down (via HPA), the underlying Compute Engine nodes are also deleted, saving money.

Common mistakes

Putting critical workloads on Spot VMs (B).

Practice the full GCP Professional Cloud Architect Practice Exam 5

50 questions · hints · full answers · grading

More questions from this exam