ISTQB CT-AI Practice Test 38
Question 370
A private AI-testing exercise identifies: A manufacturer replaces a machine-vision model but never runs old and new versions on identical test inputs. What is the governing concept relevant to this finding? Select ONE best answer.
- Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests
- Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation
- AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption
- ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility
Explanation
Correct Answer
B:Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation. A manufacturer replaces a machine-vision model but never runs old and new versions on identical test inputs. Compare outputs case by case and adjudicate meaningful differences before replacing the existing model.
Incorrect Answers
A:Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests. Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation.
C:AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption. Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation.
D:ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility. Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation.
Question 371
An original testing team reviews the following AI-system finding: A lender wants to predict loan default yes-or-no but chooses evaluation designed for continuous house prices. Which testing principle MOST directly applies? Select ONE best answer.
- High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations
- Generative model testing evaluates task relevance, accuracy, harmful content, consistency and realistic user interactions
- Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities
- Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population
Explanation
Correct Answer
C:Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities. A lender wants to predict loan default yes-or-no but chooses evaluation designed for continuous house prices. Select the supervised task and functional metrics that match categorical or numeric outputs.
Incorrect Answers
A:High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
B:Generative model testing evaluates task relevance, accuracy, harmful content, consistency and realistic user interactions. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
D:Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
Question 372
A testing group is given this fictional case: A safety monitor celebrates few false alarms while it misses most genuine unsafe events. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Compare real prevalence, per-class outcomes, sampling provenance, holdout purity and information loss
- Compare sample versus deployment distributions across relevant environmental and demographic dimensions
- Compare generated claims and citations to authoritative content and evaluate responses to semantically equivalent prompt variants
- Inspect the confusion matrix and count genuine positives that the classifier missed
Explanation
Correct Answer
D:Inspect the confusion matrix and count genuine positives that the classifier missed. A safety monitor celebrates few false alarms while it misses most genuine unsafe events. TP divided by TP plus FN. Calculate recall on a representative independent evaluation set and compare against the missed-event risk limit.
Incorrect Answers
A:Compare real prevalence, per-class outcomes, sampling provenance, holdout purity and information loss. Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN.
B:Compare sample versus deployment distributions across relevant environmental and demographic dimensions. Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN.
C:Compare generated claims and citations to authoritative content and evaluate responses to semantically equivalent prompt variants. Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN.
Question 373
An original AI test program addresses: A public-benefits chatbot obeys instructions embedded in a document it was supposed to summarize. What measurable result would show the intended control now works? Select ONE best answer.
- Attack rehearsals fail safely without disclosing protected records or accepting untrusted retrieved instructions
- Independent qualified reviewers reach acceptable agreement on the reference cases and document uncertain judgments
- The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance
- The final frozen model is scored once on a holdout not used to choose architecture, threshold or hyperparameters
Explanation
Correct Answer
A:Attack rehearsals fail safely without disclosing protected records or accepting untrusted retrieved instructions. A public-benefits chatbot obeys instructions embedded in a document it was supposed to summarize. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
Incorrect Answers
B:Independent qualified reviewers reach acceptable agreement on the reference cases and document uncertain judgments. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
C:The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
D:The final frozen model is scored once on a holdout not used to choose architecture, threshold or hyperparameters. A public-benefits chatbot obeys instructions embedded in a document it was supposed to summarize. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
Question 374
A private AI-testing exercise identifies: A retailer predicts next-week unit demand but evaluates the numerical forecast as a category label. 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
- Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities
- A locked deployment remains stable until changed, whereas adaptive behavior can evolve during operation and needs ongoing assurance
- Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation
Explanation
Correct Answer
B:Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities. A retailer predicts next-week unit demand but evaluates the numerical forecast as a category label. Select the supervised task and functional metrics that match categorical or numeric outputs.
Incorrect Answers
A:Model selection must reflect the business consequences of false positives, false negatives and operating constraints. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
C:A locked deployment remains stable until changed, whereas adaptive behavior can evolve during operation and needs ongoing assurance. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
D:Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
Question 375
In an AI-system assurance case, the team observes: A financial institution records no data lineage or human-oversight evidence for a risk-sensitive prediction service. What is the most relevant resulting test risk? Select ONE best answer.
- Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production
- Unexamined pretrained assumptions can propagate bias, dataset mismatch or catastrophic performance regression
- A high-performing model can still be unsafe or noncompliant if testing ignores protected outcomes and oversight duties
- An exact-match or superficial fluency score can hide hallucination, unsafe advice and task failure
Explanation
Correct Answer
C:A high-performing model can still be unsafe or noncompliant if testing ignores protected outcomes and oversight duties. A financial institution records no data lineage or human-oversight evidence for a risk-sensitive prediction service. Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case. Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence.
Incorrect Answers
A:Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production. AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs.
B:Unexamined pretrained assumptions can propagate bias, dataset mismatch or catastrophic performance regression. AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs.
D:An exact-match or superficial fluency score can hide hallucination, unsafe advice and task failure. AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs.
Question 376
Consider this original ML case: A startup selects a model development framework without assessing supported deployment runtimes. Which failure outcome should be emphasized? Select ONE best answer.
- A technically capable model may create privacy violations, uncontrolled changes or unusable response times when mis-hosted
- A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service
- Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking
- 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 startup selects a model development framework without assessing supported deployment runtimes. 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 technically capable model may create privacy violations, uncontrolled changes or unusable response times when mis-hosted. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
B:A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
C:Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking. ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility.
Question 377
A testing group is given this fictional case: A team uses the number of covered code branches to infer coverage of learned activation ranges. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Measure activated neurons and covered activation ranges, then compare failures that those structural metrics miss
- Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence
- Choose transformations that should preserve or predictably alter outputs and document valid domain assumptions
- Inspect dataset ownership, ingestion hashes, provenance logs, outlier patterns, source contracts and tampering signals
Explanation
Correct Answer
A:Measure activated neurons and covered activation ranges, then compare failures that those structural metrics miss. A team uses the number of covered code branches to infer coverage of learned activation ranges. Combine structural neural coverage with functional, adverse-input and metamorphic tests.
Incorrect Answers
B:Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
C:Choose transformations that should preserve or predictably alter outputs and document valid domain assumptions. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
D:Inspect dataset ownership, ingestion hashes, provenance logs, outlier patterns, source contracts and tampering signals. 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.
Question 378
A fictional AI assurance board hears: A road-sign recognizer fails when small deliberate stickers are placed on signs but passes clean-photo tests. Which underlying distinction should guide its next decision? Select ONE best answer.
- Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal
- Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions
- Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria
- Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population
Explanation
Correct Answer
B:Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions. A road-sign recognizer fails when small deliberate stickers are placed on signs but passes clean-photo tests. Build authorized adversarial test inputs and quantify the model robustness and detection or containment response.
Incorrect Answers
A:Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
C:Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
D:Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
Question 379
A fictional AI evaluation investigates the failure: A rare-tumor detector catches 80 positive cases but misses 20 and reports recall as a percentage of all alerts. For an independent test cohort, the confusion-matrix counts are TP=79, FP=15, FN=10, and TN=175. What is the recall score, rounded to ONE decimal place as a percentage? Select ONE best answer.
- 74.6%
- 81.4%
- 88.8%
- 97.1%
Explanation
Correct Answer
C:88.8% is correct: recall is detected real positives divided by all actual positives. Here recall = 79/(79+10) = 0.887640, so the percentage rounded to one decimal place is 88.8%. True negatives are not used in this particular formula unless the selected measure requires them.
Incorrect Answers
A:74.6% is not supported by these counts. The required recall formula is 79/(79+10), giving 88.8%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for recall.
B:81.4% is not supported by these counts. The required recall formula is 79/(79+10), giving 88.8%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for recall.
D:97.1% is not supported by these counts. The required recall formula is 79/(79+10), giving 88.8%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for recall.
Question 380
A test team claims it corrected this AI-system finding: A drone system has no tests for rare dangerous conditions because only common sunny examples were sampled. What evidence would best verify the correction? Select ONE best answer.
- Independent qualified reviewers reach acceptable agreement on the reference cases and document uncertain judgments
- An independent sample traces source permissions and transformation decisions to the final training representation
- Outputs remain consistent on valid invariant transformations and known non-invariant transformations are explicitly excluded
- Traceable risk rankings explain extra tests, acceptance limits and mitigations for the highest-consequence scenarios
Explanation
Correct Answer
D:Traceable risk rankings explain extra tests, acceptance limits and mitigations for the highest-consequence scenarios. A drone system has no tests for rare dangerous conditions because only common sunny examples were sampled. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
Incorrect Answers
A:Independent qualified reviewers reach acceptable agreement on the reference cases and document uncertain judgments. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
B:An independent sample traces source permissions and transformation decisions to the final training representation. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
C:Outputs remain consistent on valid invariant transformations and known non-invariant transformations are explicitly excluded. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.