Google Cloud Associate Cloud Engineer — Question 232
Your company developed an application to deploy on Google Kubernetes Engine. Certain parts of the application are not fault-tolerant and are allowed to have downtime. Other parts of the application are critical and must always be available. You need to configure a Google Kubernetes Engine cluster while optimizing for cost. What should you do?
Answer options
- A. Create a cluster with a single node-pool by using standard VMs. Label he fault-tolerant Deployments as spot_true.
- B. Create a cluster with a single node-pool by using Spot VMs. Label the critical Deployments as spot_false.
- C. Create a cluster with both a Spot VM node pool and a node pool by using standard VMs. Deploy the critical deployments on the Spot VM node pool and the fault-tolerant deployments on the node pool by using standard VMs.
- D. Create a cluster with both a Spot VM node pool and a nods pool by using standard VMs. Deploy the critical deployments on the node pool by using standard VMs and the fault-tolerant deployments on the Spot VM node pool.
Correct answer: D
Explanation
The correct answer is D because it ensures that critical deployments, which require high availability, are placed on standard VMs, while fault-tolerant deployments can utilize cost-effective Spot VMs. Options A and B incorrectly label the deployments, and option C places critical workloads on less reliable Spot VMs, which could lead to downtime for essential services.