ISTQB CT-AI Practice Test 4
Question 30
An original testing team reviews the following AI-system finding: A voice assistant repeatedly misclassifies a command under strategically crafted acoustic noise. Which testing principle MOST directly applies? Select ONE best answer.
- Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria
- Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions
- Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training
- ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards
Explanation
Correct Answer
B:Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions. A voice assistant repeatedly misclassifies a command under strategically crafted acoustic noise. Build authorized adversarial test inputs and quantify the model robustness and detection or containment response.
Incorrect Answers
A:Probabilistic ML functional testing compares observed prediction distributions with risk-based acceptance criteria. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
C:Data preparation must detect missing values, duplicates, invalid measurements and outliers before model training. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
D:ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards. Adversarial model testing probes intentionally crafted perturbations designed to cause inappropriate predictions.
Question 31
In an AI-system assurance case, the team observes: A medical prediction system has borderline cases without an agreed expert-annotated ground truth. What is the most relevant resulting test risk? Select ONE best answer.
- Untested prompt injection or persuasion patterns may override intended guardrails and expose protected material
- Unrepresentative datasets can cause unpredictable field errors despite clean in-sample measurements
- Unreliable oracle labels can falsely pass harmful outputs or reject valid alternate responses
- Incorrect learning-method selection can confuse discovered patterns with certified truth or rewards with safety constraints
Explanation
Correct Answer
C:Unreliable oracle labels can falsely pass harmful outputs or reject valid alternate responses. A medical prediction system has borderline cases without an agreed expert-annotated ground truth. Construct a defensible oracle protocol using external references and dispute resolution for ambiguous predictions. Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth.
Incorrect Answers
A:Untested prompt injection or persuasion patterns may override intended guardrails and expose protected material. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
B:Unrepresentative datasets can cause unpredictable field errors despite clean in-sample measurements. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
D:Incorrect learning-method selection can confuse discovered patterns with certified truth or rewards with safety constraints. AI test oracles may rely on carefully curated reference labels, expert judgment or statistical properties when exact outputs vary.
Question 32
In an AI-system assurance case, the team observes: A public-benefits chatbot obeys instructions embedded in a document it was supposed to summarize. What is the most relevant resulting test risk? Select ONE best answer.
- A correct standalone model can still contribute to a defective system because of interface or workflow mismatches
- Invalid values can create fictitious patterns or crash transformations that expect well-formed inputs
- Individually valid fields can combine into impossible events or reveal future outcomes unavailable in production
- Untested prompt injection or persuasion patterns may override intended guardrails and expose protected material
Explanation
Correct Answer
D:Untested prompt injection or persuasion patterns may override intended guardrails and expose protected material. 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. Map abuse cases, trust boundaries, forbidden outputs, unauthorized data paths and defenses under representative attacks.
Incorrect Answers
A:A correct standalone model can still contribute to a defective system because of interface or workflow mismatches. 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.
B:Invalid values can create fictitious patterns or crash transformations that expect well-formed inputs. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
C:Individually valid fields can combine into impossible events or reveal future outcomes unavailable in production. Red teaming tests AI behavior against adversarial misuse, manipulation and boundary-breaking inputs, with controlled safety review.
Question 33
An original testing team reviews the following AI-system finding: A team calls a training framework API with a deprecated option and never checks the resulting model configuration. Which testing principle MOST directly applies? 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
- AI behavior learned from data has uncertainty and distribution dependencies that ordinary programmed business rules do not
- Data drift occurs when the operational input distribution departs from the distribution used in development
Explanation
Correct Answer
A:ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability. A team calls a training framework API with a deprecated option and never checks the resulting model configuration. Test framework API contracts and repeat representative training experiments with controlled settings.
Incorrect Answers
B:ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards. A team calls a training framework API with a deprecated option and never checks the resulting model configuration. ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability.
C:AI behavior learned from data has uncertainty and distribution dependencies that ordinary programmed business rules do not. A team calls a training framework API with a deprecated option and never checks the resulting model configuration. ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability.
D:Data drift occurs when the operational input distribution departs from the distribution used in development. ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability.
Question 34
In an original ML testing scenario, investigators find: A hospital cites 100 percent test accuracy from 12 cases to justify near-perfect operational safety. What should they examine FIRST to determine the control weakness? Select ONE best answer.
- Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth
- Analyze trial counts, representative conditions, confidence intervals and measurement assumptions
- Compare group-level sample sizes, missingness, label sources, confusion matrices and decision outcomes
- Measure repeated evaluation metrics by population, output confidence, variability and threshold under realistic inputs
Explanation
Correct Answer
B:Analyze trial counts, representative conditions, confidence intervals and measurement assumptions. A hospital cites 100 percent test accuracy from 12 cases to justify near-perfect operational safety. Stratify testing by important operating conditions and make uncertainty explicit in the release argument.
Incorrect Answers
A:Inspect expected-result sources, expert disagreement, rubric independence and conditions without reliable ground truth. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
C:Compare group-level sample sizes, missingness, label sources, confusion matrices and decision outcomes. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
D:Measure repeated evaluation metrics by population, output confidence, variability and threshold under realistic inputs. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
Question 35
A private test-design workshop records: A document summarizer is ranked only by response length with no factual consistency or coverage assessment. Which action best addresses the central issue? Select ONE best answer.
- Allocate stronger evidence and stress coverage to high-impact predictions and operational failure paths
- Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case
- Use a multi-dimensional evaluation of quality and safety over representative and stress prompts
- Calculate recall on a representative independent evaluation set and compare against the missed-event risk limit
Explanation
Correct Answer
C:Use a multi-dimensional evaluation of quality and safety over representative and stress prompts. A document summarizer is ranked only by response length with no factual consistency or coverage assessment. An exact-match or superficial fluency score can hide hallucination, unsafe advice and task failure.
Incorrect Answers
A:Allocate stronger evidence and stress coverage to high-impact predictions and operational failure paths. A document summarizer is ranked only by response length with no factual consistency or coverage assessment. Generative model testing evaluates task relevance, accuracy, harmful content, consistency and realistic user interactions.
B:Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case. Generative model testing evaluates task relevance, accuracy, harmful content, consistency and realistic user interactions.
D:Calculate recall on a representative independent evaluation set and compare against the missed-event risk limit. Generative model testing evaluates task relevance, accuracy, harmful content, consistency and realistic user interactions.
Question 36
A test team claims it corrected this AI-system finding: A bank ETL job silently drops valid customer records after a schema change adds a nullable field. What evidence would best verify the correction? Select ONE best answer.
- The released evaluation population covers important use conditions and reports any remaining untested strata
- Defined metrics remain within acceptable uncertainty and performance bounds across representative independent trials
- A clean rebuild reconstructs documented model behavior and passes equivalent inference tests on the supported runtime
- Source-to-output reconciliation confirms units, counts, keys and approved exception handling under change
Explanation
Correct Answer
D:Source-to-output reconciliation confirms units, counts, keys and approved exception handling under change. A bank ETL job silently drops valid customer records after a schema change adds a nullable field. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
Incorrect Answers
A:The released evaluation population covers important use conditions and reports any remaining untested strata. A bank ETL job silently drops valid customer records after a schema change adds a nullable field. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
B:Defined metrics remain within acceptable uncertainty and performance bounds across representative independent trials. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
C:A clean rebuild reconstructs documented model behavior and passes equivalent inference tests on the supported runtime. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
Question 37
An original testing team reviews the following AI-system finding: A device telemetry table contains null timestamps where each observation requires a recording time. Which testing principle MOST directly applies? Select ONE best answer.
- Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity
- Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions
- High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations
- ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability
Explanation
Correct Answer
A:Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity. A device telemetry table contains null timestamps where each observation requires a recording time. Implement explicit constraint checks with clear expected handling of valid boundaries and invalid values.
Incorrect Answers
B:Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
C:High-quality ML data preparation includes lawful use, traceable provenance and reproducible dataset transformations. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
D:ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability. Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity.
Question 38
A test team claims it corrected this AI-system finding: A university selects CPU-only hardware for repeated large matrix training without measuring feasible completion time. 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
- Representative training and inference runs meet agreed throughput, memory, latency and cost limits on target hardware
- Boundary and invalid samples trigger consistent documented accept, reject or repair decisions
- An end-to-end test follows representative raw inputs through conversion, prediction and safe business action
Explanation
Correct Answer
B:Representative training and inference runs meet agreed throughput, memory, latency and cost limits on target hardware. A university selects CPU-only hardware for repeated large matrix training without measuring feasible completion time. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
Incorrect Answers
A:Independent reviewers reproduce the task rubric and record groundedness and failure frequency across diverse prompts. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
C:Boundary and invalid samples trigger consistent documented accept, reject or repair decisions. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
D:An end-to-end test follows representative raw inputs through conversion, prediction and safe business action. Hardware selection for ML must consider parallel computation, memory, latency, energy and deployment environment.
Question 39
A fictional AI service has this weakness: An image-recognition service scores well on clean photos but fails on routine glare and blur. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- An undetected prediction failure can escalate into physical or clinical harm without timely external control
- Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims
- Headline accuracy can hide unacceptable error rates when a model faces common operational disturbances
- Repeated test-set tuning leaks evaluation information and inflates claims of generalization
Explanation
Correct Answer
C:Headline accuracy can hide unacceptable error rates when a model faces common operational disturbances. An image-recognition service scores well on clean photos but fails on routine glare and blur. Define separate threshold-based tests for prediction quality and robustness on representative degraded inputs. Compare clean and perturbed input results across specified environmental conditions and the tolerated error budget.
Incorrect Answers
A:An undetected prediction failure can escalate into physical or clinical harm without timely external control. AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption.
B:Confusing task-specific AI with general reasoning can produce unsafe out-of-scope deployment claims. AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption.
D:Repeated test-set tuning leaks evaluation information and inflates claims of generalization. AI functional correctness needs explicit acceptable error thresholds, while AI robustness concerns retaining function under disruption.
Question 40
A test team claims it corrected this AI-system finding: A dialect classifier trains on metropolitan speakers despite a rural population being central to its users. What evidence would best verify the correction? Select ONE best answer.
- An independently reviewed sample shows reproducible labeling criteria with tracked resolution of disputed cases
- Both cohorts have comparable conditions and a documented effect estimate with guardrail outcomes
- The computed TP/(TP+FN) meets its sensitivity target and missed positives are reviewed by risk category
- The released evaluation population covers important use conditions and reports any remaining untested strata
Explanation
Correct Answer
D:The released evaluation population covers important use conditions and reports any remaining untested strata. A dialect classifier trains on metropolitan speakers despite a rural population being central to its users. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
Incorrect Answers
A:An independently reviewed sample shows reproducible labeling criteria with tracked resolution of disputed cases. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
B:Both cohorts have comparable conditions and a documented effect estimate with guardrail outcomes. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.
C:The computed TP/(TP+FN) meets its sensitivity target and missed positives are reviewed by risk category. Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population.