CAIC Machine Learning & Data Science — Questions and Answers
Question 1: Which technique is used to reduce the number of input features by combining them into fewer dimensions while preserving variance?
- L2 regularization
- Principal Component Analysis (Correct answer)
- Dropout
- Batch normalization
Correct answer: Principal Component Analysis
PCA projects data onto orthogonal axes (principal components) that capture the most variance, effectively reducing dimensionality.
Question 2: A dataset has 95% negative samples and 5% positive samples. Which metric is LEAST informative for evaluating a classifier on this dataset?
- F1-score
- Accuracy (Correct answer)
- ROC-AUC
- Precision-Recall AUC
Correct answer: Accuracy
Accuracy is misleading on imbalanced datasets because a model predicting all negatives achieves 95% accuracy without learning anything meaningful.
Question 3: What does the term 'bias-variance tradeoff' describe in machine learning?
- The balance between training speed and model accuracy
- The tension between underfitting (high bias) and overfitting (high variance) (Correct answer)
- The tradeoff between precision and recall
- The balance between data quantity and model complexity
Correct answer: The tension between underfitting (high bias) and overfitting (high variance)
High bias models underfit by making oversimplified assumptions, while high variance models overfit by being too sensitive to training data noise.
Question 4: In gradient boosting, each successive tree is trained to predict what?
- The original target labels
- The residual errors of the previous ensemble (Correct answer)
- The feature importances of prior trees
- The out-of-bag sample predictions
Correct answer: The residual errors of the previous ensemble
Gradient boosting fits each new tree to the residuals (errors) left by the current ensemble, iteratively reducing prediction error.
Question 5: Which cross-validation strategy is most appropriate when the dataset has a temporal ordering and future data must not leak into training?
- Stratified k-fold
- Leave-one-out
- Time series split (walk-forward validation) (Correct answer)
- Shuffle split
Correct answer: Time series split (walk-forward validation)
Time series split ensures training always uses only past data and validation uses future data, preventing temporal leakage.
Question 6: What is the primary purpose of the 'elbow method' in k-means clustering?
- To detect outliers in the dataset
- To select the optimal number of clusters k (Correct answer)
- To initialize cluster centroids
- To normalize feature scales
Correct answer: To select the optimal number of clusters k
The elbow method plots inertia versus k and looks for the point where adding more clusters yields diminishing returns.
Question 7: A model trained on data from 2020–2022 is deployed in 2025 and its performance degrades. What phenomenon describes this?
- Overfitting
- Concept drift (Correct answer)
- Underfitting
- Feature leakage
Correct answer: Concept drift
Concept drift occurs when the statistical relationship between input features and the target variable changes over time after deployment.
Question 8: Which ensemble method trains multiple models in parallel on random subsets of the training data and aggregates their predictions?
- Boosting
- Stacking
- Bagging (Correct answer)
- Bayesian averaging
Correct answer: Bagging
Bagging (Bootstrap Aggregating) trains independent learners on bootstrapped samples and combines them via voting or averaging to reduce variance.
Question 9: What does the ROC curve plot?
- Precision vs. Recall at different thresholds
- True Positive Rate vs. False Positive Rate at different thresholds (Correct answer)
- Training loss vs. Validation loss over epochs
- Model accuracy vs. Dataset size
Correct answer: True Positive Rate vs. False Positive Rate at different thresholds
The ROC curve shows the tradeoff between sensitivity (TPR) and specificity (1-FPR) across all classification thresholds.
Question 10: Which regularization technique randomly sets a fraction of neuron activations to zero during each training step?
- L1 regularization
- Weight decay
- Dropout (Correct answer)
- Early stopping
Correct answer: Dropout
Dropout randomly deactivates neurons during training, forcing the network to learn redundant representations and reducing co-adaptation.
Question 11: In a confusion matrix for binary classification, which formula correctly computes Precision?
- TP / (TP + FN)
- TP / (TP + FP) (Correct answer)
- TN / (TN + FP)
- (TP + TN) / (TP + TN + FP + FN)
Correct answer: TP / (TP + FP)
Precision measures what fraction of predicted positives are actually positive: TP divided by all predicted positives (TP + FP).
Question 12: What is the key difference between supervised and unsupervised learning?
- Supervised learning uses neural networks; unsupervised uses decision trees
- Supervised learning requires labeled training data; unsupervised discovers patterns without labels (Correct answer)
- Supervised learning is faster to train than unsupervised learning
- Supervised learning works only on tabular data; unsupervised works on images
Correct answer: Supervised learning requires labeled training data; unsupervised discovers patterns without labels
Supervised learning learns a mapping from inputs to known labels, while unsupervised learning finds hidden structure in unlabeled data.
Question 13: Which metric measures the average magnitude of errors in the same units as the target variable, without squaring them?
- Mean Squared Error (MSE)
- Root Mean Squared Error (RMSE)
- Mean Absolute Error (MAE) (Correct answer)
- R-squared
Correct answer: Mean Absolute Error (MAE)
MAE computes the mean of absolute differences between predictions and actuals, keeping error in the original unit scale without amplifying outliers.
Question 14: What is 'feature engineering' in the context of machine learning?
- Selecting the best algorithm for a given dataset
- Transforming raw data into informative input representations for a model (Correct answer)
- Tuning hyperparameters using grid search
- Splitting data into training and test sets
Correct answer: Transforming raw data into informative input representations for a model
Feature engineering involves creating, transforming, or selecting variables from raw data to improve model performance.
Question 15: Which algorithm finds the hyperplane that maximizes the margin between classes in a classification problem?
- Logistic regression
- Naive Bayes
- Support Vector Machine (Correct answer)
- K-Nearest Neighbors
Correct answer: Support Vector Machine
SVMs find the decision boundary that maximizes the minimum distance (margin) to the nearest training points of each class (support vectors).
Question 16: What does a learning curve that shows high training accuracy but low validation accuracy most likely indicate?
- Underfitting
- Overfitting (Correct answer)
- Data leakage
- Label noise
Correct answer: Overfitting
A large gap between training and validation performance indicates the model memorized training data but fails to generalize to unseen examples.
Question 17: In the context of neural networks, what does 'vanishing gradient' refer to?
- The model's weights becoming too large during training
- Gradients becoming extremely small in early layers, stalling learning (Correct answer)
- The loss function outputting zero before convergence
- Activation functions producing negative values
Correct answer: Gradients becoming extremely small in early layers, stalling learning
In deep networks, repeated multiplication of small gradients through many layers causes them to approach zero, making early layers learn very slowly.
Question 18: Which data splitting strategy ensures that the proportion of each class is maintained in both train and test sets?
- Random split
- Stratified split (Correct answer)
- K-fold split
- Chronological split
Correct answer: Stratified split
Stratified splitting preserves the class distribution of the full dataset in each resulting subset, critical for imbalanced classification problems.
Question 19: What is the purpose of hyperparameter tuning using techniques like Grid Search or Random Search?
- To preprocess training data before model fitting
- To find model configuration settings that optimize validation performance (Correct answer)
- To reduce the size of the training dataset
- To convert categorical variables to numeric form
Correct answer: To find model configuration settings that optimize validation performance
Hyperparameter tuning systematically searches the space of model configurations (e.g., learning rate, depth) to find values that maximize held-out performance.
Question 20: What distinguishes a generative model from a discriminative model in machine learning?
- Generative models classify faster at inference time
- Generative models learn the joint distribution P(X,Y); discriminative models learn P(Y|X) (Correct answer)
- Discriminative models require more training data than generative models
- Generative models can only be used for image tasks
Correct answer: Generative models learn the joint distribution P(X,Y); discriminative models learn P(Y|X)
Generative models model how data is generated (joint distribution), while discriminative models learn decision boundaries directly from input to label.
Question 21: Which technique addresses multicollinearity by adding the sum of squared coefficients as a penalty to the loss function?
- Lasso (L1) regularization
- Ridge (L2) regularization (Correct answer)
- Elastic Net
- Dropout
Correct answer: Ridge (L2) regularization
Ridge regression penalizes large coefficients via their squared sum, shrinking correlated features' weights toward zero without eliminating them entirely.
Which technique is used to reduce the number of input features by combining them into fewer dimensions while preserving variance?
What Practice Test Geeks adds beyond an AI chat for CAIC
An AI chatbot can quiz you, but it can't reproduce the exam conditions or keep your record. Here you get:
- A timed, full-length CAIC mock exam — 70 questions in 100 minutes with a 70% pass mark, modeled on the official exam's question count and time limit, followed by a score report broken down by exam domain.
- A fixed CAIC question bank: the same test every attempt, so your score is comparable from one try to the next instead of changing with every regenerated quiz.
- Progress saved on your device: completed tests, scores and missed questions stay in My Progress, so you can retake only what you got wrong.
- A printable CAIC cheat sheet you can print or save as a PDF.
- CAIC flashcards built from the same question bank.
Practice questions written with AI assistance and published by Nathan Beja, founder of Practice Test Geeks. They are not real exam questions. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- usaii.org — Retake policy, time limit, eligibility, fees, test delivery, passing score, renewal, retake fee, score release, test dates · verified Nov 2026