Courseiva
AI Models and Data EngineeringmediumMultiple SelectObjective-mapped

AI0-001 AI Models and Data Engineering Practice Question

A natural language processing (NLP) team is building a sentiment analysis model. The raw text data contains punctuation, stop words, and URLs. Which TWO preprocessing steps are most appropriate to improve model performance? (Choose two.)

⚠ Common exam trap

The AI0-001 exam often tests the distinction between mandatory preprocessing steps (like tokenization) and steps that specifically improve performance by reducing noise, leading candidates to select tokenization or lowercasing instead of the more impactful noise-removal steps.

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

Remove all punctuation and URLs

Removing punctuation and URLs eliminates noise that does not contribute to sentiment (e.g., 'http://...' or '!!!'), allowing the model to focus on meaningful words. This step reduces vocabulary size and prevents the model from learning spurious correlations tied to formatting artifacts.

Answer analysis

Option-by-option breakdown

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

  • Remove all punctuation and URLs

    Why this is correct

    Punctuation and URLs are typically not useful for sentiment and add noise.

  • Apply stemming to reduce words to root forms

    Why it's wrong here

    Stemming can help but may also lose meaning; it's not always necessary.

  • Remove common stop words

    Why this is correct

    Stop words add little meaning and can be removed to reduce dimensionality.

  • Convert all text to lowercase

    Why it's wrong here

    Lowercasing is standard but the question asks for two; other steps are more impactful.

  • Tokenize the text into individual words

    Why it's wrong here

    Tokenization is fundamental but is a step, not specifically for improving performance.

About these practice questions

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

Senior Network & Security Engineer · founder of Courseiva

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.