AWS AI Practitioner AIF-C01 · Guidelines for Responsible AI · medium

A financial institution trains a credit-scoring model in Amazon SageMaker AI and must prove to regulators that the training dataset is not biased against protected demographic age groups, and must also provide loan officers with feature-importance scores showing how Income, CreditHistory, and DebtToIncome contributed to each individual credit decision. Which SageMaker capability provides both bias metrics and SHAP feature-attribution explainability?

Published · Last updated · checked before publication — how we verify questions

Options

  • AAmazon SageMaker JumpStart one-click model deployment hub
  • BAmazon SageMaker Automatic Model Tuning (Hyperparameter Tuning)
  • CAmazon SageMaker Clarify for bias and SHAP explainabilityCorrect answer
  • DAmazon EC2 Auto Scaling groups with target tracking policies

Answer: C. Amazon SageMaker Clarify for bias and SHAP explainability

Amazon SageMaker Clarify is the SageMaker capability built for fairness and explainability. For bias, it computes metrics on the training data before training (pre-training bias, such as class imbalance or differences in proportions of labels across facets like age group) and on the trained model after training (post-training bias). That gives the institution evidence for regulators. For explainability, Clarify uses SHAP (Shapley values) to attribute a prediction to input features such as Income, CreditHistory, and DebtToIncome. It does this for individual predictions (local) and aggregated across the dataset (global), which is what loan officers need. The common trap is picking a service because it sounds ML-related, such as JumpStart or tuning, when only Clarify covers both bias detection and feature attribution. Remember the pairing: bias metrics plus SHAP equals Clarify. Model Monitor can also run Clarify-based drift checks in production, but the analysis itself comes from Clarify.

Why the other options are wrong

  • A. Amazon SageMaker JumpStart one-click model deployment hub — SageMaker JumpStart is a hub of pre-trained foundation and ML models and solution templates that you can deploy or fine-tune quickly. It does not audit a training dataset for demographic bias or produce SHAP attributions.
  • B. Amazon SageMaker Automatic Model Tuning (Hyperparameter Tuning) — Automatic Model Tuning searches hyperparameter combinations to optimize an objective metric such as accuracy or loss. It improves model performance but does not measure fairness across age groups or explain individual predictions.
  • D. Amazon EC2 Auto Scaling groups with target tracking policies — EC2 Auto Scaling with target tracking adds or removes compute instances to keep a metric such as CPU utilization at a target. It is an infrastructure scaling feature with no awareness of model bias or feature importance.

All Guidelines for Responsible AI questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.