ISTQB CT-AI Practice Test 1
Question 1
A testing group is given this fictional case: A factory defect classifier encounters a new camera whose brightness differs from training sensors. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Compare live versus baseline feature distributions using drift statistics and check downstream performance where labels exist
- Check that the proposed transformation preserves the relevant task meaning and evaluate paired baseline and transformed inputs
- Test chronology, referential integrity, cross-column dependencies and what was known at prediction time
- Calculate comparable group selection rates and investigate data context, legal scope, uncertainty and confounding factors
Explanation
Correct Answer
A:Compare live versus baseline feature distributions using drift statistics and check downstream performance where labels exist. A factory defect classifier encounters a new camera whose brightness differs from training sensors. Install monitored input-distribution checks with action thresholds and a governed response to genuine drift.
Incorrect Answers
B:Check that the proposed transformation preserves the relevant task meaning and evaluate paired baseline and transformed inputs. A factory defect classifier encounters a new camera whose brightness differs from training sensors. Data drift occurs when the operational input distribution departs from the distribution used in development.
C:Test chronology, referential integrity, cross-column dependencies and what was known at prediction time. Data drift occurs when the operational input distribution departs from the distribution used in development.
D:Calculate comparable group selection rates and investigate data context, legal scope, uncertainty and confounding factors. Data drift occurs when the operational input distribution departs from the distribution used in development.
Question 2
Consider this original ML case: An insurance project chooses a model solely by F1-score despite much higher financial cost for false negatives. Which failure outcome should be emphasized? Select ONE best answer.
- Incorrect learning-method selection can confuse discovered patterns with certified truth or rewards with safety constraints
- A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service
- Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality
- Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims
Explanation
Correct Answer
B:A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service. An insurance project chooses a model solely by F1-score despite much higher financial cost for false negatives. Agree a decision-oriented metric and threshold before selecting the candidate model. Inspect stakeholder priorities, confusion-matrix outcomes, review capacity and the economic or safety cost of errors.
Incorrect Answers
A:Incorrect learning-method selection can confuse discovered patterns with certified truth or rewards with safety constraints. Model selection must reflect the business consequences of false positives, false negatives and operating constraints.
C:Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality. Model selection must reflect the business consequences of false positives, false negatives and operating constraints.
D:Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims. Model selection must reflect the business consequences of false positives, false negatives and operating constraints.
Question 3
A private AI-testing exercise identifies: A safety image classifier is approved based on only ten easy images from a large diverse operating population. What is the governing concept relevant to this finding? Select ONE best answer.
- AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions
- Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm
- Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome
- Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information
Explanation
Correct Answer
C:Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome. A safety image classifier is approved based on only ten easy images from a large diverse operating population. Use a specified statistical evaluation protocol and report uncertainty alongside the measured quality metric.
Incorrect Answers
A:AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
B:Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
D:Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
Question 4
A fictional AI service has this weakness: A hospital cannot reproduce predictions after an ML library upgrade because preprocessing code was omitted. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs
- Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior
- Flat test effort can leave rare catastrophic errors underexamined while low-impact behavior receives excess attention
- Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction
Explanation
Correct Answer
D:Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction. A hospital cannot reproduce predictions after an ML library upgrade because preprocessing code was omitted. Build a versioned training and inference pipeline and test its compatibility across the target runtime. Inspect framework and package versions, data transforms, model artifacts, random seeds and deployment compatibility.
Incorrect Answers
A:A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs. A hospital cannot reproduce predictions after an ML library upgrade because preprocessing code was omitted. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
B:Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
C:Flat test effort can leave rare catastrophic errors underexamined while low-impact behavior receives excess attention. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
Question 5
For this AI-quality problem — A team calls a neural network superior without comparing a simpler baseline on the same holdout records — which inspection would best establish the cause? Select ONE best answer.
- Compare dataset versions, splits, experiment settings, baselines, model hyperparameters and repeat outcomes
- Compare real prevalence, per-class outcomes, sampling provenance, holdout purity and information loss
- Check that the proposed transformation preserves the relevant task meaning and evaluate paired baseline and transformed inputs
- Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes
Explanation
Correct Answer
A:Compare dataset versions, splits, experiment settings, baselines, model hyperparameters and repeat outcomes. A team calls a neural network superior without comparing a simpler baseline on the same holdout records. Evaluate candidates under matched splits and acceptance thresholds with versioned experiment records.
Incorrect Answers
B:Compare real prevalence, per-class outcomes, sampling provenance, holdout purity and information loss. Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria.
C:Check that the proposed transformation preserves the relevant task meaning and evaluate paired baseline and transformed inputs. Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria.
D:Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes. Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria.
Question 6
A private AI-testing exercise identifies: A fraud model team begins training before the business defines which fraud losses it needs to reduce. What is the governing concept relevant to this finding? Select ONE best answer.
- Model selection must reflect the business consequences of false positives, false negatives and operating constraints
- ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring
- Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm
- A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence
Explanation
Correct Answer
B:ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring. A fraud model team begins training before the business defines which fraud losses it needs to reduce. Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior.
Incorrect Answers
A:Model selection must reflect the business consequences of false positives, false negatives and operating constraints. A fraud model team begins training before the business defines which fraud losses it needs to reduce. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
C:Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
D:A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence. A fraud model team begins training before the business defines which fraud losses it needs to reduce. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
Question 7
After a fictional ML project resolves the following issue — A deep classifier scores 99 percent on training images but only 70 percent on independent images — which acceptance result is MOST convincing? Select ONE best answer.
- Post-change labeled evaluations detect changed error patterns and trigger approved retraining or restrictions
- Material claims match the cited source and valid paraphrases do not change the required risk-critical answer
- Training and independent evaluation curves demonstrate acceptable generalization without uncontrolled holdout tuning
- Paired tests satisfy the relationship for valid transforms while deliberately invalid transforms are not asserted to be invariant
Explanation
Correct Answer
C:Training and independent evaluation curves demonstrate acceptable generalization without uncontrolled holdout tuning. A deep classifier scores 99 percent on training images but only 70 percent on independent images. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
Incorrect Answers
A:Post-change labeled evaluations detect changed error patterns and trigger approved retraining or restrictions. A deep classifier scores 99 percent on training images but only 70 percent on independent images. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
B:Material claims match the cited source and valid paraphrases do not change the required risk-critical answer. A deep classifier scores 99 percent on training images but only 70 percent on independent images. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
D:Paired tests satisfy the relationship for valid transforms while deliberately invalid transforms are not asserted to be invariant. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
Question 8
After a fictional ML project resolves the following issue — A public agency deletes records during data preparation and cannot explain which selection rules removed them — which acceptance result is MOST convincing? Select ONE best answer.
- Independent task and subgroup tests show the adapted model meets its agreed performance and safety thresholds
- The candidate handles representative traffic in shadow mode, meets criteria and can be reverted without loss of service
- Boundary and invalid samples trigger consistent documented accept, reject or repair decisions
- An independent sample traces source permissions and transformation decisions to the final training representation
Explanation
Correct Answer
D:An independent sample traces source permissions and transformation decisions to the final training representation. A public agency deletes records during data preparation and cannot explain which selection rules removed them. High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations.
Incorrect Answers
A:Independent task and subgroup tests show the adapted model meets its agreed performance and safety thresholds. High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations.
B:The candidate handles representative traffic in shadow mode, meets criteria and can be reverted without loss of service. High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations.
C:Boundary and invalid samples trigger consistent documented accept, reject or repair decisions. A public agency deletes records during data preparation and cannot explain which selection rules removed them. High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations.
Question 9
In an original ML testing scenario, investigators find: A fraud operations team reports true positives but omits the false alarms investigators must inspect. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Examine the confusion matrix and distinguish true positives from false positives among positive alerts
- Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence
- Compare generated claims and citations to authoritative content and evaluate responses to semantically equivalent prompt variants
- Compare labeled operational outcomes and prediction calibration across time, distinguishing feature shift from conditional target shift
Explanation
Correct Answer
A:Examine the confusion matrix and distinguish true positives from false positives among positive alerts. A fraud operations team reports true positives but omits the false alarms investigators must inspect. TP divided by TP plus FP. Calculate precision on an independent test set and compare the resulting workload with the agreed alert-quality threshold.
Incorrect Answers
B:Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence. Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP.
C:Compare generated claims and citations to authoritative content and evaluate responses to semantically equivalent prompt variants. Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP.
D:Compare labeled operational outcomes and prediction calibration across time, distinguishing feature shift from conditional target shift. Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP.
Question 10
A fictional AI evaluation investigates the failure: A hospital prediction service calls recall the proportion of all positive alerts that are truly positive. For an independent test cohort, the confusion-matrix counts are TP=66, FP=13, FN=28, and TN=169. What is the precision score, rounded to ONE decimal place as a percentage? Select ONE best answer.
- 69.3%
- 83.5%
- 76.1%
- 91.8%
Explanation
Correct Answer
B:83.5% is correct: precision is true positive alerts divided by all positive alerts. Here precision = 66/(66+13) = 0.835443, so the percentage rounded to one decimal place is 83.5%. True negatives are not used in this particular formula unless the selected measure requires them.
Incorrect Answers