ISTQB CT-AI Practice Test 21
Question 200
In an AI-system assurance case, the team observes: A research group describes a hidden-layer classifier as if each neuron were a hand-coded decision rule. What is the most relevant resulting test risk? Select ONE best answer.
- Repeated test-set tuning leaks evaluation information and inflates claims of generalization
- Poisoned or untrustworthy data can bias model predictions even when training completes normally
- A high-performing model can still be unsafe or noncompliant if testing ignores protected outcomes and oversight duties
- Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior
Explanation
Correct Answer
D:Undocumented network structure or weights can prevent reproducing decisions and validating learned behavior. A research group describes a hidden-layer classifier as if each neuron were a hand-coded decision rule. Test model output against known examples and retain the exact architecture and trained weights for reproducibility. Inspect input features, layers, activations, learned parameters, loss function and inference operations.
Incorrect Answers
A:Repeated test-set tuning leaks evaluation information and inflates claims of generalization. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
B:Poisoned or untrustworthy data can bias model predictions even when training completes normally. A research group describes a hidden-layer classifier as if each neuron were a hand-coded decision rule. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
C:A high-performing model can still be unsafe or noncompliant if testing ignores protected outcomes and oversight duties. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
Question 201
Consider this original ML case: A bank ETL job silently drops valid customer records after a schema change adds a nullable field. Which failure outcome should be emphasized? Select ONE best answer.
- Silent mapping or join defects can poison training and production features while ordinary job-health checks remain green
- Ignoring group gaps may hide harmful treatment while overinterpreting raw ratios may produce unjustified conclusions
- An apparently successful training job can produce a system that fails real operational acceptance needs
- Unsupported answers can persist even with a capable language model when retrieved evidence is irrelevant or outdated
Explanation
Correct Answer
A:Silent mapping or join defects can poison training and production features while ordinary job-health checks remain green. A bank ETL job silently drops valid customer records after a schema change adds a nullable field. Test representative valid, missing and malformed inputs end to end with explicit transformation assertions. Compare source and target schema, units, join cardinality, rejected rows, versioned mappings and reconciliation totals.
Incorrect Answers
B:Ignoring group gaps may hide harmful treatment while overinterpreting raw ratios may produce unjustified conclusions. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
C:An apparently successful training job can produce a system that fails real operational acceptance needs. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
D:Unsupported answers can persist even with a capable language model when retrieved evidence is irrelevant or outdated. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
Question 202
A private AI-testing exercise identifies: A hospital tests a new triage model but never defines the safety stop criterion or assignment groups. What is the governing concept relevant to this finding? Select ONE best answer.
- Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions
- A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes
- ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards
- Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN
Explanation
Correct Answer
B:A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes. A hospital tests a new triage model but never defines the safety stop criterion or assignment groups. Run a suitably governed randomized comparison with predefined success and rollback thresholds.
Incorrect Answers
A:Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
C:ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
D:Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN. A hospital tests a new triage model but never defines the safety stop criterion or assignment groups. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
Question 203
During a fictional ML project, the owner learns: A lender measures average prediction accuracy while ignoring robustness under small harmless input changes. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior
- Test retrieval and grounded generation as distinct stages using versioned authoritative documents
- Define separate threshold-based tests for prediction quality and robustness on representative degraded inputs
- Test model output against known examples and retain the exact architecture and trained weights for reproducibility
Explanation
Correct Answer
C:Define separate threshold-based tests for prediction quality and robustness on representative degraded inputs. A lender measures average prediction accuracy while ignoring robustness under small harmless input changes. Headline accuracy can hide unacceptable error rates when a model faces common operational disturbances.
Incorrect Answers
A:Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior. A lender measures average prediction accuracy while ignoring robustness under small harmless input changes. AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption.
B:Test retrieval and grounded generation as distinct stages using versioned authoritative documents. AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption.
D:Test model output against known examples and retain the exact architecture and trained weights for reproducibility. AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption.
Question 204
A private test-design workshop records: A class-imbalanced classifier reports 98 percent accuracy despite almost never finding the rare class. Which action best addresses the central issue? Select ONE best answer.
- Test model output against known examples and retain the exact architecture and trained weights for reproducibility
- Implement explicit constraint checks with clear expected handling of valid boundaries and invalid values
- Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior
- Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix
Explanation
Correct Answer
D:Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix. A class-imbalanced classifier reports 98 percent accuracy despite almost never finding the rare class. Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking.
Incorrect Answers
A:Test model output against known examples and retain the exact architecture and trained weights for reproducibility. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
B:Implement explicit constraint checks with clear expected handling of valid boundaries and invalid values. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
C:Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior. A class-imbalanced classifier reports 98 percent accuracy despite almost never finding the rare class. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
Question 205
During a fictional ML project, the owner learns: A fraud model receives new transaction examples from a compromised feed but no data-ingestion provenance checks run. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records
- Create clear labeling guidance, use multiple reviewers and adjudicate disagreements under domain expertise
- Compare outputs case by case and adjudicate meaningful differences before replacing the existing model
- Build a model risk-to-test matrix and track residual risk after each targeted technique
Explanation
Correct Answer
A:Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records. A fraud model receives new transaction examples from a compromised feed but no data-ingestion provenance checks run. Poisoned or untrustworthy data can bias model predictions even when training completes normally.
Incorrect Answers
B:Create clear labeling guidance, use multiple reviewers and adjudicate disagreements under domain expertise. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
C:Compare outputs case by case and adjudicate meaningful differences before replacing the existing model. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
D:Build a model risk-to-test matrix and track residual risk after each targeted technique. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
Question 206
For this AI-quality problem — A bank switches its fraud model to a new runtime without checking that the inference API loads correctly — which inspection would best establish the cause? Select ONE best answer.
- Inspect framework interfaces, dependency versions, training logs, data allocations and parameter-selection records
- Inspect artifact signatures, runtime dependencies, shadow outputs, performance budgets and rollback criteria
- Inspect dataset ownership, ingestion hashes, provenance logs, outlier patterns, source contracts and tampering signals
- Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget
Explanation
Correct Answer
B:Inspect artifact signatures, runtime dependencies, shadow outputs, performance budgets and rollback criteria. A bank switches its fraud model to a new runtime without checking that the inference API loads correctly. Run smoke and shadow tests on production-like requests before a monitored cutover with a rehearsed rollback.
Incorrect Answers
A:Inspect framework interfaces, dependency versions, training logs, data allocations and parameter-selection records. A bank switches its fraud model to a new runtime without checking that the inference API loads correctly. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
C:Inspect dataset ownership, ingestion hashes, provenance logs, outlier patterns, source contracts and tampering signals. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
D:Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
Question 207
A private AI-testing exercise identifies: A hospital fine-tunes a pretrained image model but assumes its source-population biases have disappeared. What is the governing concept relevant to this finding? Select ONE best answer.
- Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training
- Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples
- Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks
- LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably
Explanation
Correct Answer
C:Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks. A hospital fine-tunes a pretrained image model but assumes its source-population biases have disappeared. Use task-specific evaluation and regression tests before trusting a pretrained or fine-tuned model in a new domain.
Incorrect Answers
A:Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
B:Label correctness testing examines annotation rules, ground-truth quality, agreement and targeted review of doubtful samples. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
D:LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
Question 208
A testing group is given this fictional case: An image generator has no single perfect target picture but a test suite asserts one exact pixel output. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Compare system hazards, error consequences, affected populations, exposure frequency and existing safeguards
- Compare source and target schema, units, join cardinality, rejected rows, versioned mappings and reconciliation totals
- Examine the confusion matrix and distinguish true positives from false positives among positive alerts
- Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth
Explanation
Correct Answer
D:Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth. 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:Compare system hazards, error consequences, affected populations, exposure frequency and existing safeguards. An image generator has no single perfect target picture but a test suite asserts one exact pixel output. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
B:Compare source and target schema, units, join cardinality, rejected rows, versioned mappings and reconciliation totals. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
C:Examine the confusion matrix and distinguish true positives from false positives among positive alerts. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
Question 209
A simulated AI implementation reports: A bank averages precision and recall arithmetically but labels the result an F1-score. Which response should the testing team prioritize? Select ONE best answer.
- Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix
- Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence
- Derive input pairs with an justified relation and compare resulting outputs under a clearly stated tolerance
- Build a model risk-to-test matrix and track residual risk after each targeted technique
Explanation
Correct Answer
A:Report multiple complementary metrics and calculate the selected measure from one consistent held-out confusion matrix. A bank averages precision and recall arithmetically but labels the result an F1-score. Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking.
Incorrect Answers
B:Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
C:Derive input pairs with an justified relation and compare resulting outputs under a clearly stated tolerance. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
D:Build a model risk-to-test matrix and track residual risk after each targeted technique. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
Question 210
For this AI-quality problem — A public-benefits chatbot obeys instructions embedded in a document it was supposed to summarize — which inspection would best establish the cause? Select ONE best answer.
- Trace component boundaries, model inputs, service interfaces, integration transformations and end-to-end outcomes
- Map abuse cases, trust boundaries, forbidden outputs, unauthorized data paths and defenses under representative attacks
- Inspect the target variable type, available labeled examples, loss function and business error costs
- Compare independent annotations, disagreement rates, boundary examples, low-confidence predictions and label definitions
Explanation
Correct Answer
B:Map abuse cases, trust boundaries, forbidden outputs, unauthorized data paths and defenses under representative attacks. A public-benefits chatbot obeys instructions embedded in a document it was supposed to summarize. Conduct documented adversarial probes and verify refusal, containment and safe response behavior within authorized scope.
Incorrect Answers
A:Trace component boundaries, model inputs, service interfaces, integration transformations and end-to-end outcomes. 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.
C:Inspect the target variable type, available labeled examples, loss function and business error costs. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
D:Compare independent annotations, disagreement rates, boundary examples, low-confidence predictions and label definitions. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.