- A
Increase the weight of the majority class in the loss function.
Why wrong: Weighting the majority class would worsen recall; the model already overweights the majority.
- B
Use SMOTE to generate synthetic fraud samples to balance the dataset.
SMOTE creates synthetic instances of the minority class, allowing the model to learn fraud patterns effectively and improve recall.
- C
Train multiple models on different random subsets and average predictions.
Why wrong: Bagging may not address imbalance; the ensemble will still be biased toward the majority.
- D
Use a simpler model to avoid overfitting on the majority class.
Why wrong: Simplicity does not fix imbalance; the model may still ignore the minority class.
Quick Answer
The answer is to use SMOTE to generate synthetic fraud samples to balance the dataset. This approach directly addresses the core challenge of handling imbalanced datasets for fraud detection, where the minority class (fraud) is vastly underrepresented—here, only 1,000 fraudulent transactions against 1 million legitimate ones. SMOTE works by interpolating between existing fraud examples to create new, synthetic instances, which forces the model to learn meaningful fraud patterns rather than simply predicting the majority class, thereby improving recall without discarding valuable legitimate data. On the Salesforce AI Associate exam, this scenario tests your understanding of how imbalanced data cripples standard accuracy metrics and why oversampling is preferred over undersampling or cost-sensitive learning when maximizing recall is critical. A common trap is assuming high accuracy means a good model, but with extreme imbalance, 99.9% accuracy can hide zero fraud detection. Memory tip: SMOTE “smothers” the imbalance by creating more fraud samples, so recall rises without losing real data.
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.
A financial services company uses Salesforce AI to detect fraudulent transactions. The dataset has 1 million legitimate transactions and only 1,000 fraudulent ones. The model trained with default parameters achieves 99.9% accuracy but identifies no fraud (precision and recall of 0). The data scientist wants to maximize fraud detection (recall) while minimizing false positives. Which approach is most effective?
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
Use SMOTE to generate synthetic fraud samples to balance the dataset.
With extreme imbalance, oversampling the minority class (e.g., SMOTE) generates synthetic fraud examples, helping the model learn fraud patterns and improve recall without discarding legitimate data.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Increase the weight of the majority class in the loss function.
Why it's wrong here
Weighting the majority class would worsen recall; the model already overweights the majority.
- ✓
Use SMOTE to generate synthetic fraud samples to balance the dataset.
Why this is correct
SMOTE creates synthetic instances of the minority class, allowing the model to learn fraud patterns effectively and improve recall.
Related concept
Static NAT maps one inside address to one outside address.
- ✗
Train multiple models on different random subsets and average predictions.
Why it's wrong here
Bagging may not address imbalance; the ensemble will still be biased toward the majority.
- ✗
Use a simpler model to avoid overfitting on the majority class.
Why it's wrong here
Simplicity does not fix imbalance; the model may still ignore the minority class.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AI Associate NAT questions on configuration and troubleshooting.
- →
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 — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: Use SMOTE to generate synthetic fraud samples to balance the dataset. — With extreme imbalance, oversampling the minority class (e.g., SMOTE) generates synthetic fraud examples, helping the model learn fraud patterns and improve recall without discarding legitimate data.
What should I do if I get this AI Associate question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AI Associate NAT questions on configuration and troubleshooting.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
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 →
Keep practising
More AI Associate practice questions
- A Salesforce admin implements Einstein Bots for customer service. To ensure the bot does not use biased language, what s…
- A data architect is designing a data model for Einstein Discovery. The data includes categorical variables with high car…
- A data analyst is evaluating data quality for an Einstein model. Which TWO dimensions are most critical for model accura…
- Which TWO actions are required to prepare data for an Einstein Discovery model?
- A sales manager wants to automatically prioritize leads based on their likelihood to convert. Which Einstein feature sho…
- A marketing team wants to use Einstein Engagement Scoring to prioritize leads. What is the primary input for this AI fea…
Last reviewed: Jun 23, 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.