ISTQB CT-AI Practice Test 28
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.
Question 271
An original AI test program addresses: A retailer describes validation scores as an unbiased final score after repeated iterative threshold tuning. What measurable result would show the intended control now works? Select ONE best answer.
- The computed TP/(TP+FN) meets its sensitivity target and missed positives are reviewed by risk category
- Source-to-output reconciliation confirms units, counts, keys and approved exception handling under change
- The final frozen model is scored once on a holdout not used to choose architecture, threshold or hyperparameters
- Traceable risk rankings explain extra tests, acceptance limits and mitigations for the highest-consequence scenarios
Explanation
Correct Answer
C:The final frozen model is scored once on a holdout not used to choose architecture, threshold or hyperparameters. A retailer describes validation scores as an unbiased final score after repeated iterative threshold tuning. Training fits model parameters, validation supports tuning, and a protected test set provides final unbiased estimation.
Incorrect Answers
A:The computed TP/(TP+FN) meets its sensitivity target and missed positives are reviewed by risk category. Training fits model parameters, validation supports tuning, and a protected test set provides final unbiased estimation.
B:Source-to-output reconciliation confirms units, counts, keys and approved exception handling under change. Training fits model parameters, validation supports tuning, and a protected test set provides final unbiased estimation.
D:Traceable risk rankings explain extra tests, acceptance limits and mitigations for the highest-consequence scenarios. Training fits model parameters, validation supports tuning, and a protected test set provides final unbiased estimation.
Question 272
In an original ML testing scenario, investigators find: A loan training table accepts a repayment date earlier than its origination date without an error. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Compare sample versus deployment distributions across relevant environmental and demographic dimensions
- Compare system hazards, error consequences, affected populations, exposure frequency and existing safeguards
- Inspect stakeholder priorities, confusion-matrix outcomes, review capacity and the economic or safety cost of errors
- Test chronology, referential integrity, cross-column dependencies and what was known at prediction time
Explanation
Correct Answer
D:Test chronology, referential integrity, cross-column dependencies and what was known at prediction time. A loan training table accepts a repayment date earlier than its origination date without an error. Express cross-field assertions and quarantine inconsistent or future-leaking records before training.
Incorrect Answers
A:Compare sample versus deployment distributions across relevant environmental and demographic dimensions. A loan training table accepts a repayment date earlier than its origination date without an error. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
B:Compare system hazards, error consequences, affected populations, exposure frequency and existing safeguards. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
C:Inspect stakeholder priorities, confusion-matrix outcomes, review capacity and the economic or safety cost of errors. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
Question 273
A fictional AI assurance board hears: A website recommendation team deploys a new model to premium users only and claims a randomized uplift. Which underlying distinction should guide its next decision? Select ONE best answer.
- A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes
- Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal
- Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions
- Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN
Explanation
Correct Answer
A:A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes. A website recommendation team deploys a new model to premium users only and claims a randomized uplift. Run a suitably governed randomized comparison with predefined success and rollback thresholds.
Incorrect Answers
B:Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal. A website recommendation team deploys a new model to premium users only and claims a randomized uplift. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
C:Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions. 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 website recommendation team deploys a new model to premium users only and claims a randomized uplift. A/B testing compares alternatives through controlled assignment and measurable live business and safety outcomes.
Question 274
In an original ML testing scenario, investigators find: A hospital fine-tunes a pretrained image model but assumes its source-population biases have disappeared. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Inspect the confusion matrix and count genuine positives that the classifier missed
- Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance
- Map abuse cases, trust boundaries, forbidden outputs, unauthorized data paths and defenses under representative attacks
- Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence
Explanation
Correct Answer
B:Check original model scope, new data coverage, frozen and adapted layers, post-tuning metrics and subgroup performance. 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:Inspect the confusion matrix and count genuine positives that the classifier missed. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
C:Map abuse cases, trust boundaries, forbidden outputs, unauthorized data paths and defenses under representative attacks. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
D:Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence. Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks.
Question 275
For this AI-quality problem — A public agency blames a text generator for wrong citations when the retrieval index contains obsolete policies — which inspection would best establish the cause? Select ONE best answer.
- Inspect timestamp availability, repeated identities, grouping keys and downstream model-feature construction
- Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth
- Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support
- Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints
Explanation
Correct Answer
C:Examine corpus freshness, retrieved document ranking, access rights, prompt context and citation support. 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.
Incorrect Answers
A:Inspect timestamp availability, repeated identities, grouping keys and downstream model-feature construction. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
B:Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth. 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.
D:Review metric definitions, validation dataset populations, error costs, statistical variation and stakeholder risk constraints. RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness.
Question 276
A fictional AI assurance board hears: A retailer requests customer clusters without labels but a team demands target class annotations for every record. Which underlying distinction should guide its next decision? Select ONE best answer.
- Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN
- ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility
- Concept drift concerns a change in the input-to-target relationship rather than merely changed input frequencies
- Unsupervised methods discover structure without target labels, while reinforcement learning optimizes sequential actions through reward
Explanation
Correct Answer
D:Unsupervised methods discover structure without target labels, while reinforcement learning optimizes sequential actions through reward. A retailer requests customer clusters without labels but a team demands target class annotations for every record. Choose an approach suitable for clustering or reward-driven control and validate whether its outputs match business needs.
Incorrect Answers
A:Recall measures the fraction of actually positive cases detected: TP divided by TP plus FN. Unsupervised methods discover structure without target labels, while reinforcement learning optimizes sequential actions through reward.
B:ML frameworks provide model construction, training and evaluation facilities but require controlled dependencies and reproducibility. A retailer requests customer clusters without labels but a team demands target class annotations for every record. Unsupervised methods discover structure without target labels, while reinforcement learning optimizes sequential actions through reward.
C:Concept drift concerns a change in the input-to-target relationship rather than merely changed input frequencies. Unsupervised methods discover structure without target labels, while reinforcement learning optimizes sequential actions through reward.
Question 277
Consider this original ML case: A warehouse predictor accepts impossible negative inventory values as ordinary observations. Which failure outcome should be emphasized? Select ONE best answer.
- Incorrect or undocumented cleaning can create spurious patterns and obscure meaningful exceptional cases
- Uncontrolled comparisons can favor a candidate because of easier data rather than better predictive ability
- An undetected prediction failure can escalate into physical or clinical harm without timely external control
- Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality
Explanation
Correct Answer
A:Incorrect or undocumented cleaning can create spurious patterns and obscure meaningful exceptional cases. A warehouse predictor accepts impossible negative inventory values as ordinary observations. 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
B:Uncontrolled comparisons can favor a candidate because of easier data rather than better predictive ability. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
C:An undetected prediction failure can escalate into physical or clinical harm without timely external control. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
D:Noisy or inconsistent labels can train the wrong behavior and corrupt measured holdout quality. Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training.
Question 278
An original testing team reviews the following AI-system finding: A team uses the number of covered code branches to infer coverage of learned activation ranges. Which testing principle MOST directly applies? Select ONE best answer.
- Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall
- Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness
- LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably
- Disparate-impact analysis compares group outcome rates and can flag potential unfairness without by itself proving its cause
Explanation
Correct Answer
B:Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness. A team uses the number of covered code branches to infer coverage of learned activation ranges. Combine structural neural coverage with functional, adverse-input and metamorphic tests.
Incorrect Answers
A:Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
C:LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
D:Disparate-impact analysis compares group outcome rates and can flag potential unfairness without by itself proving its cause. Neuron, k-multisection and neuron-boundary coverage describe activations, not proof of correctness or robustness.
Question 279
During a fictional ML project, the owner learns: A language model experiment includes private customer messages in an open research dataset without permission checks. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Evaluate candidates under matched splits and acceptance thresholds with versioned experiment records
- Build a versioned training and inference pipeline and test its compatibility across the target runtime
- Validate documented data rights and maintain a versioned transformation and exclusion audit
- Conduct documented adversarial probes and verify refusal, containment and safe response behavior within authorized scope
Explanation
Correct Answer
C:Validate documented data rights and maintain a versioned transformation and exclusion audit. A language model experiment includes private customer messages in an open research dataset without permission checks. Uncontrolled collection or processing can make a technically strong model legally unusable and irreproducible.
Incorrect Answers
A:Evaluate candidates under matched splits and acceptance thresholds with versioned experiment records. A language model experiment includes private customer messages in an open research dataset without permission checks. High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations.
B:Build a versioned training and inference pipeline and test its compatibility across the target runtime. High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations.
D:Conduct documented adversarial probes and verify refusal, containment and safe response behavior within authorized scope. High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations.
Question 280
For this AI-quality problem — A bank investigates a biased approval model using only API availability checks — which inspection would best establish the cause? Select ONE best answer.
- Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes
- Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence
- Inspect sampled population, number of trials, variability, seed controls and predicted-error distributions
- Map each model failure mode to the test technique and evidence capable of detecting that exact condition
Explanation
Correct Answer
D:Map each model failure mode to the test technique and evidence capable of detecting that exact condition. 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.
Incorrect Answers
A:Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes. 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.
B:Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.
C:Inspect sampled population, number of trials, variability, seed controls and predicted-error distributions. Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests.