nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #240

You work for a manufacturing company. You need to train a custom image classification model to detect product defects at the end of an assembly line. Although your model is performing well, some…

The correct answer is A. Configure feature-based explanations by using Integrated Gradients. Set visualization type to. To understand why an image classification model mislabels defects with high confidence, configure feature-based explanations using Integrated Gradients in Vertex AI and visualize the results.

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

Question

You work for a manufacturing company. You need to train a custom image classification model to detect product defects at the end of an assembly line. Although your model is performing well, some images in your holdout set are consistently mislabeled with high confidence. You want to use Vertex AI to understand your model's results. What should you do?

Options

  • AConfigure feature-based explanations by using Integrated Gradients. Set visualization type to
  • BCreate an index by using Vertex AI Matching Engine. Query the index with your mislabeled
  • CConfigure feature-based explanations by using XRAI. Set visualization type to OUTLINES, and
  • DConfigure example-based explanations. Specify the embedding output layer to be used for the

How the community answered

(39 responses)
  • A
    79% (31)
  • B
    5% (2)
  • C
    13% (5)
  • D
    3% (1)

Why each option

To understand why an image classification model mislabels defects with high confidence, configure feature-based explanations using Integrated Gradients in Vertex AI and visualize the results.

AConfigure feature-based explanations by using Integrated Gradients. Set visualization type toCorrect

Integrated Gradients is a robust feature-based explanation method for image classification models that provides pixel-level attributions, revealing which parts of an image contribute most to a specific prediction. Setting the visualization type to `GRADIENT_OVERLAY` allows for a clear visual inspection of these salient areas, helping to understand high-confidence misclassifications.

BCreate an index by using Vertex AI Matching Engine. Query the index with your mislabeled

Vertex AI Matching Engine is used for similarity search in embedding spaces and does not provide explanations for *why* an image classification model made a specific prediction.

CConfigure feature-based explanations by using XRAI. Set visualization type to OUTLINES, and

While XRAI is also an image explanation method, Integrated Gradients is a widely used and effective technique for pixel-level attribution to understand model focus, making this a plausible but not uniquely correct alternative without further context.

DConfigure example-based explanations. Specify the embedding output layer to be used for the

Example-based explanations find similar training examples but do not explain *why* the model made a specific prediction on the given input image by highlighting relevant features within it.

Concept tested: Vertex AI Explainable AI for image classification

Source: https://cloud.google.com/vertex-ai/docs/explainable-ai/visualize-image-explanations

Topics

#Model Explainability#Vertex AI Explainable AI#Integrated Gradients#Model Debugging

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice