Google Cloud Associate Cloud Engineer — Question 225

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 n2-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 the image rendering microservice requires more CPU, and using compute-optimized machine types will allow it to perform more efficiently. In contrast, the other microservices, which are optimized for n2-standard types, will benefit from remaining on general-purpose nodes, ensuring overall resource efficiency. The other options do not allocate resources effectively based on the specific needs of the microservices.