Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 275 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 275
Topic #: 1
[All Associate Cloud Engineer Questions]

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?

  • A. Configure a Vertical Pod Autoscaler for each microservice.
  • B. Modify the cluster's node pool machine type and choose a machine type with more memory and CPU.
  • C. Configure a Horizontal Pod Autoscaler for each microservice.
  • D. Configure GKE cluster autoscaling.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
RLIII
1 week, 2 days ago
It is A Option A: Configure a Vertical Pod Autoscaler for each microservice is the best solution because the VPA automatically adjusts the resource requests and limits for each microservice, ensuring that memory and CPU resources are correctly sized according to their actual usage patterns. This will address your issue of inappropriate resource limits for many of the microservices in your GKE cluster.
upvoted 1 times
...
jhumpamp
3 months, 3 weeks ago
Selected Answer: C
As mentioned "resource limits configured for each container in the deployment", so can not vertically increase resources/memory Cluster scale out is not relevant here. With Horizontal scaling, adding more pods ultimately makes sure each service have "right sized memory and CPU"
upvoted 2 times
...
Selected Answer: A
Vertical is for more specific resources of the individual pods. Horizontal is for creating more copies of the instances (adding more pods).
upvoted 2 times
...
user636
4 months ago
Selected Answer: A
A seems better
upvoted 2 times
...
RuchiMishra
4 months, 1 week ago
Selected Answer: A
Here's why a Vertical Pod Autoscaler (VPA) is the most suitable solution for this scenario: Right-Sizing Resources: VPA is designed to automatically adjust the resource requests and limits (CPU and memory) for pods based on their actual usage. This ensures that pods have enough resources to run efficiently without being over-provisioned, which can lead to wasted resources and higher costs. Automated Optimization: VPA continuously monitors the resource usage of your pods and recommends optimal settings. You can choose to apply these recommendations automatically or manually, giving you flexibility and control over the process. Microservice-Specific Tuning: By configuring a VPA for each microservice, you can fine-tune the resource allocation for each individual service based on its specific needs and usage patterns. This is more efficient than making blanket changes to the entire cluster or node pool.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...