AIF-C01 practice question: Use cases and ML techniques (2 of 3)
Fundamentals of AI and ML A free question from our original AIF-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A payroll team must calculate employee tax withholding each pay run using rates that tax law fixes and publishes every year.
Auditors need each result to be exactly reproducible from the same inputs. A manager suggests training an ML model on last year's payslips instead of writing the calculation.
What is the BEST advice?
Choose one answer.
AA. Train a deep learning model, because it will learn the tax rules more precisely than code.
BB. Use a foundation model, because it can read the published tax tables and apply them directly to each payslip.
CC. Use rule-based code that applies the published rates, since the answer is deterministic and the rules are known.
DD. Train a clustering model that groups employees into tax bands, then apply the band rates.
Show the answer and explanation
Answer: C
A. Wrong: Deep learning learns approximate patterns from data. It cannot guarantee the exact, auditable result that fixed tax law requires.
B. Wrong: A foundation model generates text from learned patterns and can make arithmetic or reading errors. It is not a reproducible calculation engine for legal tax figures.
C. Right: Correct. Fixed rules in code give the same answer every time, and auditors can read the logic. An ML model adds nothing when the rules are already known and published.
D. Wrong: Clustering finds groups in data without labels and does not calculate tax. Grouping employees does not give the exact withholding amount that payroll must pay.
Explanation
When the rules are fixed, known and must be reproducible, ordinary code is the right tool. Machine learning is useful when the rules are unknown or too complex to write down, not when they are published. This question tests recognizing when ML is the wrong choice.
Want more on Use cases and ML techniques? The 5 full-length practice sets have 18 more Use cases and ML techniques questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →