ISTQB CT-AI Practice Test 8
Question 70
An original AI test program addresses: A bank switches its fraud model to a new runtime without checking that the inference API loads correctly. What measurable result would show the intended control now works? Select ONE best answer.
- A clean controlled experiment recreates the intended model configuration and comparable validation outcomes
- The candidate handles representative traffic in shadow mode, meets criteria and can be reverted without loss of service
- Monitors identify meaningful distribution changes and a tested escalation process assesses prediction impact
- A third-party reviewer can trace a deployed result to model version, dataset and documented evaluation boundaries
Explanation
Correct Answer
B:The candidate handles representative traffic in shadow mode, meets criteria and can be reverted without loss of service. A bank switches its fraud model to a new runtime without checking that the inference API loads correctly. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
Incorrect Answers
A:A clean controlled experiment recreates the intended model configuration and comparable validation outcomes. A bank switches its fraud model to a new runtime without checking that the inference API loads correctly. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
C:Monitors identify meaningful distribution changes and a tested escalation process assesses prediction impact. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
D:A third-party reviewer can trace a deployed result to model version, dataset and documented evaluation boundaries. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
Question 71
A testing group is given this fictional case: A text generator is accepted because stakeholders like its outputs, without a groundedness or safety rubric. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Inspect hazard analysis, unsafe states, supervisory override, time-to-intervention and fallback behavior
- Compute TP, TN, FP, FN and compare class prevalence, precision, recall and their combined score
- Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints
- Map each model failure mode to the test technique and evidence capable of detecting that exact condition
Explanation
Correct Answer
C:Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints. A text generator is accepted because stakeholders like its outputs, without a groundedness or safety rubric. Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior.
Incorrect Answers
A:Inspect hazard analysis, unsafe states, supervisory override, time-to-intervention and fallback behavior. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
B:Compute TP, TN, FP, FN and compare class prevalence, precision, recall and their combined score. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
D:Map each model failure mode to the test technique and evidence capable of detecting that exact condition. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
Question 72
An original AI test program addresses: A retail classifier learns from a field engineered using the eventual purchase outcome it aims to predict. What measurable result would show the intended control now works? Select ONE best answer.
- The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance
- Boundary and invalid samples trigger consistent documented accept, reject or repair decisions
- Feature parity, accepted freshness and throughput thresholds hold under realistic concurrent operational traffic
- The same raw sample yields equivalent authorized model inputs in training evaluation and live inference
Explanation
Correct Answer
D:The same raw sample yields equivalent authorized model inputs in training evaluation and live inference. A retail classifier learns from a field engineered using the eventual purchase outcome it aims to predict. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
Incorrect Answers
A:The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
B:Boundary and invalid samples trigger consistent documented accept, reject or repair decisions. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
C:Feature parity, accepted freshness and throughput thresholds hold under realistic concurrent operational traffic. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
Question 73
A simulated AI implementation reports: A production credit model receives a sharply different income distribution after a regional market shift. Which response should the testing team prioritize? Select ONE best answer.
- Install monitored input-distribution checks with action thresholds and a governed response to genuine drift
- Run a suitably governed randomized comparison with predefined success and rollback thresholds
- Agree a decision-oriented metric and threshold before selecting the candidate model
- Build a versioned training and inference pipeline and test its compatibility across the target runtime
Explanation
Correct Answer
A:Install monitored input-distribution checks with action thresholds and a governed response to genuine drift. A production credit model receives a sharply different income distribution after a regional market shift. An unnoticed shift in inputs can degrade model reliability without any model code change.
Incorrect Answers
B:Run a suitably governed randomized comparison with predefined success and rollback thresholds. Data drift occurs when the operational input distribution departs from the distribution used in development.
C:Agree a decision-oriented metric and threshold before selecting the candidate model. A production credit model receives a sharply different income distribution after a regional market shift. Data drift occurs when the operational input distribution departs from the distribution used in development.
D:Build a versioned training and inference pipeline and test its compatibility across the target runtime. Data drift occurs when the operational input distribution departs from the distribution used in development.
Question 74
A fictional AI service has this weakness: A deep classifier scores 99 percent on training images but only 70 percent on independent images. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- One favorable evaluation run can hide unstable performance under the target use conditions
- A model may memorize development examples or lack enough capacity to represent the target relationships
- Ignoring group gaps may hide harmful treatment while overinterpreting raw ratios may produce unjustified conclusions
- Silent mapping or join defects can poison training and production features while ordinary job-health checks remain green
Explanation
Correct Answer
B:A model may memorize development examples or lack enough capacity to represent the target relationships. 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. Compare learning curves, training and holdout loss, model complexity and dataset leakage checks.
Incorrect Answers
A:One favorable evaluation run can hide unstable performance under the target use conditions. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
C:Ignoring group gaps may hide harmful treatment while overinterpreting raw ratios may produce unjustified conclusions. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
D:Silent mapping or join defects can poison training and production features while ordinary job-health checks remain green. 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.
Question 75
A fictional AI assurance board hears: A traffic model trains on records with blank speed readings that its pipeline silently replaces with zeros. Which underlying distinction should guide its next decision? Select ONE best answer.
- Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN
- AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions
- Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training
- Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples
Explanation
Correct Answer
C:Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training. A traffic model trains on records with blank speed readings that its pipeline silently replaces with zeros. Implement documented cleaning rules with traceable rejects or imputations and test their effects on held-out data.
Incorrect Answers
A:Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
B:AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
D:Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
Question 76
A fictional AI assurance board hears: A simple model performs poorly on both training and validation records for a complex forecasting task. Which underlying distinction should guide its next decision? Select ONE best answer.
- Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions
- Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types
- ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards
- Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features
Explanation
Correct Answer
D:Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features. A simple model performs poorly on both training and validation records for a complex forecasting task. Use independent validation to guide regularization, capacity or data changes and reserve the final test set.
Incorrect Answers
A:Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
B:Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
C:ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
Question 77
A test team claims it corrected this AI-system finding: A document classifier has ambiguous categories but annotators receive no definition or adjudication procedure. What evidence would best verify the correction? Select ONE best answer.
- An independently reviewed sample shows reproducible labeling criteria with tracked resolution of disputed cases
- Constraint tests catch reversed timelines and future-information leakage while allowing legitimate exceptional cases
- Additional tests identify functional errors even when activation coverage appears high
- Material adversarial failure rates are measured, mitigated and retested against approved threat scenarios
Explanation
Correct Answer
A:An independently reviewed sample shows reproducible labeling criteria with tracked resolution of disputed cases. A document classifier has ambiguous categories but annotators receive no definition or adjudication procedure. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
Incorrect Answers
B:Constraint tests catch reversed timelines and future-information leakage while allowing legitimate exceptional cases. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
C:Additional tests identify functional errors even when activation coverage appears high. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
D:Material adversarial failure rates are measured, mitigated and retested against approved threat scenarios. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
Question 78
A test team claims it corrected this AI-system finding: A retailer predicts next-week unit demand but evaluates the numerical forecast as a category label. What evidence would best verify the correction? Select ONE best answer.
- Untouched evaluation data retains target prevalence and shows acceptable minority-class detection quality
- Holdout predictions use the correct target type and are assessed by category or numeric error metrics as appropriate
- Confidence bounds and per-condition results satisfy justified statistical precision requirements
- Feature parity, accepted freshness and throughput thresholds hold under realistic concurrent operational traffic
Explanation
Correct Answer
B:Holdout predictions use the correct target type and are assessed by category or numeric error metrics as appropriate. A retailer predicts next-week unit demand but evaluates the numerical forecast as a category label. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
Incorrect Answers
A:Untouched evaluation data retains target prevalence and shows acceptable minority-class detection quality. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
C:Confidence bounds and per-condition results satisfy justified statistical precision requirements. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
D:Feature parity, accepted freshness and throughput thresholds hold under realistic concurrent operational traffic. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
Question 79
For this AI-quality problem — A small retailer fine-tunes a large pretrained classifier on a tiny labeled sample and claims broad generalization — which inspection would best establish the cause? Select ONE best answer.
- Compute TP, TN, FP, FN and compare class prevalence, precision, recall and their combined score
- Compare live versus baseline feature distributions using drift statistics and check downstream performance where labels exist
- Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance
- Review the actual task boundaries, supported modalities, benchmarked functions and failure modes rather than marketing labels
Explanation
Correct Answer
C:Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance. A small retailer fine-tunes a large pretrained classifier on a tiny labeled sample and claims broad generalization. Use task-specific evaluation and regression tests before trusting a pretrained or fine-tuned model in a new domain.
Incorrect Answers
A:Compute TP, TN, FP, FN and compare class prevalence, precision, recall and their combined score. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
B:Compare live versus baseline feature distributions using drift statistics and check downstream performance where labels exist. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
D:Review the actual task boundaries, supported modalities, benchmarked functions and failure modes rather than marketing labels. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
Question 80
An original testing team reviews the following AI-system finding: A university trains a deep network but has no record of architecture, optimization or learned parameters. Which testing principle MOST directly applies? Select ONE best answer.
- Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP
- Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings
- Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm
- Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training
Explanation
Correct Answer
D:Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training. A university trains a deep network but has no record of architecture, optimization or learned parameters. Test model output against known examples and retain the exact architecture and trained weights for reproducibility.
Incorrect Answers
A:Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
B:Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
C:Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.