Courseiva

AIF-C01 Guidelines for Responsible AI Practice Question

Which TWO actions help ensure fairness in an AI system deployed on AWS? (Select two.)

⚠ Common exam trap

AWS AI Practitioner candidates often confuse security/audit mechanisms (like CloudTrail and KMS) with fairness-specific tools (like SageMaker Clarify), leading them to select encryption or logging as bias mitigation actions.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Train the model on a representative dataset

Option A (Train the model on a representative dataset) is correct because fairness in AI depends on the training data reflecting the demographics and conditions of the real-world population the model will serve; unrepresentative or skewed data leads to biased predictions. Option C (Use SageMaker Clarify to detect bias) is correct because SageMaker Clarify provides bias detection metrics (e.g., pre-training and post-training bias metrics such as Disparate Impact and Equal Opportunity Difference) that quantify and help mitigate bias in data and models. Option B (Enable AWS CloudTrail for audit) is not a fairness action; CloudTrail records API activity for security, compliance, and operational auditing, not for measuring or correcting model bias. Option D (Use a single validation set) is not a fairness measure and can actually increase evaluation variance; fairness requires representative and possibly multiple or cross-validated evaluation sets. Option E (Encrypt data at rest using AWS KMS) addresses data confidentiality and compliance, not fairness or bias in model outcomes.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Train the model on a representative dataset

    Why this is correct

    Training on a representative dataset directly reduces sampling bias, ensuring the model's learned patterns reflect the true population distribution rather than over-representing dominant groups. This satisfies the fairness constraint by preventing skewed predictions that disadvantage under-represented cohorts, forming the foundational data-level mitigation before any post-processing correction is applied.

  • ✗

    Enable AWS CloudTrail for audit

    Why it's wrong here

    CloudTrail records API activity for auditing and security, capturing who called what, but it neither measures nor mitigates bias in model outputs. It is tempting because audit trails support governance and accountability, yet fairness requires bias detection and mitigation tooling such as SageMaker Clarify.

  • ✓

    Use SageMaker Clarify to detect bias

    Why this is correct

    SageMaker Clarify measures bias across specified groups using metrics such as disparate impact, directly satisfying the fairness requirement by exposing skewed outcomes before deployment. Detecting statistical disparity in training data and predictions lets teams remediate imbalances, making this a concrete fairness safeguard rather than a general best practise.

  • ✗

    Use a single validation set

    Why it's wrong here

    A single validation set gives one evaluation sample, so fairness metrics cannot be compared across demographic subgroups or checked for variance. It is tempting because a held-out validation set is standard practise, but fairness auditing needs separate slices, such as training, validation, and test sets partitioned by group.

  • ✗

    Encrypt data at rest using AWS KMS

    Why it's wrong here

    Encryption at rest via AWS KMS protects data confidentiality against storage-level compromise; it does not measure or mitigate disparate model outcomes across groups. It is tempting because KMS is a genuine security control for data protection, and would be the right choice when the requirement is encrypting sensitive datasets or volumes, not fairness auditing.

About these practice questions

This AIF-C01 question is part of Courseiva's 862-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.