Quiz: Machine learning
How to use this quiz
Ten exam-style questions on sections 3.1 and 3.2 of the syllabus: forms of ML, the workflow, pretrained models, data preparation and datasets. Answer each question before you open the explanation.
1. A model predicts tomorrow’s electricity demand in megawatts from weather and calendar data. Which form of ML is this?
- A. Supervised learning, classification
- B. Supervised learning, ML regression
- C. Unsupervised learning, association
- D. Reinforcement learning
Show answer
2. Why does the CT-AI syllabus use the term “ML regression” instead of “regression”?
- A. To distinguish it from regression defects and regression testing in other ISTQB syllabi
- B. Because ML regression only applies to neural networks
- C. Because regression is a form of unsupervised learning
- D. Because the term regression is outdated
Show answer
3. In which step of the ML workflow are the ML functional performance metrics and acceptance criteria defined?
- A. Understand the objectives
- B. Evaluate the model
- C. Test the model
- D. Monitor and tune the model
Show answer
4. A data scientist changes the learning rate and retrains, because the validation results were poor. Which part of the workflow is this?
- A. Data preparation
- B. Model generation (tuning)
- C. Deployment
- D. Monitoring
Show answer
5. Why must a deployed model be tested again against the acceptance criteria?
- A. Deployment always retrains the model
- B. Re-engineering the model and its pipeline for the target environment can change its behaviour
- C. The test data is deleted after deployment
- D. Acceptance criteria change at deployment
Show answer
6. A team wants a chatbot to answer questions about internal HR policies that change monthly, without retraining the model. Which approach fits best?
- A. Training a new LLM from scratch
- B. Fine-tuning the whole network every month
- C. Retrieval-augmented generation
- D. Reinforcement learning
Show answer
7. During fine-tuning, which layers are typically retrained when only part of the network is tuned?
- A. The layers near the input
- B. The layers near the output
- C. No layers; only the prompt changes
- D. Only the activation functions
Show answer
8. A dataset has missing values in the income column. Which is a data preprocessing activity that handles this?
- A. Feature extraction
- B. Imputation with the mean, median or mode
- C. Labelling
- D. Hyperparameter tuning
Show answer
9. Which activity is exploratory data analysis (EDA)?
- A. Plotting the distribution of each feature to find trends, patterns and anomalies
- B. Training several models and comparing them
- C. Converting the model for a mobile device
- D. Writing the acceptance criteria
Show answer
10. A team uses its test set to choose between five candidate models and reports the best one’s test score. What is the problem?
- A. Five models is too few
- B. The test set has been used for model selection, so the reported score is optimistic and not an independent test
- C. Test sets may not be used for classification models
- D. There is no problem
Show answer
Your score
- 9-10: ready for sections 3.1 and 3.2 in the exam.
- 7-8: read the explanations of the ones you missed.
- 6 or fewer: go through the lessons again, especially the workflow.