Google Cloud Associate Cloud Engineer — Question 254

You have several hundred microservice applications running in a Google Kubernetes Engine (GKE) cluster. Each microservice is a deployment with resource limits configured for each container in the deployment. You've observed that the resource limits for memory and CPU are not appropriately set for many of the microservices. You want to ensure that each microservice has right sized limits for memory and CPU. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because a Vertical Pod Autoscaler automatically adjusts the resource limits for CPU and memory for your deployments based on usage. The other options do not directly address the need for adjusting the individual resource limits of the microservices; instead, they focus on scaling the number of pods or modifying the hardware resources of the nodes.