ISTQB CT-AI Practice Test 27
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.
Question 261
A fictional AI service has this weakness: A product categorizer has no complete gold labels but equivalent unit conversions cause inconsistent category choices. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- Applying an invalid or unspecified relation can fabricate defects or overlook unstable model behavior
- An unrepresentative or undersized sample makes published performance thresholds unreliable
- Headline accuracy can hide unacceptable error rates when a model faces common operational disturbances
- An apparently successful training job can produce a system that fails real operational acceptance needs
Explanation
Correct Answer
A:Applying an invalid or unspecified relation can fabricate defects or overlook unstable model behavior. A product categorizer has no complete gold labels but equivalent unit conversions cause inconsistent category choices. Derive input pairs with an justified relation and compare resulting outputs under a clearly stated tolerance. Choose transformations that should preserve or predictably alter outputs and document valid domain assumptions.
Incorrect Answers
B:An unrepresentative or undersized sample makes published performance thresholds unreliable. When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations.
C:Headline accuracy can hide unacceptable error rates when a model faces common operational disturbances. When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations.
D:An apparently successful training job can produce a system that fails real operational acceptance needs. When exact prediction ground truth is difficult, metamorphic relations can test expected consistency across controlled transformations.
Question 262
A private test-design workshop records: A supplier changes a curated dataset silently while QA compares only the final row count. Which action best addresses the central issue? Select ONE best answer.
- Test representative valid, missing and malformed inputs end to end with explicit transformation assertions
- Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records
- Use delayed-label monitoring and controlled model reassessment when the target relationship changes
- Keep a genuinely untouched evaluation partition separate from training and development selection
Explanation
Correct Answer
B:Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records. A supplier changes a curated dataset silently while QA compares only the final row count. Poisoned or untrustworthy data can bias model predictions even when training completes normally.
Incorrect Answers
A:Test representative valid, missing and malformed inputs end to end with explicit transformation assertions. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
C:Use delayed-label monitoring and controlled model reassessment when the target relationship changes. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
D:Keep a genuinely untouched evaluation partition separate from training and development selection. Input data testing should address provenance, malicious contamination and quality defects before model learning or prediction.
Question 263
A testing group is given this fictional case: A bank reports a single random-seed score without describing variation across repeated training runs. 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
- Trace feature definitions, encoders, scaling parameters, label dependencies and training-to-inference transformation versions
- Inspect sampled population, number of trials, variability, seed controls and predicted-error distributions
- Inspect stakeholder priorities, confusion-matrix outcomes, review capacity and the economic or safety cost of errors
Explanation
Correct Answer
C:Inspect sampled population, number of trials, variability, seed controls and predicted-error distributions. A bank reports a single random-seed score without describing variation across repeated training runs. Use a specified statistical evaluation protocol and report uncertainty alongside the measured quality metric.
Incorrect Answers
A:Compare system hazards, error consequences, affected populations, exposure frequency and existing safeguards. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
B:Trace feature definitions, encoders, scaling parameters, label dependencies and training-to-inference transformation versions. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
D:Inspect stakeholder priorities, confusion-matrix outcomes, review capacity and the economic or safety cost of errors. A bank reports a single random-seed score without describing variation across repeated training runs. Probabilistic ML performance requires evidence over representative samples and repeated runs rather than one deterministic outcome.
Question 264
A simulated AI implementation reports: A hiring classifier defines a global error budget without identifying fairness acceptance conditions for affected populations. Which response should the testing team prioritize? Select ONE best answer.
- Define separate threshold-based tests for prediction quality and robustness on representative degraded inputs
- Build a versioned training and inference pipeline and test its compatibility across the target runtime
- Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior
- Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior
Explanation
Correct Answer
D:Write explicit acceptance thresholds and observation protocols for correctness, fairness, robustness and safe behavior. A hiring classifier defines a global error budget without identifying fairness acceptance conditions for affected populations. A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo.
Incorrect Answers
A:Define separate threshold-based tests for prediction quality and robustness on representative degraded inputs. A hiring classifier defines a global error budget without identifying fairness acceptance conditions for affected populations. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
B:Build a versioned training and inference pipeline and test its compatibility across the target runtime. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
C:Introduce defined lifecycle checkpoints and loop back when validation reveals unacceptable model or data behavior. Acceptance criteria for AI systems must be measurable, risk-aware and based on outcomes, variability and affected populations.
Question 265
A testing group is given this fictional case: A logistics dataset records a package as delivered before its documented pickup time. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Test chronology, referential integrity, cross-column dependencies and what was known at prediction time
- Compare sample versus deployment distributions across relevant environmental and demographic dimensions
- Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget
- Inspect the confusion matrix and count genuine positives that the classifier missed
Explanation
Correct Answer
A:Test chronology, referential integrity, cross-column dependencies and what was known at prediction time. A logistics dataset records a package as delivered before its documented pickup time. Express cross-field assertions and quarantine inconsistent or future-leaking records before training.
Incorrect Answers
B:Compare sample versus deployment distributions across relevant environmental and demographic dimensions. A logistics dataset records a package as delivered before its documented pickup time. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
C:Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
D:Inspect the confusion matrix and count genuine positives that the classifier missed. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
Question 266
During a fictional ML project, the owner learns: An image detector suffers adversarial sensitivity but the test team checks merely its average accuracy. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Derive before-and-after input pairs and assert the justified direction or coordinate relation of output change
- Build a model risk-to-test matrix and track residual risk after each targeted technique
- Choose an approach suitable for clustering or reward-driven control and validate whether its outputs match business needs
- Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records
Explanation
Correct Answer
B:Build a model risk-to-test matrix and track residual risk after each targeted technique. An image detector suffers adversarial sensitivity but the test team checks merely its average accuracy. Passing a technically valid but irrelevant test can leave the main predictive failure undetected.
Incorrect Answers
A:Derive before-and-after input pairs and assert the justified direction or coordinate relation of output change. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
C:Choose an approach suitable for clustering or reward-driven control and validate whether its outputs match business needs. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
D:Use source validation, lineage checks and risk-focused reviews of suspicious or externally supplied records. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
Question 267
A fictional AI assurance board hears: A finance forecast reverses the effect of raising a rate parameter despite a documented monotonic requirement. Which underlying distinction should guide its next decision? Select ONE best answer.
- Data drift occurs when the operational input distribution departs from the distribution used in development
- Model selection must reflect the business consequences of false positives, false negatives and operating constraints
- Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal
- Generative model testing evaluates task relevance, accuracy, harmful content, consistency and realistic user interactions
Explanation
Correct Answer
C:Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal. A finance forecast reverses the effect of raising a rate parameter despite a documented monotonic requirement. Derive before-and-after input pairs and assert the justified direction or coordinate relation of output change.
Incorrect Answers
A:Data drift occurs when the operational input distribution departs from the distribution used in development. Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal.
B:Model selection must reflect the business consequences of false positives, false negatives and operating constraints. Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal.
D:Generative model testing evaluates task relevance, accuracy, harmful content, consistency and realistic user interactions. A finance forecast reverses the effect of raising a rate parameter despite a documented monotonic requirement. Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal.
Question 268
In an original ML testing scenario, investigators find: An automated clinical risk signal escalates without any defined human-review threshold or fail-safe state. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints
- Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth
- Identify attacker control, permitted input modifications, threat model, baseline and response changes
- Inspect hazard analysis, unsafe states, supervisory override, time-to-intervention and fallback behavior
Explanation
Correct Answer
D:Inspect hazard analysis, unsafe states, supervisory override, time-to-intervention and fallback behavior. An automated clinical risk signal escalates without any defined human-review threshold or fail-safe state. Create hazard-oriented tests of user control, intervenability and a safe fallback under plausible AI errors.
Incorrect Answers
A:Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints. Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm.
B:Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth. Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm.
C:Identify attacker control, permitted input modifications, threat model, baseline and response changes. Safety-related AI testing addresses nondeterminism, uncertain specifications and effective intervention before harm.
Question 269
A simulated AI implementation reports: A website recommendation team deploys a new model to premium users only and claims a randomized uplift. Which response should the testing team prioritize? Select ONE best answer.
- Run a suitably governed randomized comparison with predefined success and rollback thresholds
- Compare outputs case by case and adjudicate meaningful differences before replacing the existing model
- Test framework API contracts and repeat representative training experiments with controlled settings
- Select the supervised task and functional metrics that match categorical or numeric outputs
Explanation
Correct Answer
A:Run a suitably governed randomized comparison with predefined success and rollback thresholds. A website recommendation team deploys a new model to premium users only and claims a randomized uplift. Uncontrolled cohorts or time effects may produce a false uplift or expose users to an unchecked model.
Incorrect Answers
B:Compare outputs case by case and adjudicate meaningful differences before replacing the existing model. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
C:Test framework API contracts and repeat representative training experiments with controlled settings. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
D:Select the supervised task and functional metrics that match categorical or numeric outputs. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
Question 270
In an original ML testing scenario, investigators find: A bank updates its retrieval corpus yet keeps evaluating the assistant against last quarter's document versions. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Inspect input features, layers, activations, learned parameters, loss function and inference operations
- Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support
- Test chronology, referential integrity, cross-column dependencies and what was known at prediction time
- Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth
Explanation
Correct Answer
B:Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support. 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:Inspect input features, layers, activations, learned parameters, loss function and inference operations. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
C:Test chronology, referential integrity, cross-column dependencies and what was known at prediction time. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
D:Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth. A bank updates its retrieval corpus yet keeps evaluating the assistant against last quarter's document versions. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.