ISTQB CT-AI Practice Test 14
Question 130
In an AI-system assurance case, the team observes: A medical dataset is automatically labelled from an unreliable rule with no expert sampling. What is the most relevant resulting test risk? Select ONE best answer.
- Poisoned or untrustworthy data can bias model predictions even when training completes normally
- Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality
- Changed decisions can go unnoticed if model updates are compared under inconsistent input conditions
- Uncontrolled comparisons can favor a candidate because of easier data rather than better predictive ability
Explanation
Correct Answer
B:Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality. A medical dataset is automatically labelled from an unreliable rule with no expert sampling. Compare independent annotations, disagreement rates, boundary examples, low-confidence predictions and label definitions.
Incorrect Answers
A:Poisoned or untrustworthy data can bias model predictions even when training completes normally. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
C:Changed decisions can go unnoticed if model updates are compared under inconsistent input conditions. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
D:Uncontrolled comparisons can favor a candidate because of easier data rather than better predictive ability. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
Question 131
After a fictional ML project resolves the following issue — A team uses the number of covered code branches to infer coverage of learned activation ranges — which acceptance result is MOST convincing? Select ONE best answer.
- Partition audits show zero forbidden person or time overlap and realistic performance on new entities or periods
- Defined metrics remain within acceptable uncertainty and performance bounds across representative independent trials
- Additional tests identify functional errors even when activation coverage appears high
- Independent reviewers reproduce the task rubric and record groundedness and failure frequency across diverse prompts
Explanation
Correct Answer
C:Additional tests identify functional errors even when activation coverage appears high. A team uses the number of covered code branches to infer coverage of learned activation ranges. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
Incorrect Answers
A:Partition audits show zero forbidden person or time overlap and realistic performance on new entities or periods. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
B:Defined metrics remain within acceptable uncertainty and performance bounds across representative independent trials. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
D:Independent reviewers reproduce the task rubric and record groundedness and failure frequency across diverse prompts. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
Question 132
A private test-design workshop records: A hospital cannot reproduce predictions after an ML library upgrade because preprocessing code was omitted. Which action best addresses the central issue? Select ONE best answer.
- Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests
- Package versioned transformations with the model and prevent use of information unavailable at decision time
- Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence
- Build a versioned training and inference pipeline and test its compatibility across the target runtime
Explanation
Correct Answer
D:Build a versioned training and inference pipeline and test its compatibility across the target runtime. A hospital cannot reproduce predictions after an ML library upgrade because preprocessing code was omitted. Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction.
Incorrect Answers
A:Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
B:Package versioned transformations with the model and prevent use of information unavailable at decision time. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
C:Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
Question 133
Consider this original ML case: A manufacturer changes its activation function yet assumes this cannot affect predicted outputs. Which failure outcome should be emphasized? Select ONE best answer.
- Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior
- Low precision can overwhelm reviewers with false positives despite capturing many true cases
- Poisoned or untrustworthy data can bias model predictions even when training completes normally
- Untested prompt injection or persuasion patterns may override intended guardrails and expose protected material
Explanation
Correct Answer
A:Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior. A manufacturer changes its activation function yet assumes this cannot affect predicted outputs. Test model output against known examples and retain the exact architecture and trained weights for reproducibility. Inspect input features, layers, activations, learned parameters, loss function and inference operations.
Incorrect Answers
B:Low precision can overwhelm reviewers with false positives despite capturing many true cases. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
C:Poisoned or untrustworthy data can bias model predictions even when training completes normally. A manufacturer changes its activation function yet assumes this cannot affect predicted outputs. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
D:Untested prompt injection or persuasion patterns may override intended guardrails and expose protected material. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
Question 134
A private test-design workshop records: A speech recognizer is trained on one regional accent but deployed broadly without subgroup error analysis. Which action best addresses the central issue? Select ONE best answer.
- Express cross-field assertions and quarantine inconsistent or future-leaking records before training
- Use disaggregated fairness analysis and investigate systemic differences before choosing data or threshold remediation
- Keep a genuinely untouched evaluation partition separate from training and development selection
- Build a versioned training and inference pipeline and test its compatibility across the target runtime
Explanation
Correct Answer
B:Use disaggregated fairness analysis and investigate systemic differences before choosing data or threshold remediation. A speech recognizer is trained on one regional accent but deployed broadly without subgroup error analysis. Aggregate accuracy may hide unfair error differences inherited from historical data or model design.
Incorrect Answers
A:Express cross-field assertions and quarantine inconsistent or future-leaking records before training. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
C:Keep a genuinely untouched evaluation partition separate from training and development selection. A speech recognizer is trained on one regional accent but deployed broadly without subgroup error analysis. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
D:Build a versioned training and inference pipeline and test its compatibility across the target runtime. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
Question 135
An original testing team reviews the following AI-system finding: A deep classifier scores 99 percent on training images but only 70 percent on independent images. Which testing principle MOST directly applies? Select ONE best answer.
- Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests
- Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions
- Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features
- Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training
Explanation
Correct Answer
C:Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features. A deep classifier scores 99 percent on training images but only 70 percent on independent images. Use independent validation to guide regularization, capacity or data changes and reserve the final test set.
Incorrect Answers
A:Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
B:Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
D:Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
Question 136
A fictional AI evaluation investigates the failure: A medical classifier is selected by F1 without checking whether high false-negative costs require extra recall. For an independent test cohort, the confusion-matrix counts are TP=55, FP=13, FN=29, and TN=135. What is the F1 score, rounded to ONE decimal place as a percentage? Select ONE best answer.
- 58.2%
- 65.0%
- 80.7%
- 72.4%
Explanation
Correct Answer
D:72.4% is correct: f1 is the harmonic balance of precision and recall. Here f1 = 2×55/(2×55+13+29) = 0.723684, so the percentage rounded to one decimal place is 72.4%. True negatives are not used in this particular formula unless the selected measure requires them.
Incorrect Answers
A:58.2% is not supported by these counts. The required f1 formula is 2×55/(2×55+13+29), giving 72.4%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for f1.
B:65.0% is not supported by these counts. The required f1 formula is 2×55/(2×55+13+29), giving 72.4%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for f1.
C:80.7% is not supported by these counts. The required f1 formula is 2×55/(2×55+13+29), giving 72.4%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for f1.
Question 137
During a fictional ML project, the owner learns: A retailer removes its old recommendation model before shadow-comparing the replacement against live requests. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Run smoke and shadow tests on production-like requests before a monitored cutover with a rehearsed rollback
- Test framework API contracts and repeat representative training experiments with controlled settings
- Keep a genuinely untouched evaluation partition separate from training and development selection
- Test retrieval and grounded generation as distinct stages using versioned authoritative documents
Explanation
Correct Answer
A:Run smoke and shadow tests on production-like requests before a monitored cutover with a rehearsed rollback. A retailer removes its old recommendation model before shadow-comparing the replacement against live requests. A successful training job is insufficient evidence that the deployed service is compatible, safe or an improvement.
Incorrect Answers
B:Test framework API contracts and repeat representative training experiments with controlled settings. A retailer removes its old recommendation model before shadow-comparing the replacement against live requests. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
C:Keep a genuinely untouched evaluation partition separate from training and development selection. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
D:Test retrieval and grounded generation as distinct stages using versioned authoritative documents. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
Question 138
A private test-design workshop records: A clinical classifier tests cosmetic dashboard colors more deeply than missed emergency alerts. Which action best addresses the central issue? Select ONE best answer.
- Conduct documented adversarial probes and verify refusal, containment and safe response behavior within authorized scope
- Allocate stronger evidence and stress coverage to high-impact predictions and operational failure paths
- Agree a decision-oriented metric and threshold before selecting the candidate model
- Test retrieval and grounded generation as distinct stages using versioned authoritative documents
Explanation
Correct Answer
B:Allocate stronger evidence and stress coverage to high-impact predictions and operational failure paths. A clinical classifier tests cosmetic dashboard colors more deeply than missed emergency alerts. Flat test effort can leave rare catastrophic errors underexamined while low-impact behavior receives excess attention.
Incorrect Answers
A:Conduct documented adversarial probes and verify refusal, containment and safe response behavior within authorized scope. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
C:Agree a decision-oriented metric and threshold before selecting the candidate model. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
D:Test retrieval and grounded generation as distinct stages using versioned authoritative documents. A clinical classifier tests cosmetic dashboard colors more deeply than missed emergency alerts. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
Question 139
In an original ML testing scenario, investigators find: A retailer calls a task-specific recommender superintelligence because its model uses a large neural network. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Sample repeated outputs under documented decoding settings and inspect factual support, permitted content and task usefulness
- Inspect input features, layers, activations, learned parameters, loss function and inference operations
- Review the actual task boundaries, supported modalities, benchmarked functions and failure modes rather than marketing labels
- Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance
Explanation
Correct Answer
C:Review the actual task boundaries, supported modalities, benchmarked functions and failure modes rather than marketing labels. A retailer calls a task-specific recommender superintelligence because its model uses a large neural network. Specify the concrete prediction, recognition or generation task and choose tests for that supported capability.
Incorrect Answers
A:Sample repeated outputs under documented decoding settings and inspect factual support, permitted content and task usefulness. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
B:Inspect input features, layers, activations, learned parameters, loss function and inference operations. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
D:Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
Question 140
An original testing team reviews the following AI-system finding: A rare-disease classifier looks excellent because 99 percent of its examples are negative. Which testing principle MOST directly applies? Select ONE best answer.
- Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities
- Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions
- Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use
- Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation
Explanation
Correct Answer
D:Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation. A rare-disease classifier looks excellent because 99 percent of its examples are negative. Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence.
Incorrect Answers
A:Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities. A rare-disease classifier looks excellent because 99 percent of its examples are negative. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
B:Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
C:Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use. A rare-disease classifier looks excellent because 99 percent of its examples are negative. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.