Google Cloud Professional Machine Learning Engineer · Free practice question 6 of 12
TFX InfraValidator before pushing
A TFX pipeline at Brackwater Insurance once pushed a model that passed evaluation but crashed the TensorFlow Serving container because of an unsupported operation. Which component checks that a model actually loads and responds in a serving binary before it is pushed?
- A.ExampleGen
- B.ExampleValidator
- C.InfraValidator
- D.StatisticsGen
Show answer and explanation
Correct answer: C. InfraValidator
Why: InfraValidator launches the candidate model in a sandboxed serving binary, such as TensorFlow Serving, and optionally sends sample requests, blocking the push if the model fails to load or respond. ExampleGen ingests data, ExampleValidator checks data for anomalies, and StatisticsGen computes data statistics; none of them test models in serving infrastructure.
More free Google Cloud Professional Machine Learning Engineer questions
- BigQuery ML k-means customer segments
- Speech-to-Text for call recordings
- AutoML object detection annotations
- Scheduled notebook runs with the executor
- TensorBoard Profiler for input bottlenecks
- Runtime parameters for compiled pipelines
- CPU machines for scikit-learn serving
- Model cards for responsible AI documentation
- tf.data prefetch and parallel map
- Grounding with Google Search
- Point-in-time joins for training data