HomeCPMAI AI Project Exam PrepQuestions 11–20
CPMAI AI Project Exam PrepPart 2 of 3

CPMAI AI Project Exam Prep Exam Questions & Answers 2026 (11–20)

CPMAI AI Project Exam Prep practice questions and answers 2026. Tap an option to test yourself — you'll see the correct answer and a plain-English explanation for every question. Free, no login.

Practise CPMAI AI Project Exam Prep questions free, download the PDF, or unlock timed mock exams when you are ready.
Multiple choice — pick the best answer, then reveal it
  1. Q11What is the primary advantage of using a probabilistic approach over a deterministic approach in machine learning?

    • AIt eliminates the need for data preprocessing
    • BIt provides a measure of uncertainty in predictions
    • CIt always produces more accurate results
    • DIt requires less computational resources
    Show answer

    ✓ Correct answer: B. It provides a measure of uncertainty in predictions

    Probabilistic approaches in machine learning provide a measure of uncertainty or confidence in predictions, which is crucial for risk assessment and decision-making, especially in applications where understanding prediction confidence is important.

  2. Q12Which feature engineering technique is most appropriate when dealing with categorical variables that have a large number of possible values?

    • ATarget encoding
    • BOne-hot encoding
    • CMin-max scaling
    • DPrincipal component analysis
    Show answer

    ✓ Correct answer: A. Target encoding

    One-hot encoding creates binary features for each category, but with many categories, this can lead to excessive dimensionality. Target encoding replaces categories with their mean target value, effectively handling high-cardinality categorical variables without creating too many new features.

  3. Q13A company is implementing a machine learning model to predict equipment failures in a manufacturing plant. Which type of machine learning problem is this?

    • AMulti-class classification
    • BRegression
    • CClustering
    • DBinary classification
    Show answer

    ✓ Correct answer: D. Binary classification

    Predicting equipment failures is a binary classification problem where the model predicts whether a failure will occur (positive class) or not (negative class) based on historical data of equipment conditions and past failures.

  4. Q14What is the primary purpose of vectorization in natural language processing?

    • AIdentifying the most important sentences in a document
    • BTranslating text between different languages
    • CConverting text data into numerical representations that algorithms can process
    • DReducing the number of unique words in a corpus
    Show answer

    ✓ Correct answer: C. Converting text data into numerical representations that algorithms can process

    Vectorization in NLP converts text data into numerical representations (vectors) that machine learning algorithms can process. These vector representations capture semantic relationships between words or documents, enabling algorithms to work with text data.

  5. Q15Which of the following is a key characteristic of Large Language Models (LLMs) like GPT?

    • AThey generate outputs based on explicit programming rules
    • BThey use transformer architectures with self-attention mechanisms
    • CThey require minimal computational resources for training
    • DThey can only be trained on specialized domain-specific data
    Show answer

    ✓ Correct answer: B. They use transformer architectures with self-attention mechanisms

    Large Language Models like GPT use transformer architectures with self-attention mechanisms that allow them to consider the context of words in relation to all other words in a sequence, leading to better understanding of language context and meaning.

  6. Q16In the context of machine learning, what is the primary difference between prediction and inference?

    • APrediction focuses on forecasting specific outcomes, while inference aims to understand underlying patterns and relationships
    • BPrediction requires supervised learning, while inference uses unsupervised learning
    • CPrediction works with numeric data, while inference only processes text data
    • DPrediction is performed during model training, while inference happens after deployment
    Show answer

    ✓ Correct answer: A. Prediction focuses on forecasting specific outcomes, while inference aims to understand underlying patterns and relationships

    Prediction focuses on using a trained model to make specific forecasts or classifications on new data, while inference involves drawing broader conclusions or insights about patterns, relationships, and underlying mechanisms in the data.

  7. Q17What is a key advantage of generative AI compared to traditional discriminative models?

    • ALower computational requirements for training
    • BPerfect accuracy in classification tasks
    • CIndependence from large training datasets
    • DThe ability to create new content that resembles the training data
    Show answer

    ✓ Correct answer: D. The ability to create new content that resembles the training data

    Generative AI models learn the underlying data distribution and can create new content that resembles the training data, while discriminative models focus only on making predictions or classifications based on input features.

  8. Q18A project team is developing a system to categorize customer support tickets automatically. Which type of neural network architecture would be most appropriate for this text classification task?

    • AHopfield Networks
    • BSelf-Organizing Maps
    • CTransformer-based models
    • DConvolutional Neural Networks
    Show answer

    ✓ Correct answer: C. Transformer-based models

    Transformers are particularly well-suited for text classification tasks because they can capture long-range dependencies and contextual information in text through their self-attention mechanism, leading to state-of-the-art performance in NLP tasks like ticket categorization.

  9. Q19In a heuristic search algorithm, what is the primary function of the heuristic?

    • ATo validate the correctness of the final solution
    • BTo estimate how close a given state is to the goal state
    • CTo guarantee the optimal solution is always found
    • DTo eliminate the need for a search algorithm
    Show answer

    ✓ Correct answer: B. To estimate how close a given state is to the goal state

    A heuristic provides an estimated cost or distance to the goal state, helping the search algorithm prioritize more promising paths and improve efficiency by avoiding exhaustive exploration of all possible paths.

  10. Q20What distinguishes k-means from hierarchical clustering algorithms?

    • AK-means requires the number of clusters to be specified in advance
    • BK-means can only work with categorical data
    • CK-means always produces better quality clusters
    • DK-means is computationally less expensive in all cases
    Show answer

    ✓ Correct answer: A. K-means requires the number of clusters to be specified in advance

    K-means requires the number of clusters (k) to be specified in advance, while hierarchical clustering builds a tree of clusters without requiring a pre-specified number, allowing users to choose the appropriate number of clusters after examining the cluster hierarchy.

Free practice here. Timed mocks when you are ready.

Use the free CPMAI AI Project Exam Prep sample, download the PDF, then unlock web-based timed mock exams for a full exam rehearsal.