Skip to content
AWS Certified AI Practitioner (AIF-C01) Exam Prep

Lesson 29 of 34 · 6 min

x
29/34

Legal Risks, Dataset Quality, Bias and Variance

Video lesson: AIF-C01 29/34: Legal Risks, Dataset Quality, Bias and Variance

Legal risks of GenAI (named in the guide)

RiskExampleMitigation (design guidance)
Intellectual property infringement claimsGenerated text or images too close to copyrighted workUse models with clear licensing; review outputs; check provider indemnity terms
Biased model outputsHiring assistant favouring one groupBias testing, diverse data, human review
Loss of customer trustA public chatbot gives offensive or false answersGuardrails, testing, transparency
End-user riskUsers act on wrong medical or financial adviceDisclaimers, human escalation, scope limits
HallucinationsInvented facts or citations in a legal briefGrounding, verification, review

Dataset characteristics (named in the guide)

  • Inclusivity and diversity: the data covers the people and cases the model will serve.
  • Curated data sources: known, trustworthy, licensed.
  • Balanced datasets: classes and groups are represented fairly, not one group dominating.

Bias and variance (general background)

MeaningSymptomResult
High biasModel too simple, misses the patternPoor on training and new dataUnderfitting
High varianceModel too sensitive to training dataGreat on training, poor on new dataOverfitting

Effects named in the guide: effects on demographic groups (worse accuracy or outcomes for some groups), inaccuracy, overfitting, underfitting.

Detecting and monitoring bias (named in the guide)

  • Analysing label quality: wrong or prejudiced labels teach bias.
  • Human audits: people review samples of outputs.
  • Subgroup analysis: compare metrics across groups (age, region, gender).
  • SageMaker Clarify computes bias metrics on pre-training data and on model predictions (verified, 30).

Exam traps

  • Treating "bias" in bias-variance as the same as demographic bias. One is a modelling error; the other is unfair treatment. The exam uses both.
  • Fixing overfitting by training longer on the same data. Usually makes it worse; use more varied data or a simpler model.
  • Assuming more data removes bias. Unbalanced data at scale is still unbalanced.

References

  1. AIF-C01 exam guide, Domain 4 — checked Oct 19, 2026
  2. SageMaker Clarify — checked Oct 19, 2026
  • 99% training accuracy, 70% on new data. Problem?Show answer

    Answer

    High variance (overfitting).
  • A face-matching model works worse for one age group. How do you find it?Show answer

    Answer

    Subgroup analysis (and Clarify bias metrics).
  • Two legal risks of GenAI from the guide.Show answer

    Answer

    IP infringement claims; biased outputs (also loss of trust, end-user risk, hallucinations).
Previous

Progress is saved in this browser.

Next Lesson