ISTQB CT-AI Practice Test 31
Question 300
In an AI-system assurance case, the team observes: A bank evaluates an optical character recognition product without distinguishing its vision task from general reasoning. What is the most relevant resulting test risk? Select ONE best answer.
- A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs
- Undocumented capabilities and limitations impair independent safety review and incident investigation
- Unsupported answers can persist even with a capable language model when retrieved evidence is irrelevant or outdated
- Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims
Explanation
Correct Answer
D:Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims. A bank evaluates an optical character recognition product without distinguishing its vision task from general reasoning. Specify the concrete prediction, recognition or generation task and choose tests for that supported capability. Review the actual task boundaries, supported modalities, benchmarked functions and failure modes rather than marketing labels.
Incorrect Answers
A:A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
B:Undocumented capabilities and limitations impair independent safety review and incident investigation. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
C:Unsupported answers can persist even with a capable language model when retrieved evidence is irrelevant or outdated. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
Question 301
During a fictional ML project, the owner learns: A geometric detector returns unchanged bounding-box positions after an input image is translated to the right. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Derive before-and-after input pairs and assert the justified direction or coordinate relation of output change
- Build authorized adversarial test inputs and quantify the model robustness and detection or containment response
- Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix
- Package versioned transformations with the model and prevent use of information unavailable at decision time
Explanation
Correct Answer
A:Derive before-and-after input pairs and assert the justified direction or coordinate relation of output change. A geometric detector returns unchanged bounding-box positions after an input image is translated to the right. A violated output relation reveals inconsistency even without an exact expected value for either individual prediction.
Incorrect Answers
B:Build authorized adversarial test inputs and quantify the model robustness and detection or containment response. Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal.
C:Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix. Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal.
D:Package versioned transformations with the model and prevent use of information unavailable at decision time. Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal.
Question 302
In an AI-system assurance case, the team observes: A credit-risk dataset underrepresents new-to-credit applicants yet overall accuracy is presented as proof of fairness. What is the most relevant resulting test risk? Select ONE best answer.
- Training-serving skew or stale inputs can corrupt decisions even when the model API responds quickly
- Aggregate accuracy may hide unfair error differences inherited from historical data or model design
- Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production
- An apparently successful training job can produce a system that fails real operational acceptance needs
Explanation
Correct Answer
B:Aggregate accuracy may hide unfair error differences inherited from historical data or model design. A credit-risk dataset underrepresents new-to-credit applicants yet overall accuracy is presented as proof of fairness. Use disaggregated fairness analysis and investigate systemic differences before choosing data or threshold remediation. Compare group-level sample sizes, missingness, label sources, confusion matrices and decision outcomes.
Incorrect Answers
A:Training-serving skew or stale inputs can corrupt decisions even when the model API responds quickly. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
C:Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
D:An apparently successful training job can produce a system that fails real operational acceptance needs. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
Question 303
A fictional AI assurance board hears: A university locks model selection before learning from validation failures and re-evaluating candidates. Which underlying distinction should guide its next decision? Select ONE best answer.
- Model selection must reflect the business consequences of false positives, false negatives and operating constraints
- Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions
- ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring
- LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably
Explanation
Correct Answer
C:ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring. A university locks model selection before learning from validation failures and re-evaluating candidates. 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 university locks model selection before learning from validation failures and re-evaluating candidates. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
B:Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
D:LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
Question 304
An original testing team reviews the following AI-system finding: A retrieval chatbot quotes a plausible policy clause that is absent from the approved policy record. Which testing principle MOST directly applies? Select ONE best answer.
- When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations
- Unsupervised methods discover structure without target labels, while reinforcement learning optimizes sequential actions through reward
- Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations
- LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably
Explanation
Correct Answer
D:LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably. A retrieval chatbot quotes a plausible policy clause that is absent from the approved policy record. Create evidence-grounded accuracy tests and controlled paraphrase tests with documented evaluation rubrics.
Incorrect Answers
A:When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
B:Unsupervised methods discover structure without target labels, while reinforcement learning optimizes sequential actions through reward. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
C:Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
Question 305
For this AI-quality problem — A medical classifier reaches high neuron coverage but still fails on adversarial image changes — which inspection would best establish the cause? Select ONE best answer.
- Measure activated neurons and covered activation ranges, then compare failures that those structural metrics miss
- Trace feature definitions, encoders, scaling parameters, label dependencies and training-to-inference transformation versions
- Benchmark model size, training operations, accelerator memory, inference latency, sustained load and power budgets
- 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 medical classifier reaches high neuron coverage but still fails on adversarial image changes. Combine structural neural coverage with functional, adverse-input and metamorphic tests.
Incorrect Answers
B:Trace feature definitions, encoders, scaling parameters, label dependencies and training-to-inference transformation versions. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
C:Benchmark model size, training operations, accelerator memory, inference latency, sustained load and power budgets. 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 medical classifier reaches high neuron coverage but still fails on adversarial image changes. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
Question 306
A fictional AI assurance board hears: A medical dataset is automatically labelled from an unreliable rule with no expert sampling. Which underlying distinction should guide its next decision? Select ONE best answer.
- Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity
- Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples
- Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks
- AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions
Explanation
Correct Answer
B:Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples. This distinction applies to the concrete fictional condition: A medical dataset is automatically labelled from an unreliable rule with no expert sampling. The targeted test response is: Create clear labeling guidance, use multiple reviewers and adjudicate disagreements under domain expertise. Verify the intended decision with: An independently reviewed sample shows reproducible labeling criteria with tracked resolution of disputed cases. The decision is based on the specific AI-testing mechanism, not the issuer exam wording.
Incorrect Answers
A:Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
C:Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
D:AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions. Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples.
Question 307
A fictional AI evaluation investigates the failure: A moderation filter predicts 60 harmful items correctly but also flags 40 ordinary posts and claims perfect precision. For an independent test cohort, the confusion-matrix counts are TP=77, FP=23, FN=9, and TN=185. What is the precision score, rounded to ONE decimal place as a percentage? Select ONE best answer.
- 62.8%
- 69.6%
- 77.0%
- 85.3%
Explanation
Correct Answer
C:77.0% is correct: precision is true positive alerts divided by all positive alerts. Here precision = 77/(77+23) = 0.770000, so the percentage rounded to one decimal place is 77.0%. True negatives are not used in this particular formula unless the selected measure requires them.
Incorrect Answers
Question 308
Consider this original ML case: A rare-tumor detector catches 80 positive cases but misses 20 and reports recall as a percentage of all alerts. Which failure outcome should be emphasized? Select ONE best answer.
- Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior
- Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production
- A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo
- Low recall can miss consequential events even when almost every triggered alert is correct
Explanation
Correct Answer
D:Low recall can miss consequential events even when almost every triggered alert is correct. A rare-tumor detector catches 80 positive cases but misses 20 and reports recall as a percentage of all alerts. Calculate recall on a representative independent evaluation set and compare against the missed-event risk limit. Inspect the confusion matrix and count genuine positives that the classifier missed.
Incorrect Answers
A:Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior. Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN.
B:Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production. Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN.
C:A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo. Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN.
Question 309
After a fictional ML project resolves the following issue — A factory defect classifier encounters a new camera whose brightness differs from training sensors — which acceptance result is MOST convincing? Select ONE best answer.
- Monitors identify meaningful distribution changes and a tested escalation process assesses prediction impact
- Transformed outputs obey the documented directional or geometric relation in an independently checked sample
- Reviewers demonstrate a defensible clustering assessment or reward-policy evaluation with independently checked outcomes
- Independent qualified reviewers reach acceptable agreement on the reference cases and document uncertain judgments
Explanation
Correct Answer
A:Monitors identify meaningful distribution changes and a tested escalation process assesses prediction impact. 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.
Incorrect Answers
B:Transformed outputs obey the documented directional or geometric relation in an independently checked sample. Data drift occurs when the operational input distribution departs from the distribution used in development.
C:Reviewers demonstrate a defensible clustering assessment or reward-policy evaluation with independently checked outcomes. Data drift occurs when the operational input distribution departs from the distribution used in development.
D:Independent qualified reviewers reach acceptable agreement on the reference cases and document uncertain judgments. Data drift occurs when the operational input distribution departs from the distribution used in development.
Question 310
A testing group is given this fictional case: A clinical model overfits training data yet the release plan covers only threat red teaming. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes
- Map each model failure mode to the test technique and evidence capable of detecting that exact condition
- Inspect the confusion matrix and count genuine positives that the classifier missed
- Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence
Explanation
Correct Answer
B:Map each model failure mode to the test technique and evidence capable of detecting that exact condition. A clinical model overfits training data yet the release plan covers only threat red teaming. Build a model risk-to-test matrix and track residual risk after each targeted technique.
Incorrect Answers
A:Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes. A clinical model overfits training data yet the release plan covers only threat red teaming. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
C:Inspect the confusion matrix and count genuine positives that the classifier missed. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
D:Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.