
Answer-first summary for fast verification
Answer: Create a node pool with compute-optimized machine type nodes for the image rendering microservice. Use the node pool with general-purpose machine type nodes for the other microservices.
The correct answer is B. The microservice responsible for image rendering requires a large amount of CPU time. Therefore, it is best to create a node pool with compute-optimized machine type nodes specifically for this microservice to efficiently handle its high CPU demands. The other microservices, which are optimized for n1-standard machine types, can continue to use the general-purpose machine type nodes. This optimization allows each type of workload to run on a node type that best suits its resource requirements, ensuring efficient resource usage across the cluster.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are managing several microservices within a Kubernetes Engine cluster. One particular microservice is tasked with rendering images, necessitating a considerable amount of CPU time relative to its memory needs. The other microservices are already optimized to run on n1-standard machine types. Your goal is to enhance the cluster's configuration to ensure that each microservice utilizes resources efficiently. What steps should you take to achieve optimal resource usage across all workloads?
A
Assign the pods of the image rendering microservice a higher pod priority than the other microservices.
B
Create a node pool with compute-optimized machine type nodes for the image rendering microservice. Use the node pool with general-purpose machine type nodes for the other microservices.
C
Use the node pool with general-purpose machine type nodes for the image rendering microservice. Create a node pool with compute-optimized machine type nodes for the other microservices.
D
Configure the required amount of CPU and memory in the resource requests specification of the image rendering microservice deployment. Keep the resource requests for the other microservices at the default.