Courseiva
AI Concepts and Techniques →mediumMultiple Choice

AI0-001 AI Concepts and Techniques Practice Question

A data scientist is building a model to predict credit default using historical loan data. The dataset contains 100,000 records with 50 features, including income, debt-to-income ratio, and loan amount. The target variable is binary (default vs. no default). The goal is to maximize interpretability while maintaining high accuracy. Which algorithm is MOST appropriate?

⚠ Common exam trap

The trap is equating 'high accuracy' with complex models — candidates may pick random forest or GBM for accuracy, but the question explicitly prioritizes interpretability, making logistic regression the best fit.

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

✓

Logistic regression

Logistic regression is a linear model that is highly interpretable (coefficients indicate direction and magnitude of feature impact) and performs well on binary classification with many features, especially when the goal is to balance interpretability with accuracy. It avoids the overfitting risk of a single decision tree and the black-box nature of ensembles.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Logistic regression

    Why this is correct

    Logistic regression produces coefficients whose sign and magnitude directly indicate each feature's contribution to default probability, giving the interpretability the goal demands. With 100,000 records and 50 features, it also achieves high accuracy on this binary target without sacrificing transparency.

  • ✗

    Random forest

    Why it's wrong here

    A random forest averages hundreds of deep trees, so no single transparent decision path explains an individual default prediction. It is tempting because it handles 50 mixed features robustly with little tuning, and would be correct if accuracy outweighed the requirement for an inherently interpretable model.

  • ✗

    Gradient boosting machine

    Why it's wrong here

    Gradient boosting builds hundreds of sequentially fitted trees whose combined output cannot be explained per prediction without post-hoc tools such as SHAP. It is tempting because it typically wins on tabular accuracy, and would be correct if predictive performance alone were the priority rather than interpretability.

  • ✗

    Decision tree

    Why it's wrong here

    A single decision tree overfits 50 features and 100,000 records, giving lower accuracy than an ensemble; its axis of interpretability is depth-limited structure, not raw splits. It is tempting because shallow trees are inherently readable, and would suit small datasets where a compact rule set matters more than predictive power.

About these practice questions

This AI0-001 question is part of Courseiva's 962-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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

This AI0-001 practice question is part of Courseiva's free CompTIA 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 AI0-001 exam.