Google Cloud Associate Cloud Engineer — Question 313

You are running multiple microservices in a Kubernetes Engine cluster. One microservice is rendering images. The microservice responsible for the image rendering requires a large amount of CPU time compared to the memory it requires. The other microservices are workloads that are optimized for n1-standard machine types. You need to optimize your cluster so that all workloads are using resources as efficiently as possible. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating a node pool with compute-optimized machine type nodes specifically for the image rendering microservice allows it to utilize CPU resources more effectively. The other microservices, which are optimized for n1-standard machine types, can continue to run efficiently on a separate node pool without the additional CPU overhead required by the image rendering service. Options A, C, and D do not address the need for a tailored node pool for CPU-intensive workloads.