ISTQB CT-AI Practice Test 6
Question 50
A fictional AI evaluation investigates the failure: An anomaly detector reports precision alone even though the business asks how many real attacks were caught. For an independent test cohort, the confusion-matrix counts are TP=79, FP=20, FN=24, and TN=199. What is the recall score, rounded to ONE decimal place as a percentage? Select ONE best answer.
- 62.5%
- 76.7%
- 69.3%
- 85.0%
Explanation
Correct Answer
B:76.7% is correct: recall is detected real positives divided by all actual positives. Here recall = 79/(79+24) = 0.766990, so the percentage rounded to one decimal place is 76.7%. True negatives are not used in this particular formula unless the selected measure requires them.
Incorrect Answers
A:62.5% is not supported by these counts. The required recall formula is 79/(79+24), giving 76.7%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for recall.
C:69.3% is not supported by these counts. The required recall formula is 79/(79+24), giving 76.7%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for recall.
D:85.0% is not supported by these counts. The required recall formula is 79/(79+24), giving 76.7%. A different numerator or denominator, or mixing this metric with other metrics, changes the result; the question specifically asks for recall.
Question 51
A test team claims it corrected this AI-system finding: A fraud model receives new transaction examples from a compromised feed but no data-ingestion provenance checks run. What evidence would best verify the correction? Select ONE best answer.
- Constraint tests catch reversed timelines and future-information leakage while allowing legitimate exceptional cases
- Material adversarial failure rates are measured, mitigated and retested against approved threat scenarios
- Sampled records trace to authorized sources and unexpected dataset changes are blocked or investigated before use
- The same raw sample yields equivalent authorized model inputs in training evaluation and live inference
Explanation
Correct Answer
C:Sampled records trace to authorized sources and unexpected dataset changes are blocked or investigated before use. A fraud model receives new transaction examples from a compromised feed but no data-ingestion provenance checks run. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
Incorrect Answers
A:Constraint tests catch reversed timelines and future-information leakage while allowing legitimate exceptional cases. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
B:Material adversarial failure rates are measured, mitigated and retested against approved threat scenarios. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
D:The same raw sample yields equivalent authorized model inputs in training evaluation and live inference. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
Question 52
A private AI-testing exercise identifies: A fruit classifier changes its label when the photo is padded with a narrow neutral border. 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
- Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations
- ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility
- A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation
Explanation
Correct Answer
D:A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation. A fruit classifier changes its label when the photo is padded with a narrow neutral border. Construct paired tests for safe transformations and assert the specified invariant within tolerance.
Incorrect Answers
A:Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
B:Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
C:ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility. A fruit classifier changes its label when the photo is padded with a narrow neutral border. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
Question 53
For this AI-quality problem — A hiring classifier defines a global error budget without identifying fairness acceptance conditions for affected populations — which inspection would best establish the cause? Select ONE best answer.
- Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints
- Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget
- Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support
- Create a prompt corpus with task rubrics, factual sources, safety policies, and repeated output observations
Explanation
Correct Answer
A:Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints. A hiring classifier defines a global error budget without identifying fairness acceptance conditions for affected populations. Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior.
Incorrect Answers
B:Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget. A hiring classifier defines a global error budget without identifying fairness acceptance conditions for affected populations. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
C:Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
D:Create a prompt corpus with task rubrics, factual sources, safety policies, and repeated output observations. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
Question 54
A fictional AI service has this weakness: A class-imbalanced classifier reports 98 percent accuracy despite almost never finding the rare class. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- Repeated test-set tuning leaks evaluation information and inflates claims of generalization
- Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking
- Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels
- An unnoticed shift in inputs can degrade model reliability without any model code change
Explanation
Correct Answer
B:Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking. A class-imbalanced classifier reports 98 percent accuracy despite almost never finding the rare class. Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix. Compute TP, TN, FP, FN and compare class prevalence, precision, recall and their combined score.
Incorrect Answers
A:Repeated test-set tuning leaks evaluation information and inflates claims of generalization. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
C:Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
D:An unnoticed shift in inputs can degrade model reliability without any model code change. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
Question 55
Consider this original ML case: A retailer's training pipeline imputes absent prices but its production feed rejects the same missing values. Which failure outcome should be emphasized? Select ONE best answer.
- Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality
- An apparently successful training job can produce a system that fails real operational acceptance needs
- Training-serving skew or stale inputs can corrupt decisions even when the model API responds quickly
- Incorrect learning-method selection can confuse discovered patterns with certified truth or rewards with safety constraints
Explanation
Correct Answer
C:Training-serving skew or stale inputs can corrupt decisions even when the model API responds quickly. A retailer's training pipeline imputes absent prices but its production feed rejects the same missing values. Run parity and volume tests with matched raw inputs across batch and streaming implementations. Diff training and inference transforms, evaluate event lag, feature ages, rejected records and throughput under load.
Incorrect Answers
A:Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality. The production data pipeline must preserve training-time feature semantics, freshness and operational capacity.
B:An apparently successful training job can produce a system that fails real operational acceptance needs. A retailer's training pipeline imputes absent prices but its production feed rejects the same missing values. The production data pipeline must preserve training-time feature semantics, freshness and operational capacity.
D:Incorrect learning-method selection can confuse discovered patterns with certified truth or rewards with safety constraints. The production data pipeline must preserve training-time feature semantics, freshness and operational capacity.
Question 56
An original AI test program addresses: A customer assistant is rejected after one unusual response despite passing most repeated trials. What measurable result would show the intended control now works? Select ONE best answer.
- Reviewer-scored outputs pass documented factuality, safety and task utility criteria across repeated trials
- Independent task and subgroup tests show the adapted model meets its agreed performance and safety thresholds
- The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance
- Repeated independent trials show error-rate uncertainty small enough for the stated release decision
Explanation
Correct Answer
D:Repeated independent trials show error-rate uncertainty small enough for the stated release decision. A customer assistant is rejected after one unusual response despite passing most repeated trials. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
Incorrect Answers
A:Reviewer-scored outputs pass documented factuality, safety and task utility criteria across repeated trials. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
B:Independent task and subgroup tests show the adapted model meets its agreed performance and safety thresholds. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
C:The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
Question 57
A fictional AI service has this weakness: A manufacturer declares deployment complete without testing whether changed input fields still match training definitions. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- An apparently successful training job can produce a system that fails real operational acceptance needs
- Using the wrong learning task can yield misleading performance claims and outputs that cannot support the decision
- An undetected prediction failure can escalate into physical or clinical harm without timely external control
- Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction
Explanation
Correct Answer
A:An apparently successful training job can produce a system that fails real operational acceptance needs. A manufacturer declares deployment complete without testing whether changed input fields still match training definitions. Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior. Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence.
Incorrect Answers
B:Using the wrong learning task can yield misleading performance claims and outputs that cannot support the decision. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
C:An undetected prediction failure can escalate into physical or clinical harm without timely external control. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
D:Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
Question 58
A simulated AI implementation reports: A team calls a neural network superior without comparing a simpler baseline on the same holdout records. Which response should the testing team prioritize? Select ONE best answer.
- Validate documented data rights and maintain a versioned transformation and exclusion audit
- Evaluate candidates under matched splits and acceptance thresholds with versioned experiment records
- Identify coverage gaps and acquire representative data or restrict the stated deployment envelope
- Derive before-and-after input pairs and assert the justified direction or coordinate relation of output change
Explanation
Correct Answer
B:Evaluate candidates under matched splits and acceptance thresholds with versioned experiment records. A team calls a neural network superior without comparing a simpler baseline on the same holdout records. Uncontrolled comparisons can favor a candidate because of easier data rather than better predictive ability.
Incorrect Answers
A:Validate documented data rights and maintain a versioned transformation and exclusion audit. Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria.
C:Identify coverage gaps and acquire representative data or restrict the stated deployment envelope. Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria.
D:Derive before-and-after input pairs and assert the justified direction or coordinate relation of output change. Model candidates require consistent evaluation conditions, reproducible baselines and documented selection criteria.
Question 59
During a fictional ML project, the owner learns: A bank ETL job silently drops valid customer records after a schema change adds a nullable field. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Create clear labeling guidance, use multiple reviewers and adjudicate disagreements under domain expertise
- Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests
- Test representative valid, missing and malformed inputs end to end with explicit transformation assertions
- Combine structural neural coverage with functional, adverse-input and metamorphic tests
Explanation
Correct Answer
C:Test representative valid, missing and malformed inputs end to end with explicit transformation assertions. A bank ETL job silently drops valid customer records after a schema change adds a nullable field. Silent mapping or join defects can poison training and production features while ordinary job-health checks remain green.
Incorrect Answers
A:Create clear labeling guidance, use multiple reviewers and adjudicate disagreements under domain expertise. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
B:Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
D:Combine structural neural coverage with functional, adverse-input and metamorphic tests. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
Question 60
A private test-design workshop records: A financial predictor is deployed without a versioned explanation of training provenance or limitations. Which action best addresses the central issue? Select ONE best answer.
- Install monitored input-distribution checks with action thresholds and a governed response to genuine drift
- Keep a genuinely untouched evaluation partition separate from training and development selection
- Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests
- Maintain a version-controlled model record that testers can reproduce and challenge
Explanation
Correct Answer
D:Maintain a version-controlled model record that testers can reproduce and challenge. A financial predictor is deployed without a versioned explanation of training provenance or limitations. Undocumented capabilities and limitations impair independent safety review and incident investigation.
Incorrect Answers
A:Install monitored input-distribution checks with action thresholds and a governed response to genuine drift. A financial predictor is deployed without a versioned explanation of training provenance or limitations. Model documentation should describe purpose, data provenance, limitations, evaluation evidence and updates for reliable review.
B:Keep a genuinely untouched evaluation partition separate from training and development selection. Model documentation should describe purpose, data provenance, limitations, evaluation evidence and updates for reliable review.
C:Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests. Model documentation should describe purpose, data provenance, limitations, evaluation evidence and updates for reliable review.