ISTQB CT-AI Practice Test 9
Question 80
An original testing team reviews the following AI-system finding: A university trains a deep network but has no record of architecture, optimization or learned parameters. Which testing principle MOST directly applies? Select ONE best answer.
- Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP
- Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings
- Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm
- Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training
Explanation
Correct Answer
D:Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training. A university trains a deep network but has no record of architecture, optimization or learned parameters. Test model output against known examples and retain the exact architecture and trained weights for reproducibility.
Incorrect Answers
A:Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
B:Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
C:Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm. Neural networks transform inputs through interconnected weighted layers and nonlinear activations learned during training.
Question 81
In an AI-system assurance case, the team observes: A manufacturer evaluates an object detector only in daylight yet reports an all-weather reliability estimate. What is the most relevant resulting test risk? Select ONE best answer.
- An unrepresentative or undersized sample makes published performance thresholds unreliable
- An exact-match or superficial fluency score can hide hallucination, unsafe advice and task failure
- A violated output relation reveals inconsistency even without an exact expected value for either individual prediction
- An undetected prediction failure can escalate into physical or clinical harm without timely external control
Explanation
Correct Answer
A:An unrepresentative or undersized sample makes published performance thresholds unreliable. A manufacturer evaluates an object detector only in daylight yet reports an all-weather reliability estimate. Stratify testing by important operating conditions and make uncertainty explicit in the release argument. Analyze trial counts, representative conditions, confidence intervals and measurement assumptions.
Incorrect Answers
B:An exact-match or superficial fluency score can hide hallucination, unsafe advice and task failure. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
C:A violated output relation reveals inconsistency even without an exact expected value for either individual prediction. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
D:An undetected prediction failure can escalate into physical or clinical harm without timely external control. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
Question 82
A fictional AI assurance board hears: A bank switches its fraud model to a new runtime without checking that the inference API loads correctly. Which underlying distinction should guide its next decision? Select ONE best answer.
- ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability
- ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards
- Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria
- Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness
Explanation
Correct Answer
B:ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards. 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:ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability. 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:Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
D:Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
Question 83
Consider this original ML case: A retailer calls a task-specific recommender superintelligence because its model uses a large neural network. Which failure outcome should be emphasized? Select ONE best answer.
- Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction
- Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking
- Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims
- Leaked entities or future facts can produce an inflated holdout score that collapses after deployment
Explanation
Correct Answer
C:Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims. A retailer calls a task-specific recommender superintelligence because its model uses a large neural network. 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:Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
B:Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
D:Leaked entities or future facts can produce an inflated holdout score that collapses after deployment. A narrow model optimized for an individual task is not artificial general intelligence or hypothetical superintelligence.
Question 84
In an original ML testing scenario, investigators find: A retailer predicts next-week unit demand but evaluates the numerical forecast as a category label. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Examine source agreements, personal-data classifications, change history, access grants and input-to-output row lineage
- Review information classification, deployment region, data flows, service contracts, version management and end-to-end latency
- Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget
- Inspect the target variable type, available labeled examples, loss function and business error costs
Explanation
Correct Answer
D:Inspect the target variable type, available labeled examples, loss function and business error costs. A retailer predicts next-week unit demand but evaluates the numerical forecast as a category label. Select the supervised task and functional metrics that match categorical or numeric outputs.
Incorrect Answers
A:Examine source agreements, personal-data classifications, change history, access grants and input-to-output row lineage. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
B:Review information classification, deployment region, data flows, service contracts, version management and end-to-end latency. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
C:Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget. Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities.
Question 85
In an AI-system assurance case, the team observes: A bank investigates a biased approval model using only API availability checks. What is the most relevant resulting test risk? Select ONE best answer.
- Passing a technically valid but irrelevant test can leave the main predictive failure undetected
- Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels
- Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production
- Single-run testing can overstate confidence or mislabel normal stochastic variation as a defect
Explanation
Correct Answer
A:Passing a technically valid but irrelevant test can leave the main predictive failure undetected. A bank investigates a biased approval model using only API availability checks. Build a model risk-to-test matrix and track residual risk after each targeted technique. Map each model failure mode to the test technique and evidence capable of detecting that exact condition.
Incorrect Answers
B:Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels. A bank investigates a biased approval model using only API availability checks. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
C:Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
D:Single-run testing can overstate confidence or mislabel normal stochastic variation as a defect. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
Question 86
A private AI-testing exercise identifies: A customer service model reveals confidential prompt context when a tester uses role-play to bypass restrictions. What is the governing concept relevant to this finding? Select ONE best answer.
- LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably
- Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review
- ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards
- High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations
Explanation
Correct Answer
B:Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review. A customer service model reveals confidential prompt context when a tester uses role-play to bypass restrictions. Conduct documented adversarial probes and verify refusal, containment and safe response behavior within authorized scope.
Incorrect Answers
A:LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably. 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:ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
D:High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
Question 87
A private test-design workshop records: A manufacturer deploys a memory-heavy model to edge devices that cannot hold its weights. Which action best addresses the central issue? Select ONE best answer.
- Build a versioned training and inference pipeline and test its compatibility across the target runtime
- Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average
- Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests
- Use a specified statistical evaluation protocol and report uncertainty alongside the measured quality metric
Explanation
Correct Answer
C:Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests. A manufacturer deploys a memory-heavy model to edge devices that cannot hold its weights. Ignoring memory or accelerator characteristics can make a trained model unusable or uneconomical in production.
Incorrect Answers
A:Build a versioned training and inference pipeline and test its compatibility across the target runtime. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
B:Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
D:Use a specified statistical evaluation protocol and report uncertainty alongside the measured quality metric. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
Question 88
A test team claims it corrected this AI-system finding: A diagnostics model is approved using a point estimate but no variability or class-specific performance analysis. What evidence would best verify the correction? Select ONE best answer.
- A third-party reviewer can trace a deployed result to model version, dataset and documented evaluation boundaries
- Testing verifies the named narrow capability and explicitly rejects unsupported task-generalization claims
- Boundary and invalid samples trigger consistent documented accept, reject or repair decisions
- Defined metrics remain within acceptable uncertainty and performance bounds across representative independent trials
Explanation
Correct Answer
D:Defined metrics remain within acceptable uncertainty and performance bounds across representative independent trials. A diagnostics model is approved using a point estimate but no variability or class-specific performance analysis. Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria.
Incorrect Answers
A:A third-party reviewer can trace a deployed result to model version, dataset and documented evaluation boundaries. Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria.
B:Testing verifies the named narrow capability and explicitly rejects unsupported task-generalization claims. Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria.
C:Boundary and invalid samples trigger consistent documented accept, reject or repair decisions. Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria.
Question 89
A private AI-testing exercise identifies: A dialect classifier trains on metropolitan speakers despite a rural population being central to its users. 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
- Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types
- A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes
- Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training
Explanation
Correct Answer
A:Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population. A dialect classifier trains on metropolitan speakers despite a rural population being central to its users. Identify coverage gaps and acquire representative data or restrict the stated deployment envelope.
Incorrect Answers
B:Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
C:A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
D:Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
Question 90
In an AI-system assurance case, the team observes: A traffic model trains on records with blank speed readings that its pipeline silently replaces with zeros. What is the most relevant resulting test risk? Select ONE best answer.
- Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking
- Incorrect or undocumented cleaning can create spurious patterns and obscure meaningful exceptional cases
- Flat test effort can leave rare catastrophic errors underexamined while low-impact behavior receives excess attention
- Unsupported citations and inconsistent conclusions can make fluent output harmful in regulated processes
Explanation
Correct Answer
B:Incorrect or undocumented cleaning can create spurious patterns and obscure meaningful exceptional cases. A traffic model trains on records with blank speed readings that its pipeline silently replaces with zeros. Implement documented cleaning rules with traceable rejects or imputations and test their effects on held-out data. Profile nulls, duplicates, field ranges, lineage and treatment of extreme observations in the raw and cleaned datasets.
Incorrect Answers
A:Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking. A traffic model trains on records with blank speed readings that its pipeline silently replaces with zeros. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
C:Flat test effort can leave rare catastrophic errors underexamined while low-impact behavior receives excess attention. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
D:Unsupported citations and inconsistent conclusions can make fluent output harmful in regulated processes. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.