nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #56

You developed an ML model with AI Platform, and you want to move it to production. You serve a few thousand queries per second and are experiencing latency issues. Incoming requests are served by a…

The correct answer is D. Recompile TensorFlow Serving using the source to support CPU-specific optimizations. To improve the serving latency of an ML model on AI Platform, you can recompile TensorFlow Serving using the source to support CPU-specific optimizations and instruct GKE to choose an appropriate baseline minimum CPU platform for serving nodes, this way GKE will schedule the…

Submitted by daniela_cl· Apr 18, 2026Monitoring, optimizing, and maintaining ML solutions

Question

You developed an ML model with AI Platform, and you want to move it to production. You serve a few thousand queries per second and are experiencing latency issues. Incoming requests are served by a load balancer that distributes them across multiple Kubeflow CPU-only pods running on Google Kubernetes Engine (GKE). Your goal is to improve the serving latency without changing the underlying infrastructure. What should you do?

Options

  • ASignificantly increase the max_batch_size TensorFlow Serving parameter.
  • BSwitch to the tensorflow-model-server-universal version of TensorFlow Serving.
  • CSignificantly increase the max_enqueued_batches TensorFlow Serving parameter.
  • DRecompile TensorFlow Serving using the source to support CPU-specific optimizations.

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    10% (4)
  • C
    3% (1)
  • D
    83% (33)

Explanation

To improve the serving latency of an ML model on AI Platform, you can recompile TensorFlow Serving using the source to support CPU-specific optimizations and instruct GKE to choose an appropriate baseline minimum CPU platform for serving nodes, this way GKE will schedule the pods on nodes with at least that CPU platform.

Topics

#ML Serving Optimization#TensorFlow Serving#CPU Performance#Latency Reduction

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice