Question 137 of 315
Single answerYour company has a Kubernetes application that pulls messages from Pub/Sub and stores them in Filestore. Because the application is simple, it was deployed as a single pod. The infrastructure team has analyzed Pub/Sub metrics and discovered that the application cannot process the messages in real time. Most of them wait for minutes before being processed. You need to scale the elaboration process that is I/O-intensive. What should you do?
AUse kubectl autoscale deployment APP_NAME --max 6 --min 2 --cpu-percent 50 to configure Kubernetes autoscaling deployment.
BConfigure a Kubernetes autoscaling deployment based on the subscription/push_request_latencies metric.
CUse the --enable-autoscaling flag when you create the Kubernetes cluster.
✓DConfigure a Kubernetes autoscaling deployment based on the subscription/num_undelivered_messages metric.
✓
Correct Answer: D
Configure a Kubernetes autoscaling deployment based on the subscription/num_undelivered_messages metric.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.