ISTQB CT-AI Practice Test 82
Question 810
During a fictional ML project, the owner learns: A retailer's training pipeline imputes absent prices but its production feed rejects the same missing values. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Identify coverage gaps and acquire representative data or restrict the stated deployment envelope
- Run parity and volume tests with matched raw inputs across batch and streaming implementations
- Compare outputs case by case and adjudicate meaningful differences before replacing the existing model
- Package versioned transformations with the model and prevent use of information unavailable at decision time
Explanation
Correct Answer
B:Run parity and volume tests with matched raw inputs across batch and streaming implementations. A retailer's training pipeline imputes absent prices but its production feed rejects the same missing values. Training-serving skew or stale inputs can corrupt decisions even when the model API responds quickly.
Incorrect Answers
A:Identify coverage gaps and acquire representative data or restrict the stated deployment envelope. The production data pipeline must preserve training-time feature semantics, freshness and operational capacity.
C:Compare outputs case by case and adjudicate meaningful differences before replacing the existing model. The production data pipeline must preserve training-time feature semantics, freshness and operational capacity.
D:Package versioned transformations with the model and prevent use of information unavailable at decision time. The production data pipeline must preserve training-time feature semantics, freshness and operational capacity.
Question 811
An original testing team reviews the following AI-system finding: A supplier changes a curated dataset silently while QA compares only the final row count. Which testing principle MOST directly applies? Select ONE best answer.
- Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population
- Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm
- Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction
- Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings
Explanation
Correct Answer
C:Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction. A supplier changes a curated dataset silently while QA compares only the final row count. Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records.
Incorrect Answers
A:Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
B:Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
D:Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
Question 812
A fictional AI service has this weakness: A document categorizer reverses classification when irrelevant whitespace is added to the same content. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- A violated output relation reveals inconsistency even without an exact expected value for either individual prediction
- Headline accuracy can hide unacceptable error rates when a model faces common operational disturbances
- An undetected prediction failure can escalate into physical or clinical harm without timely external control
- Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels
Explanation
Correct Answer
D:Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels. A document categorizer reverses classification when irrelevant whitespace is added to the same content. Construct paired tests for safe transformations and assert the specified invariant within tolerance. Check that the proposed transformation preserves the relevant task meaning and evaluate paired baseline and transformed inputs.
Incorrect Answers
A:A violated output relation reveals inconsistency even without an exact expected value for either individual prediction. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
B:Headline accuracy can hide unacceptable error rates when a model faces common operational disturbances. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
C:An undetected prediction failure can escalate into physical or clinical harm without timely external control. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
Question 813
A fictional AI service has this weakness: An autonomous vehicle dataset contains mostly daylight scenes though deployment includes winter nights. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- Unrepresentative datasets can cause unpredictable field errors despite clean in-sample measurements
- Aggregate accuracy may hide unfair error differences inherited from historical data or model design
- A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service
- High activation coverage can coexist with unsafe or inaccurate predictions for unseen inputs
Explanation
Correct Answer
A:Unrepresentative datasets can cause unpredictable field errors despite clean in-sample measurements. An autonomous vehicle dataset contains mostly daylight scenes though deployment includes winter nights. Identify coverage gaps and acquire representative data or restrict the stated deployment envelope. Compare sample versus deployment distributions across relevant environmental and demographic dimensions.
Incorrect Answers
B:Aggregate accuracy may hide unfair error differences inherited from historical data or model design. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
C:A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
D:High activation coverage can coexist with unsafe or inaccurate predictions for unseen inputs. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
Question 814
A test team claims it corrected this AI-system finding: A hiring dataset reflects a historic promotion imbalance and the new ranking model repeats the disadvantage. What evidence would best verify the correction? Select ONE best answer.
- The released evaluation population covers important use conditions and reports any remaining untested strata
- Error rates and decision impacts for important populations are measured and reviewed against justified fairness limits
- Outputs remain consistent on valid invariant transformations and known non-invariant transformations are explicitly excluded
- A traceable difference report identifies affected cases and documents whether each significant change is acceptable
Explanation
Correct Answer
B:Error rates and decision impacts for important populations are measured and reviewed against justified fairness limits. A hiring dataset reflects a historic promotion imbalance and the new ranking model repeats the disadvantage. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
Incorrect Answers
A:The released evaluation population covers important use conditions and reports any remaining untested strata. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
C:Outputs remain consistent on valid invariant transformations and known non-invariant transformations are explicitly excluded. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
D:A traceable difference report identifies affected cases and documents whether each significant change is acceptable. Testing bias requires examining data representation and outcomes for materially affected groups and plausible proxy features.
Question 815
A simulated AI implementation reports: A security team balances event labels by copying rare attack examples before splitting its datasets. Which response should the testing team prioritize? Select ONE best answer.
- Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior
- Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records
- Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence
- Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case
Explanation
Correct Answer
C:Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence. A security team balances event labels by copying rare attack examples before splitting its datasets. Majority-class accuracy or leakage from copied examples can conceal failure on rare but important cases.
Incorrect Answers
A:Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
B:Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
D:Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
Question 816
A private test-design workshop records: A voice assistant repeatedly misclassifies a command under strategically crafted acoustic noise. Which action best addresses the central issue? Select ONE best answer.
- Use independent validation to guide regularization, capacity or data changes and reserve the final test set
- Evaluate candidates under matched splits and acceptance thresholds with versioned experiment records
- Calculate precision on an independent test set and compare the resulting workload with the agreed alert-quality threshold
- Build authorized adversarial test inputs and quantify the model robustness and detection or containment response
Explanation
Correct Answer
D:Build authorized adversarial test inputs and quantify the model robustness and detection or containment response. A voice assistant repeatedly misclassifies a command under strategically crafted acoustic noise. An apparently accurate model may be exploitable with small targeted input changes.
Incorrect Answers
A:Use independent validation to guide regularization, capacity or data changes and reserve the final test set. A voice assistant repeatedly misclassifies a command under strategically crafted acoustic noise. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
B:Evaluate candidates under matched splits and acceptance thresholds with versioned experiment records. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
C:Calculate precision on an independent test set and compare the resulting workload with the agreed alert-quality threshold. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
Question 817
Consider this original ML case: A manufacturer replaces a machine-vision model but never runs old and new versions on identical test inputs. Which failure outcome should be emphasized? Select ONE best answer.
- Changed decisions can go unnoticed if model updates are compared under inconsistent input conditions
- Passing a technically valid but irrelevant test can leave the main predictive failure undetected
- A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs
- Uncontrolled collection or processing can make a technically strong model legally unusable and irreproducible
Explanation
Correct Answer
A:Changed decisions can go unnoticed if model updates are compared under inconsistent input conditions. 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. Use identical cases, consistent preprocessing and versioned candidate and baseline outputs.
Incorrect Answers
B:Passing a technically valid but irrelevant test can leave the main predictive failure undetected. A manufacturer replaces a machine-vision model but never runs old and new versions on identical test inputs. Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation.
C:A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs. Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation.
D:Uncontrolled collection or processing can make a technically strong model legally unusable and irreproducible. Back-to-back testing runs two model implementations on the same inputs to reveal behavior changes for investigation.
Question 818
A simulated AI implementation reports: A retail classifier learns from a field engineered using the eventual purchase outcome it aims to predict. Which response should the testing team prioritize? Select ONE best answer.
- Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior
- Package versioned transformations with the model and prevent use of information unavailable at decision time
- Maintain a version-controlled model record that testers can reproduce and challenge
- Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests
Explanation
Correct Answer
B:Package versioned transformations with the model and prevent use of information unavailable at decision time. A retail classifier learns from a field engineered using the eventual purchase outcome it aims to predict. Inconsistent features or target leakage can make offline scores appear strong while deployed predictions fail.
Incorrect Answers
A:Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
C:Maintain a version-controlled model record that testers can reproduce and challenge. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
D:Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
Question 819
A test team claims it corrected this AI-system finding: A hospital fine-tunes a pretrained image model but assumes its source-population biases have disappeared. What evidence would best verify the correction? Select ONE best answer.
- The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance
- Transformed outputs obey the documented directional or geometric relation in an independently checked sample
- Independent task and subgroup tests show the adapted model meets its agreed performance and safety thresholds
- Repeated independent trials show error-rate uncertainty small enough for the stated release decision
Explanation
Correct Answer
C:Independent task and subgroup tests show the adapted model meets its agreed performance and safety thresholds. A hospital fine-tunes a pretrained image model but assumes its source-population biases have disappeared. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
Incorrect Answers
A:The same saved architecture and parameters reproduce reference predictions within the defined numerical tolerance. A hospital fine-tunes a pretrained image model but assumes its source-population biases have disappeared. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
B:Transformed outputs obey the documented directional or geometric relation in an independently checked sample. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
D:Repeated independent trials show error-rate uncertainty small enough for the stated release decision. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
Question 820
A private AI-testing exercise identifies: A bank updates its retrieval corpus yet keeps evaluating the assistant against last quarter's document versions. What is the governing concept relevant to this finding? Select ONE best answer.
- Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN
- Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population
- A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence
- RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness
Explanation
Correct Answer
D:RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness. A bank updates its retrieval corpus yet keeps evaluating the assistant against last quarter's document versions. Test retrieval and grounded generation as distinct stages using versioned authoritative documents.
Incorrect Answers
A:Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
B:Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
C:A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.