↑ ↓ to move, Enter to open, Esc to close

    awsAIF-C01AI Practitioner

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search
    Free exam

    Exams / AIF-C01 / D5 Guidelines for Responsible AI

    D5.1

    Guidelines for Responsible AI (part 1 of 3)

    • 2 min read
    • 4 sections
    • 24 questions
    • Exam domain: Guidelines for Responsible AI

    Dimensions of responsible AI

    Dimension Meaning
    Fairness "Considering impacts on different groups of stakeholders."
    Explainability "Understanding and evaluating system outputs."
    Veracity and robustness "Achieving correct system outputs, even with unexpected or adversarial inputs."
    Governance "Incorporating best practices into the AI supply chain, including providers and deployers."
    Transparency "Enabling stakeholders to make informed choices about their engagement with an AI system."

    Privacy and security (encryption, private networks, access control) is a separate dimension.

    Where bias is handled in the ML lifecycle

    Bias and data

    • Bias in a model usually comes from the data: diversity, balanced classes and representative collection are the first fixes.
    • Class imbalance: a group with fewer training samples puts the model at risk of biased predictions. Never drop minority records and never oversample the majority.
    • SageMaker Clarify computes pre-training bias metrics on a dataset (before training) and post-training metrics on a trained model's predictions.
    • A biased fine-tuned LLM: improve the data and fine-tune again (cheaper than pre-training). RAG does not remove learned bias.

    Explainability and transparency

    Need Tool
    Per-prediction feature contributions SageMaker Clarify (Shapley values)
    Document intended use, training, evaluation, limitations SageMaker Model Cards
    Simpler model Easier to interpret; deep networks are black boxes

    Safeguards for generative AI

    Bedrock Guardrails evaluate both user inputs and model outputs. Content filters cover predefined categories (Hate, Insults, Sexual, Violence, Misconduct); text and images are supported. Other subjects (politics, gambling, religion) are handled with denied topics. Sensitive information filters block or mask PII.

    Which tool for which responsible AI need

    Post-processing control for bias and toxicity: human-in-the-loop review of outputs. Same input giving different outputs is nondeterminism (temperature).

    Exam traps

    • Model Cards document; they do not compute bias metrics. The tool that does is Clarify (the exam may misspell it "Clarity").
    • Pre-training metrics = dataset; post-training metrics = trained model.
    • Politics, Gambling, Religion are not predefined content filter categories: use denied topics.
    • Secrecy of the model contradicts transparency; more layers reduce explainability.
    • Trusted Advisor, Inspector and Rekognition do not provide responsible-AI controls for LLMs.

    Docs

    The rest of this chapter is part of the AIF-C01 premium course

    Unlock every chapter, all 555 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters