exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 102 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 102
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

Your company runs an ecommerce website built with JVM-based applications and microservice architecture in Google Kubernetes Engine (GKE). The application load increases during the day and decreases during the night. Your operations team has configured the application to run enough Pods to handle the evening peak load. You want to automate scaling by only running enough Pods and nodes for the load. What should you do?

  • A. Configure the Vertical Pod Autoscaler, but keep the node pool size static.
  • B. Configure the Vertical Pod Autoscaler, and enable the cluster autoscaler.
  • C. Configure the Horizontal Pod Autoscaler, but keep the node pool size static.
  • D. Configure the Horizontal Pod Autoscaler, and enable the cluster autoscaler.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dija123
5 months, 3 weeks ago
Selected Answer: D
Voting for D
upvoted 1 times
...
LaxmanTiwari
10 months, 2 weeks ago
Selected Answer: D
please read this how to use vertical pod autoscaler https://cloud.google.com/kubernetes-engine/docs/concepts/verticalpodautoscaler , so it suggest use Horizontal Pod Autoscaler (HPA) with the VPA to get the best of autoscaling.
upvoted 2 times
...
xhilmi
11 months ago
Selected Answer: D
To automate scaling for the JVM-based applications and microservices architecture in Google Kubernetes Engine (GKE), especially to handle varying loads throughout the day, the recommended approach is (Option D). This involves configuring the Horizontal Pod Autoscaler (HPA) to dynamically adjust the number of Pods based on application metrics. Additionally, enabling the cluster autoscaler allows for automatic scaling of the node pool, ensuring an adequate number of nodes to accommodate the varying workload. The HPA monitors resource utilization and adjusts the number of Pods, while the cluster autoscaler ensures that the underlying infrastructure scales up or down to meet the demand. This combined approach optimizes resource allocation, providing an efficient and automated solution for managing workload fluctuations in a cost-effective manner.
upvoted 3 times
...
TereRolon
11 months, 3 weeks ago
D is correct https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler?hl=es-419 https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis
upvoted 2 times
...
activist
1 year ago
You want to automate scaling by only running enough Pods and nodes for the load. Answer D answers this requirement.
upvoted 3 times
...
PrayasMohanty
1 year ago
Selected Answer: D
There is no Vertical Pod Autoscaler, and cluster autoscaler must be enabled. Therefor D appears the best answer.
upvoted 4 times
...
ManishKS
1 year, 1 month ago
Answer Should be D
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago