Hard1 markMultiple Choice

GCP PCA · Question 35 · Domain 5: Managing Implementation and Ensuring Reliability

You manage a GKE cluster that runs a mix of critical web services and fault-tolerant batch processing jobs. The CFO has asked you to drastically reduce the compute costs of the cluster. How should you optimize the cluster architecture?

Answer options:

A.

Convert all node pools to use Spot VMs.

B.

Create a separate node pool using Spot VMs for the batch jobs, and enable Node Auto-Provisioning (NAP) to right-size nodes.

C.

Disable the Cluster Autoscaler and manually provision the minimum number of nodes required.

D.

Move all workloads to Cloud Run.

How to approach this question

Identify the workload types: critical (needs stable VMs) and fault-tolerant (can use Spot VMs). Combine this with GKE cost optimization features like NAP.

Full Answer

B.Create a separate node pool using Spot VMs for the batch jobs, and enable Node Auto-Provisioning (NAP) to right-size nodes.✓ Correct
GKE allows you to create multiple node pools. By scheduling the fault-tolerant batch jobs onto a node pool backed by Spot VMs (formerly Preemptible VMs), you save massive amounts of money. Keeping the critical web services on standard VMs ensures reliability. Node Auto-Provisioning further optimizes costs by creating nodes that perfectly fit the resource requests of your pods.

Common mistakes

Applying Spot VMs to everything (A). Spot VMs are reclaimed by Google with 30 seconds notice, which will break critical web services.

Practice the full GCP Professional Cloud Architect Practice Exam 3

50 questions · hints · full answers · grading

More questions from this exam