Based on the AIF-C01 exam guideReport an error
Today's topic is how to put into practice with AWS the principles you learned yesterday (fairness, bias, transparency, explainability, robustness, privacy). AWS provides a managed tool for each principle.
| Tool | Principle it addresses | One-line role |
|---|---|---|
| SageMaker Clarify | Fairness/bias, explainability | Bias measurement + feature importance explanation |
| SageMaker Model Monitor | Robustness/reliability (operations) | Monitors quality and drift of deployed models |
| Bedrock Guardrails | Safety/privacy | Harmful content filters, PII masking, topic restriction |
| AI Service Cards | Transparency | Public documents on the intended uses, limits, and fairness of AWS AI services |
This table is today's core. On the exam, "I want to check whether a model is biased against a particular group" → Clarify; "I want to see whether performance degrades over time after deployment" → Model Monitor; "I want to block profanity and personal information in chatbot output" → Guardrails; "I want to know the limits and recommended uses of this AWS AI service" → AI Service Cards.
Amazon SageMaker Clarify is the centerpiece of the responsible AI tools. It does two things.
| Question Clarify answers | What is needed | Timing |
|---|---|---|
| Is the training data skewed toward a particular group? | The dataset only | Before training |
| Do the model's predictions differ between groups? | The dataset + the trained model's predictions | After training |
| How much did each feature contribute to this prediction? | The trained model | After training, after deployment |
| How much does the prediction change if one feature changes? | The trained model (partial dependence plots) | After training |
Clarify can be used at any stage: before training (data), after training (model), and after deployment (inference). In particular, combined with Model Monitor it can also monitor whether the bias of a deployed model grows over time (bias drift). So remember Clarify as one tool that bundles the two principles of "bias and explanation."
Deploying a model is not the end. As time passes and real-world data differs from the training data (data drift), model performance quietly worsens. SageMaker Model Monitor automatically watches the deployed model endpoint.
| Monitoring type | What it checks for change | Example |
|---|---|---|
| Data quality | Whether the distribution of input data has changed from training (statistical drift) | The age distribution of customers differs from launch |
| Model quality | Whether a performance metric such as accuracy has fallen below the baseline | Accuracy against the ground truth declines |
| Bias drift | (Integrated with Clarify) Whether bias worsens over time | The approval-rate gap for a particular group widens |
| Feature attribution drift | Whether the explainability pattern has changed | Income used to matter most, but now region matters most |
⚠️ Trap: Model Monitor is not a tool that "automatically fixes the model." It is a monitoring tool that detects anomalies and notifies you. When a problem is found, a person must decide on retraining and redeployment. An option phrased as "the model heals itself" is a trap.
Amazon Bedrock Guardrails is a feature that places safety and privacy barriers on generative AI (LLM) applications. It applies to both input (the user prompt) and output (the model response). In older documents and questions it also appears under the name "Guardrails for Amazon Bedrock." It is the same feature.
| Feature | Role |
|---|---|
| Content filters | Block harmful content such as hate, violence, sexual content, and insults |
| Denied Topics | Restrict the application from covering particular topics (for example, medical advice, investment solicitation) |
| Sensitive information (PII) filters | Mask or block personal information such as names, national ID numbers, and card numbers |
| Word filters | Block specific words such as banned terms and competitor names |
| Contextual grounding check | Checks whether a response departs from the provided source (hallucination) |
In this way Guardrails takes charge of both safety (blocking harmful output) and privacy (protecting PII). Because it is a policy separate from the model itself, its strength is that it applies in the same way whichever FM you use. There is also an API (ApplyGuardrail) that inspects text without invoking a model, so you can apply the same standards to models outside Bedrock.
As a hypothetical case, a bank built a customer service chatbot on Bedrock. With Guardrails it ① automatically masked account numbers and national ID numbers that customers typed in (PII filter), ② blocked requests like "recommend an investment stock" as a denied topic because of regulatory risk, and ③ blocked profanity and discriminatory remarks with the content filter. Even when the model was swapped out, this policy stayed in place, so the safety standard could be applied consistently.
AWS AI Service Cards are documents that AWS publishes about its own AI services (for example, Amazon Rekognition and Textract). Each card contains the service's recommended use cases, design choices, considerations on fairness and accuracy, limitations, and guidance for responsible use.
AI Service Cards are a kind of "nutrition label." Even if you cannot look inside the model yourself, AWS helps responsible use by disclosing "this service was evaluated with this kind of data, has these limitations, and should not be used for these purposes." If the exam asks "which transparency material tells you the intended uses and limits of an AWS AI service?", the answer is AI Service Cards.
Both are "cards" and both are documents for transparency, so they are easily mixed up. The criterion that separates them is who writes it and what it describes.
| Category | AWS AI Service Cards | Amazon SageMaker Model Cards |
|---|---|---|
| Who writes it | AWS | The customer who built the model (our team) |
| What it describes | AWS's AI services and models | The ML model we trained |
| What it contains | Intended uses and constraints, responsible AI design decisions, best practices for achieving performance | Intended uses, risk rating, training details and metrics, evaluation results and observations, considerations and recommendations |
| Use | Check suitability and limits before using the service | Responding to audits, sharing model usage guidelines, governance reporting |
Even for the same tool, knowing "when to use it" prevents confusion.
| Stage | What you want to do | Tool |
|---|---|---|
| Model/service selection | Check the uses and limits of an AWS service | AI Service Cards |
| Model selection (generative) | Compare several FMs on the same criteria | Model evaluation in Amazon Bedrock |
| Before training | Measure whether the data is skewed | SageMaker Clarify |
| After training | Measure differences in predictions between groups, explain the basis of predictions | SageMaker Clarify |
| Before deployment | Document the model's uses, risks, and evaluation results | SageMaker Model Cards |
| In operation (traditional ML) | Monitor drift and quality degradation | SageMaker Model Monitor |
| In operation (generative) | Filter input and output in real time | Amazon Bedrock Guardrails |
| In operation (human review) | Hand low-confidence predictions to a person | Amazon Augmented AI (A2I) |
⚠️ Trap: AWS documentation notes that SageMaker Clarify, SageMaker Model Monitor, and Amazon A2I are no longer open to new customers, while existing customers can keep using them. That does not mean the division of roles among these names has vanished from the exam. What the exam asks about is the pairing of roles: "bias measurement and explanation = Clarify, post-deployment monitoring = Model Monitor, human review = A2I."
| Confusing pair | Question that separates them | Answer |
|---|---|---|
| Clarify vs Model Monitor | Is it measured once, or watched continuously? | Measurement/explanation = Clarify, continuous monitoring = Model Monitor |
| Clarify vs Guardrails | Does it analyze predictions of traditional ML, or block input and output of generative AI? | Analysis = Clarify, blocking = Guardrails |
| Model Monitor vs Guardrails | Does it watch statistical change, or filter individual responses? | Trend monitoring = Model Monitor, per-response filter = Guardrails |
| Model Monitor vs CloudWatch | Is it the quality of the model, or the health of the system? | Drift = Model Monitor, latency/errors/resources = CloudWatch |
| AI Service Cards vs Model Cards | Is it a document written by AWS, or by us? | AWS = AI Service Cards, us = Model Cards |
| Guardrails vs prompt instructions | Do you ask the model, or enforce from outside the model? | Ask = prompt, enforce = Guardrails |
| Clue in the passage | Answer |
|---|---|
| "Check the gender imbalance of the dataset numerically before training" | SageMaker Clarify |
| "Submit to a regulator which features affected each prediction" | SageMaker Clarify |
| "Automatic alert if the input data distribution changes six months after launch" | SageMaker Model Monitor |
| "Keep the chatbot from mentioning competitor names" | Bedrock Guardrails (word filter) |
| "Keep the chatbot from giving legal advice" | Bedrock Guardrails (denied topics) |
| "Check that a RAG response is based on the retrieved documents" | Bedrock Guardrails (contextual grounding check) |
| "Check what uses Amazon Rekognition must not be used for" | AWS AI Service Cards |
| "Submit our credit model's uses, risk rating, and evaluation results for audit" | SageMaker Model Cards |
| "Only a person checks the document extraction results with low confidence" | Amazon A2I |
Tomorrow we widen our view to AI security (IAM least privilege, data encryption, PII protection, PrivateLink, the shared responsibility model). If responsible AI is "ethics and trust," security is "technical defense."
Click a choice to reveal the answer and explanation.
Question 1
A data scientist wants to measure whether specific age groups are overrepresented in training data and check if model prediction results are discriminatory between groups. They also want to explain the basis of each prediction (feature contribution). What's the most appropriate AWS tool?
Question 2
A generative AI chatbot needs to mask personal ID numbers and card numbers in user input, block profanity, and prevent covering specific topics like "investment recommendations." What's the appropriate feature?
Question 3
Which statement about Amazon SageMaker Model Monitor is correct?
Question 4
What is the primary purpose of AWS AI Service Cards?
Question 5
Which connection between responsible AI principle and supporting AWS tool is correct?