AI Associate Ethical AI and Data Privacy Practice Question
A data scientist is building a custom AI model using Salesforce Data Cloud to predict customer churn. They want to ensure that the model does not inadvertently use gender as a feature to avoid biased predictions. Which step is MOST appropriate?
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
✓
Exclude gender from the feature set used for model training
The best practice is to exclude protected attributes from the model features. Data minimisation supports this. Auditing for bias is also important but does not prevent the model from using the attribute in the first place.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Exclude gender from the feature set used for model training
Why this is correct
Excluding protected attributes is a direct way to prevent the model from using them; it aligns with data minimisation.
- ✗
Use gender as a feature but ignore the model predictions for certain groups
Why it's wrong here
Ignoring predictions is not a systematic solution; the model will still be biased.
- ✗
Allow gender in training but use a post-processing technique to adjust scores
Why it's wrong here
Allowing gender in training and applying post-processing to adjust scores fails to prevent the model from learning biased correlations during training, as the algorithm can still encode gender-based patterns in its internal weights. This approach is tempting because post-processing techniques, such as threshold adjustments, are effective for mitigating bias in a model’s final outputs when the sensitive attribute is already present in the training data. It would be the correct choice if the data scientist had no control over training features but could still access gender labels to recalibrate predictions after inference.
- ✗
Include gender as a feature and then apply a fairness constraint during training
Why it's wrong here
Including gender as a feature directly contradicts the objective of preventing the model from using it at all. The scenario aims to ensure gender is not inadvertently utilised, implying it should be excluded from the feature set. Fairness constraints are applied to mitigate bias *when* a sensitive feature is present, ensuring equitable predictions across groups. This approach would be appropriate if gender was a necessary input, but its potentially discriminatory influence needed to be controlled.
Go deeper
Related to this question
About these practice questions
One of 753 original AI Associate practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI Associate practice question is part of Courseiva's free Salesforce 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 AI Associate exam.