Professional Cloud Developer
Your team is trying to reduce their cloud spend, and you want to evaluate your GKE Autopilot cluster costs. When reviewing the manifests, you see that resource requests are currently not specified. Your application is stateless and fault-tolerant, and there are no specific hardware or memory requirements on nodes. You want to modify the cluster to be scalable and cost-effective as quickly as possible while maintaining a cluster with sufficient computing resources. What should you do?
- A. Request that your Pods run as Spot Pods, and use the cloud.google.com/gke-spot=true label in your YAML manifest.
- B. Request the Balanced compute class in your YAML manifest.
- C. In the YAML deployment configuration manifest, request and set the maximum CPU to 5 vCPU.
- D. Set up Cloud Trace and Cloud Monitoring, identify the maximum memory used in the past 30 days, and set the YAML manifest to request that amount of memory.