ISTQB CT-AI Practice Test 26
Question 250
A private AI-testing exercise identifies: A financial dataset stores interest rates as text with mixed percent and decimal formats. What is the governing concept relevant to this finding? Select ONE best answer.
- Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population
- Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity
- Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities
- Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features
Explanation
Correct Answer
B:Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity. A financial dataset stores interest rates as text with mixed percent and decimal formats. Implement explicit constraint checks with clear expected handling of valid boundaries and invalid values.
Incorrect Answers
A:Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
C:Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
D:Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
Question 251
A fictional AI service has this weakness: A supplier changes a curated dataset silently while QA compares only the final row count. 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
- A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs
- Poisoned or untrustworthy data can bias model predictions even when training completes normally
- Checking only input histograms can miss a model whose learned relationship is no longer valid
Explanation
Correct Answer
C:Poisoned or untrustworthy data can bias model predictions even when training completes normally. 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. Inspect dataset ownership, ingestion hashes, provenance logs, outlier patterns, source contracts and tampering signals.
Incorrect Answers
A:Unrepresentative datasets can cause unpredictable field errors despite clean in-sample measurements. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
B:A rule-only test strategy can miss systematic prediction errors and failures on previously unseen inputs. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
D:Checking only input histograms can miss a model whose learned relationship is no longer valid. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
Question 252
A private AI-testing exercise identifies: A language translation tool uses the model being tested to grade its own answers without independent calibration. What is the governing concept relevant to this finding? Select ONE best answer.
- When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations
- High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations
- Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types
- AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary
Explanation
Correct Answer
D:AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary. A language translation tool uses the model being tested to grade its own answers without independent calibration. Construct a defensible oracle protocol using external references and dispute resolution for ambiguous predictions.
Incorrect Answers
A:When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
B:High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
C:Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
Question 253
A private test-design workshop records: An industrial vision system learns a new pattern while operators have no method to isolate unsafe behavior. Which action best addresses the central issue? Select ONE best answer.
- Create hazard-oriented tests of user control, intervenability and a safe fallback under plausible AI errors
- Define separate threshold-based tests for prediction quality and robustness on representative degraded inputs
- Compare outputs case by case and adjudicate meaningful differences before replacing the existing model
- Run statistically defensible holdout trials and examine class-specific or calibration failures
Explanation
Correct Answer
A:Create hazard-oriented tests of user control, intervenability and a safe fallback under plausible AI errors. An industrial vision system learns a new pattern while operators have no method to isolate unsafe behavior. An undetected prediction failure can escalate into physical or clinical harm without timely external control.
Incorrect Answers
B:Define separate threshold-based tests for prediction quality and robustness on representative degraded inputs. An industrial vision system learns a new pattern while operators have no method to isolate unsafe behavior. Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm.
C:Compare outputs case by case and adjudicate meaningful differences before replacing the existing model. Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm.
D:Run statistically defensible holdout trials and examine class-specific or calibration failures. Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm.
Question 254
An original testing team reviews the following AI-system finding: An image generator has no single perfect target picture but a test suite asserts one exact pixel output. Which testing principle MOST directly applies? Select ONE best answer.
- Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use
- AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary
- ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability
- Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests
Explanation
Correct Answer
B:AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary. An image generator has no single perfect target picture but a test suite asserts one exact pixel output. Construct a defensible oracle protocol using external references and dispute resolution for ambiguous predictions.
Incorrect Answers
A:Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
C:ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
D:Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
Question 255
In an original ML testing scenario, investigators find: A manufacturing model encodes a category differently during inference than during training. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support
- Inspect framework interfaces, dependency versions, training logs, data allocations and parameter-selection records
- Trace feature definitions, encoders, scaling parameters, label dependencies and training-to-inference transformation versions
- Trace component boundaries, model inputs, service interfaces, integration transformations and end-to-end outcomes
Explanation
Correct Answer
C:Trace feature definitions, encoders, scaling parameters, label dependencies and training-to-inference transformation versions. A manufacturing model encodes a category differently during inference than during training. Package versioned transformations with the model and prevent use of information unavailable at decision time.
Incorrect Answers
A:Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
B:Inspect framework interfaces, dependency versions, training logs, data allocations and parameter-selection records. A manufacturing model encodes a category differently during inference than during training. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
D:Trace component boundaries, model inputs, service interfaces, integration transformations and end-to-end outcomes. Feature engineering and scaling must be fitted appropriately and applied consistently without leaking target information.
Question 256
A test team claims it corrected this AI-system finding: A customer service model reveals confidential prompt context when a tester uses role-play to bypass restrictions. What evidence would best verify the correction? Select ONE best answer.
- Paired tests satisfy the relationship for valid transforms while deliberately invalid transforms are not asserted to be invariant
- The final frozen model is scored once on a holdout not used to choose architecture, threshold or hyperparameters
- The chosen threshold meets an approved cost-sensitive criterion on representative independent cases
- Attack rehearsals fail safely without disclosing protected records or accepting untrusted retrieved instructions
Explanation
Correct Answer
D:Attack rehearsals fail safely without disclosing protected records or accepting untrusted retrieved instructions. A customer service model reveals confidential prompt context when a tester uses role-play to bypass restrictions. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
Incorrect Answers
A:Paired tests satisfy the relationship for valid transforms while deliberately invalid transforms are not asserted to be invariant. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
B:The final frozen model is scored once on a holdout not used to choose architecture, threshold or hyperparameters. A customer service model reveals confidential prompt context when a tester uses role-play to bypass restrictions. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
C:The chosen threshold meets an approved cost-sensitive criterion on representative independent cases. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
Question 257
In an AI-system assurance case, the team observes: A university locks model selection before learning from validation failures and re-evaluating candidates. What is the most relevant resulting test risk? Select ONE best answer.
- An apparently successful training job can produce a system that fails real operational acceptance needs
- Repeated test-set tuning leaks evaluation information and inflates claims of generalization
- A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo
- An apparently accurate model may be exploitable with small targeted input changes
Explanation
Correct Answer
A:An apparently successful training job can produce a system that fails real operational acceptance needs. 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. Trace the project from acceptance goals through data preparation, training experiments, independent evaluation and deployment evidence.
Incorrect Answers
B:Repeated test-set tuning leaks evaluation information and inflates claims of generalization. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
C:A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
D:An apparently accurate model may be exploitable with small targeted input changes. ML development is iterative across objectives, data, algorithm selection, training, evaluation, deployment and monitoring.
Question 258
A simulated AI implementation reports: An occupancy training table includes a future sensor outcome as a supposedly available historical input. Which response should the testing team prioritize? Select ONE best answer.
- Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average
- Express cross-field assertions and quarantine inconsistent or future-leaking records before training
- Design data-oriented and probabilistic acceptance tests in addition to conventional deterministic interface tests
- Build a versioned training and inference pipeline and test its compatibility across the target runtime
Explanation
Correct Answer
B:Express cross-field assertions and quarantine inconsistent or future-leaking records before training. An occupancy training table includes a future sensor outcome as a supposedly available historical input. Individually valid fields can combine into impossible events or reveal future outcomes unavailable in production.
Incorrect Answers
A:Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
C:Design data-oriented and probabilistic acceptance tests in addition to conventional deterministic interface tests. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
D:Build a versioned training and inference pipeline and test its compatibility across the target runtime. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
Question 259
A test team claims it corrected this AI-system finding: A fruit classifier changes its label when the photo is padded with a narrow neutral border. What evidence would best verify the correction? Select ONE best answer.
- Material adversarial failure rates are measured, mitigated and retested against approved threat scenarios
- The computed TP/(TP+FP) meets the acceptable alert-quality target and all counts reconcile to the test cases
- Outputs remain consistent on valid invariant transformations and known non-invariant transformations are explicitly excluded
- An end-to-end test follows representative raw inputs through conversion, prediction and safe business action
Explanation
Correct Answer
C:Outputs remain consistent on valid invariant transformations and known non-invariant transformations are explicitly excluded. 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.
Incorrect Answers
A:Material adversarial failure rates are measured, mitigated and retested against approved threat scenarios. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
B:The computed TP/(TP+FP) meets the acceptable alert-quality target and all counts reconcile to the test cases. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
D:An end-to-end test follows representative raw inputs through conversion, prediction and safe business action. A valid metamorphic relation states how outputs should behave when inputs undergo an appropriate known transformation.
Question 260
In an original ML testing scenario, investigators find: A medical classifier is selected by F1 without checking whether high false-negative costs require extra recall. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support
- Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth
- Benchmark model size, training operations, accelerator memory, inference latency, sustained load and power budgets
- Compute TP, TN, FP, FN and compare class prevalence, precision, recall and their combined score
Explanation
Correct Answer
D:Compute TP, TN, FP, FN and compare class prevalence, precision, recall and their combined score. A medical classifier is selected by F1 without checking whether high false-negative costs require extra recall. Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix.
Incorrect Answers
A:Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
B:Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth. A medical classifier is selected by F1 without checking whether high false-negative costs require extra recall. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
C:Benchmark model size, training operations, accelerator memory, inference latency, sustained load and power budgets. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.