- A
Reduction in training time
Why wrong: More features increase training time.
- B
Increased interpretability of the model
Why wrong: One-hot can make models less interpretable with many columns.
- C
High cardinality leading to sparse data and overfitting
High cardinality creates many sparse columns, risking overfitting.
- D
Loss of ordinal information in categories
Why wrong: Ordinal info is lost, but that's not the main drawback here.
AI Associate Data for AI Practice Question
This AI Associate practice question tests your understanding of data for ai. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
During data transformation, a data scientist applies one-hot encoding to a categorical feature with 50 unique values. The resulting dataset has 50 new columns. What is a potential drawback of this transformation?
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
High cardinality leading to sparse data and overfitting
One-hot encoding a categorical feature with 50 unique values creates 50 binary columns, each representing one category. This high cardinality leads to a very sparse matrix (most entries are 0), which can cause the model to overfit by learning noise from rare categories, especially when the dataset is not large enough to support such dimensionality.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Reduction in training time
Why it's wrong here
More features increase training time.
- ✗
Increased interpretability of the model
Why it's wrong here
One-hot can make models less interpretable with many columns.
- ✓
High cardinality leading to sparse data and overfitting
Why this is correct
High cardinality creates many sparse columns, risking overfitting.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Loss of ordinal information in categories
Why it's wrong here
Ordinal info is lost, but that's not the main drawback here.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Salesforce often tests the misconception that one-hot encoding always improves model performance by preserving all information, when in fact high cardinality introduces sparsity and overfitting risks that can degrade model accuracy.
Detailed technical explanation
How to think about this question
Under the hood, one-hot encoding creates a binary vector for each category, resulting in a sparse matrix where each row has exactly one '1' and 49 '0's. This sparsity can cause the curse of dimensionality, where distance metrics become less meaningful and models like linear regression or tree-based models may overfit to rare categories. In real-world scenarios, such as encoding a 'zip code' feature with 50 values, this can lead to poor generalization on unseen data unless regularization or dimensionality reduction (e.g., feature hashing) is applied.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the AI Associate exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Data for AI — study guide chapter
Learn the concepts, then practise the questions
- →
Data for AI practice questions
Targeted practice on this topic area only
- →
All AI Associate questions
506 questions across all exam domains
- →
Salesforce AI Associate AI Associate study guide
Full concept coverage aligned to exam objectives
- →
AI Associate practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AI Associate practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
AI Fundamentals practice questions
Practise AI Associate questions linked to AI Fundamentals.
AI Capabilities in CRM practice questions
Practise AI Associate questions linked to AI Capabilities in CRM.
Ethical Considerations of AI practice questions
Practise AI Associate questions linked to Ethical Considerations of AI.
Data for AI practice questions
Practise AI Associate questions linked to Data for AI.
AI Associate fundamentals practice questions
Practise AI Associate questions linked to AI Associate fundamentals.
AI Associate scenario practice questions
Practise AI Associate questions linked to AI Associate scenario.
AI Associate troubleshooting practice questions
Practise AI Associate questions linked to AI Associate troubleshooting.
Practice this exam
Start a free AI Associate practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AI Associate question test?
Data for AI — This question tests Data for AI — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: High cardinality leading to sparse data and overfitting — One-hot encoding a categorical feature with 50 unique values creates 50 binary columns, each representing one category. This high cardinality leads to a very sparse matrix (most entries are 0), which can cause the model to overfit by learning noise from rare categories, especially when the dataset is not large enough to support such dimensionality.
What should I do if I get this AI Associate question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 30, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.