Google Cloud Professional Machine Learning Engineer — Question 70

You work for a global footwear retailer and need to predict when an item will be out of stock based on historical inventory data Customer behavior is highly dynamic since footwear demand is influenced by many different factors. You want to serve models that are trained on all available data, but track your performance on specific subsets of data before pushing to production. What is the most streamlined and reliable way to perform this validation?

Answer options

Correct answer: A

Explanation

The correct answer is A because TFX ModelValidator tools are specifically designed to set performance metrics to assess if the model is production-ready, allowing for focused validation on data subsets. Option B, while a valid technique, is not as streamlined as using dedicated tools like TFX. Option C restricts validation to a narrow time frame, which may not represent overall performance, and Option D does not focus on specific subsets, missing the targeted validation aspect.