ISTQB CT-AI Practice Test 35
Question 340
During a fictional ML project, the owner learns: A medical classifier is selected by F1 without checking whether high false-negative costs require extra recall. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Choose an approach suitable for clustering or reward-driven control and validate whether its outputs match business needs
- Use independent validation to guide regularization, capacity or data changes and reserve the final test set
- 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 medical classifier is selected by F1 without checking whether high false-negative costs require extra recall. Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking.
Incorrect Answers
A:Choose an approach suitable for clustering or reward-driven control and validate whether its outputs match business needs. Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall.
B:Use independent validation to guide regularization, capacity or data changes and reserve the final test set. 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 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.
Question 341
A test team claims it corrected this AI-system finding: A publisher assumes two different responses to the same creative prompt always indicate a system defect. What evidence would best verify the correction? Select ONE best answer.
- Independent reviewers reproduce the task rubric and record groundedness and failure frequency across diverse prompts
- The compliance matrix links each applicable obligation to an owner, executable assessment and retained evidence
- Monitors identify meaningful distribution changes and a tested escalation process assesses prediction impact
- The chosen threshold meets an approved cost-sensitive criterion on representative independent cases
Explanation
Correct Answer
A:Independent reviewers reproduce the task rubric and record groundedness and failure frequency across diverse prompts. A publisher assumes two different responses to the same creative prompt always indicate a system defect. Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings.
Incorrect Answers
B:The compliance matrix links each applicable obligation to an owner, executable assessment and retained evidence. Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings.
C:Monitors identify meaningful distribution changes and a tested escalation process assesses prediction impact. Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings.
D:The chosen threshold meets an approved cost-sensitive criterion on representative independent cases. Generative AI creates new outputs from learned patterns and needs quality and factuality evaluation beyond exact-match strings.
Question 342
A private test-design workshop records: A device telemetry table contains null timestamps where each observation requires a recording time. Which action best addresses the central issue? Select ONE best answer.
- Create clear labeling guidance, use multiple reviewers and adjudicate disagreements under domain expertise
- Implement explicit constraint checks with clear expected handling of valid boundaries and invalid values
- Design data-oriented and probabilistic acceptance tests in addition to conventional deterministic interface tests
- Use task-specific evaluation and regression tests before trusting a pretrained or fine-tuned model in a new domain
Explanation
Correct Answer
B:Implement explicit constraint checks with clear expected handling of valid boundaries and invalid values. A device telemetry table contains null timestamps where each observation requires a recording time. Invalid values can create fictitious patterns or crash transformations that expect well-formed inputs.
Incorrect Answers
A:Create clear labeling guidance, use multiple reviewers and adjudicate disagreements under domain expertise. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
C:Design data-oriented and probabilistic acceptance tests in addition to conventional deterministic interface tests. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
D:Use task-specific evaluation and regression tests before trusting a pretrained or fine-tuned model in a new domain. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
Question 343
A private test-design workshop records: A loan model approves 80 percent of one group and 40 percent of another yet releases only a global approval rate. Which action best addresses the central issue? Select ONE best answer.
- Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records
- Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior
- Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average
- Keep a genuinely untouched evaluation partition separate from training and development selection
Explanation
Correct Answer
C:Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average. A loan model approves 80 percent of one group and 40 percent of another yet releases only a global approval rate. Ignoring group gaps may hide harmful treatment while overinterpreting raw ratios may produce unjustified conclusions.
Incorrect Answers
A:Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records. A loan model approves 80 percent of one group and 40 percent of another yet releases only a global approval rate. Disparate-impact analysis compares group outcome rates and can flag potential unfairness without by itself proving its cause.
B:Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior. Disparate-impact analysis compares group outcome rates and can flag potential unfairness without by itself proving its cause.
D:Keep a genuinely untouched evaluation partition separate from training and development selection. Disparate-impact analysis compares group outcome rates and can flag potential unfairness without by itself proving its cause.
Question 344
An original testing team reviews the following AI-system finding: A text generator is accepted because stakeholders like its outputs, without a groundedness or safety rubric. Which testing principle MOST directly applies? Select ONE best answer.
- Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm
- ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability
- Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use
- Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations
Explanation
Correct Answer
D:Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations. A text generator is accepted because stakeholders like its outputs, without a groundedness or safety rubric. Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior.
Incorrect Answers
A:Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm. A text generator is accepted because stakeholders like its outputs, without a groundedness or safety rubric. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
B:ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
C:Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
Question 345
A fictional AI service has this weakness: A rare-disease classifier looks excellent because 99 percent of its examples are negative. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- Majority-class accuracy or leakage from copied examples can conceal failure on rare but important cases
- Inconsistent features or target leakage can make offline scores appear strong while deployed predictions fail
- An unnoticed shift in inputs can degrade model reliability without any model code change
- Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels
Explanation
Correct Answer
A:Majority-class accuracy or leakage from copied examples can conceal failure on rare but important cases. A rare-disease classifier looks excellent because 99 percent of its examples are negative. Use suitable stratification or training-only resampling and report precision, recall and meaningful class prevalence. Compare real prevalence, per-class outcomes, sampling provenance, holdout purity and information loss.
Incorrect Answers
B:Inconsistent features or target leakage can make offline scores appear strong while deployed predictions fail. A rare-disease classifier looks excellent because 99 percent of its examples are negative. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
C:An unnoticed shift in inputs can degrade model reliability without any model code change. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
D:Unverified invariance can hide brittleness, while a poorly chosen transform can make a false assumption about true labels. Class imbalance requires careful metric selection and sampling confined to training data to preserve independent evaluation.
Question 346
A testing group is given this fictional case: A bank compares two models with a tiny apparent performance advantage but does not measure sampling uncertainty. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Choose transformations that should preserve or predictably alter outputs and document valid domain assumptions
- Analyze trial counts, representative conditions, confidence intervals and measurement assumptions
- Specify an application-valid monotonic or geometric transform with its expected output relation and permissible tolerance
- Measure activated neurons and covered activation ranges, then compare failures that those structural metrics miss
Explanation
Correct Answer
B:Analyze trial counts, representative conditions, confidence intervals and measurement assumptions. A bank compares two models with a tiny apparent performance advantage but does not measure sampling uncertainty. Stratify testing by important operating conditions and make uncertainty explicit in the release argument.
Incorrect Answers
A:Choose transformations that should preserve or predictably alter outputs and document valid domain assumptions. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
C:Specify an application-valid monotonic or geometric transform with its expected output relation and permissible tolerance. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
D:Measure activated neurons and covered activation ranges, then compare failures that those structural metrics miss. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
Question 347
A testing group is given this fictional case: A manufacturer deploys a memory-heavy model to edge devices that cannot hold its weights. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence
- Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance
- Benchmark model size, training operations, accelerator memory, inference latency, sustained load and power budgets
- Examine the confusion matrix and distinguish true positives from false positives among positive alerts
Explanation
Correct Answer
C:Benchmark model size, training operations, accelerator memory, inference latency, sustained load and power budgets. A manufacturer deploys a memory-heavy model to edge devices that cannot hold its weights. Choose a feasible CPU, GPU or specialized accelerator configuration using representative workload and cost tests.
Incorrect Answers
A:Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
B:Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
D:Examine the confusion matrix and distinguish true positives from false positives among positive alerts. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
Question 348
A fictional AI service has this weakness: A disease screen team maximizes accuracy while ignoring the high cost of missed positive patients. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- High activation coverage can coexist with unsafe or inaccurate predictions for unseen inputs
- A technically capable model may create privacy violations, uncontrolled changes or unusable response times when mis-hosted
- A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo
- A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service
Explanation
Correct Answer
D:A nominally strong benchmark score can optimize the wrong trade-off and harm the actual service. A disease screen team maximizes accuracy while ignoring the high cost of missed positive patients. Agree a decision-oriented metric and threshold before selecting the candidate model. Inspect stakeholder priorities, confusion-matrix outcomes, review capacity and the economic or safety cost of errors.
Incorrect Answers
A:High activation coverage can coexist with unsafe or inaccurate predictions for unseen inputs. Model selection must reflect the business consequences of false positives, false negatives and operating constraints.
B:A technically capable model may create privacy violations, uncontrolled changes or unusable response times when mis-hosted. Model selection must reflect the business consequences of false positives, false negatives and operating constraints.
C:A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo. Model selection must reflect the business consequences of false positives, false negatives and operating constraints.
Question 349
An original AI test program addresses: A ranking model lacks exact expected scores but identical content receives wildly different ranks under harmless formatting. What measurable result would show the intended control now works? Select ONE best answer.
- Paired tests satisfy the relationship for valid transforms while deliberately invalid transforms are not asserted to be invariant
- Repeated independent trials show error-rate uncertainty small enough for the stated release decision
- A traceable difference report identifies affected cases and documents whether each significant change is acceptable
- Boundary and invalid samples trigger consistent documented accept, reject or repair decisions
Explanation
Correct Answer
A:Paired tests satisfy the relationship for valid transforms while deliberately invalid transforms are not asserted to be invariant. A ranking model lacks exact expected scores but identical content receives wildly different ranks under harmless formatting. When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations.
Incorrect Answers
B:Repeated independent trials show error-rate uncertainty small enough for the stated release decision. When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations.
C:A traceable difference report identifies affected cases and documents whether each significant change is acceptable. A ranking model lacks exact expected scores but identical content receives wildly different ranks under harmless formatting. When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations.
D:Boundary and invalid samples trigger consistent documented accept, reject or repair decisions. When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations.
Question 350
In an AI-system assurance case, the team observes: A public agency blames a text generator for wrong citations when the retrieval index contains obsolete policies. 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
- Unsupported answers can persist even with a capable language model when retrieved evidence is irrelevant or outdated
- Aggregate accuracy may hide unfair error differences inherited from historical data or model design
- Invalid values can create fictitious patterns or crash transformations that expect well-formed inputs
Explanation
Correct Answer
B:Unsupported answers can persist even with a capable language model when retrieved evidence is irrelevant or outdated. A public agency blames a text generator for wrong citations when the retrieval index contains obsolete policies. Test retrieval and grounded generation as distinct stages using versioned authoritative documents. Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support.
Incorrect Answers
A:Accuracy may mask minority-class failure and an incorrectly calculated F1 can distort model ranking. A public agency blames a text generator for wrong citations when the retrieval index contains obsolete policies. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
C:Aggregate accuracy may hide unfair error differences inherited from historical data or model design. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
D:Invalid values can create fictitious patterns or crash transformations that expect well-formed inputs. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.