Google Cloud Professional Machine Learning Engineer — Question 262

You have trained an XGBoost model that you plan to deploy on Vertex AI for online prediction. You are now uploading your model to Vertex AI Model Registry, and you need to configure the explanation method that will serve online prediction requests to be returned with minimal latency. You also want to be alerted when feature attributions of the model meaningfully change over time. What should you do?

Answer options

Correct answer: A

Explanation

Option A is correct because it specifies sampled Shapley with a low path count of 5, which is optimal for minimizing latency in online predictions. The other options either use Integrated Gradients, which typically involves higher latency, or have an inappropriate monitoring objective that does not align with alerting for meaningful changes in feature attributions.