PROFESSIONAL-CLOUD-DEVELOPER · Question #215
PROFESSIONAL-CLOUD-DEVELOPER Question #215: Real Exam Question with Answer & Explanation
The correct answer is C: Horizontal Pod Autoscaler based on an external metric. https://cloud.google.com/kubernetes-engine/docs/tutorials/autoscaling-metrics#pubsub
Question
You have an application deployed in Google Kubernetes Engine (GKE) that reads and processes Pub/Sub messages. Each Pod handles a fixed number of messages per minute. The rate at which messages are published to the Pub/Sub topic varies considerably throughout the day and week, including occasional large batches of messages published at a single moment. You want to scale your GKE Deployment to be able to process messages in a timely manner. What GKE feature should you use to automatically adapt your workload?
Options
- AVertical Pod Autoscaler in Auto mode
- BVertical Pod Autoscaler in Recommendation mode
- CHorizontal Pod Autoscaler based on an external metric
- DHorizontal Pod Autoscaler based on resources utilization
Explanation
https://cloud.google.com/kubernetes-engine/docs/tutorials/autoscaling-metrics#pubsub
Topics
Community Discussion
No community discussion yet for this question.