ISTQB CT-AI Practice Test 18
Question 170
Consider this original ML case: A public employer deploys automated hiring screening without testing discrimination risks identified in its governance review. Which failure outcome should be emphasized? Select ONE best answer.
- Plausible but unsupported content or normal output variation can be misclassified when judging only surface fluency
- A high-performing model can still be unsafe or noncompliant if testing ignores protected outcomes and oversight duties
- A successful training job is insufficient evidence that the deployed service is compatible, safe or an improvement
- Unsupported citations and inconsistent conclusions can make fluent output harmful in regulated processes
Explanation
Correct Answer
B:A high-performing model can still be unsafe or noncompliant if testing ignores protected outcomes and oversight duties. A public employer deploys automated hiring screening without testing discrimination risks identified in its governance review. Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case. Map applicable requirements to system risk class, affected stakeholders, documented datasets and test evidence.
Incorrect Answers
A:Plausible but unsupported content or normal output variation can be misclassified when judging only surface fluency. AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs.
C:A successful training job is insufficient evidence that the deployed service is compatible, safe or an improvement. AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs.
D:Unsupported citations and inconsistent conclusions can make fluent output harmful in regulated processes. AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs.
Question 171
A fictional AI service has this weakness: A hospital retrains an image model on examples held aside for its final independent performance estimate. Which consequence is MOST directly likely if no action is taken? Select ONE best answer.
- Incorrect or undocumented cleaning can create spurious patterns and obscure meaningful exceptional cases
- A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo
- Repeated test-set tuning leaks evaluation information and inflates claims of generalization
- Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction
Explanation
Correct Answer
C:Repeated test-set tuning leaks evaluation information and inflates claims of generalization. A hospital retrains an image model on examples held aside for its final independent performance estimate. Keep a genuinely untouched evaluation partition separate from training and development selection. Inspect split assignments, model-selection history, hyperparameter trials and access to the final holdout.
Incorrect Answers
A:Incorrect or undocumented cleaning can create spurious patterns and obscure meaningful exceptional cases. Training fits model parameters, validation supports tuning, and a protected test set provides final unbiased estimation.
B:A subjective pass statement can conceal unacceptable errors or discriminatory outcomes despite an attractive demo. Training fits model parameters, validation supports tuning, and a protected test set provides final unbiased estimation.
D:Uncontrolled framework or dependency changes can invalidate reported performance and prevent model reproduction. Training fits model parameters, validation supports tuning, and a protected test set provides final unbiased estimation.
Question 172
A fictional AI assurance board hears: A financial question-answering model cites a source document whose actual contents contradict the answer. Which underlying distinction should guide its next decision? Select ONE best answer.
- A locked deployment remains stable until changed, whereas adaptive behavior can evolve during operation and needs ongoing assurance
- Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests
- AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs
- LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably
Explanation
Correct Answer
D:LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably. A financial question-answering model cites a source document whose actual contents contradict the answer. Create evidence-grounded accuracy tests and controlled paraphrase tests with documented evaluation rubrics.
Incorrect Answers
A:A locked deployment remains stable until changed, whereas adaptive behavior can evolve during operation and needs ongoing assurance. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
B:Model risks require risk-specific tests such as fairness analysis, robustness probes, generalization checks and interface tests. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
C:AI laws, policies and standards can impose risk-dependent evidence, safety, fairness, transparency and oversight needs. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
Question 173
During a fictional ML project, the owner learns: A loan training table accepts a repayment date earlier than its origination date without an error. Which corrective test activity is MOST appropriate? Select ONE best answer.
- Express cross-field assertions and quarantine inconsistent or future-leaking records before training
- Test representative valid, missing and malformed inputs end to end with explicit transformation assertions
- Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case
- Test framework API contracts and repeat representative training experiments with controlled settings
Explanation
Correct Answer
A:Express cross-field assertions and quarantine inconsistent or future-leaking records before training. A loan training table accepts a repayment date earlier than its origination date without an error. Individually valid fields can combine into impossible events or reveal future outcomes unavailable in production.
Incorrect Answers
B:Test representative valid, missing and malformed inputs end to end with explicit transformation assertions. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
C:Create a traceable compliance and safety test plan with approvals and measurable controls appropriate to the use case. 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.
D:Test framework API contracts and repeat representative training experiments with controlled settings. Valid data also require relationships between fields and time-consistent feature availability, not merely correct individual types.
Question 174
A simulated AI implementation reports: A fraud prevention team spends its testing budget uniformly despite differing financial loss across error types. Which response should the testing team prioritize? Select ONE best answer.
- Derive input pairs with an justified relation and compare resulting outputs under a clearly stated tolerance
- Allocate stronger evidence and stress coverage to high-impact predictions and operational failure paths
- Test framework API contracts and repeat representative training experiments with controlled settings
- Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average
Explanation
Correct Answer
B:Allocate stronger evidence and stress coverage to high-impact predictions and operational failure paths. A fraud prevention team spends its testing budget uniformly despite differing financial loss across error types. Flat test effort can leave rare catastrophic errors underexamined while low-impact behavior receives excess attention.
Incorrect Answers
A:Derive input pairs with an justified relation and compare resulting outputs under a clearly stated tolerance. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
C:Test framework API contracts and repeat representative training experiments with controlled settings. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
D:Flag material group disparities for causal analysis and controlled redesign rather than asserting fairness from one average. Risk-based AI testing prioritizes exposures by plausible harm, likelihood, uncertainty and controllability across data and model risks.
Question 175
An original testing team reviews the following AI-system finding: A bank approves model accuracy yet ignores an integration defect that shifts numeric input units. Which testing principle MOST directly applies? Select ONE best answer.
- LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably
- Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall
- AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions
- Model documentation should describe purpose, data provenance, limitations, evaluation evidence and updates for reliable review
Explanation
Correct Answer
C:AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions. A bank approves model accuracy yet ignores an integration defect that shifts numeric input units. Plan tests at ML-specific model and data levels plus conventional integration and full-system levels.
Incorrect Answers
A:LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably. AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions.
B:Accuracy equals (TP+TN)/all outcomes, while F1 is the harmonic mean 2PR/(P+R) of precision and recall. AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions.
D:Model documentation should describe purpose, data provenance, limitations, evaluation evidence and updates for reliable review. AI-based testing must address model-level behavior and system-level interaction among preprocessing, inference and business decisions.
Question 176
A private AI-testing exercise identifies: A retailer removes its old recommendation model before shadow-comparing the replacement against live requests. What is the governing concept relevant to this finding? Select ONE best answer.
- ML development testing addresses framework API use, configuration choices, hyperparameters, evaluation design and traceability
- Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP
- Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities
- ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards
Explanation
Correct Answer
D:ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards. A retailer removes its old recommendation model before shadow-comparing the replacement against live requests. 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 retailer removes its old recommendation model before shadow-comparing the replacement against live requests. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
B:Precision measures the fraction of predicted-positive cases that are genuinely positive: TP divided by TP plus FP. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
C:Supervised classification predicts labeled classes whereas supervised regression predicts continuous numeric quantities. ML deployment testing includes smoke checks, compatibility, shadow-mode comparison and controlled transition safeguards.
Question 177
In an AI-system assurance case, the team observes: A financial question-answering model cites a source document whose actual contents contradict the answer. What is the most relevant resulting test risk? Select ONE best answer.
- Unsupported citations and inconsistent conclusions can make fluent output harmful in regulated processes
- Unreliable oracle labels can falsely pass harmful outputs or reject valid alternate responses
- Unrepresentative datasets can cause unpredictable field errors despite clean in-sample measurements
- Poisoned or untrustworthy data can bias model predictions even when training completes normally
Explanation
Correct Answer
A:Unsupported citations and inconsistent conclusions can make fluent output harmful in regulated processes. A financial question-answering model cites a source document whose actual contents contradict the answer. Create evidence-grounded accuracy tests and controlled paraphrase tests with documented evaluation rubrics. Compare generated claims and citations to authoritative content and evaluate responses to semantically equivalent prompt variants.
Incorrect Answers
B:Unreliable oracle labels can falsely pass harmful outputs or reject valid alternate responses. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
C:Unrepresentative datasets can cause unpredictable field errors despite clean in-sample measurements. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
D:Poisoned or untrustworthy data can bias model predictions even when training completes normally. LLM testing must check whether material statements are actually supported and whether meaning-preserving prompts behave acceptably.
Question 178
A testing group is given this fictional case: A deep classifier scores 99 percent on training images but only 70 percent on independent images. Which evidence set is MOST relevant before proposing a change? Select ONE best answer.
- Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes
- Compare learning curves, training and holdout loss, model complexity and dataset leakage checks
- Inspect timestamp availability, repeated identities, grouping keys and downstream model-feature construction
- Inspect artifact signatures, runtime dependencies, shadow outputs, performance budgets and rollback criteria
Explanation
Correct Answer
B:Compare learning curves, training and holdout loss, model complexity and dataset leakage checks. A deep classifier scores 99 percent on training images but only 70 percent on independent images. Use independent validation to guide regularization, capacity or data changes and reserve the final test set.
Incorrect Answers
A:Inspect group allocation, concurrent periods, baseline comparability, guardrails and measured outcomes. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
C:Inspect timestamp availability, repeated identities, grouping keys and downstream model-feature construction. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
D:Inspect artifact signatures, runtime dependencies, shadow outputs, performance budgets and rollback criteria. Large train-validation gaps suggest overfitting, while weak results on both may indicate underfitting or inadequate features.
Question 179
A private AI-testing exercise identifies: A bank ETL job silently drops valid customer records after a schema change adds a nullable field. What is the governing concept relevant to this finding? Select ONE best answer.
- Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity
- Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks
- Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions
- RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness
Explanation
Correct Answer
C:Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions. A bank ETL job silently drops valid customer records after a schema change adds a nullable field. Test representative valid, missing and malformed inputs end to end with explicit transformation assertions.
Incorrect Answers
A:Dataset constraints must check allowed types, mandatory fields, ranges, uniqueness and domain-specific validity. 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:Pretraining transfers learned representations, while fine-tuning adapts a model to a new task but does not erase inherited risks. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
D:RAG combines information retrieval with generation; testing must separate retrieval relevance from answer groundedness. Data pipeline testing covers interface schema, transformation correctness, record completeness and traceable exceptions.
Question 180
A fictional AI assurance board hears: A manufacturer evaluates an object detector only in daylight yet reports an all-weather reliability estimate. Which underlying distinction should guide its next decision? Select ONE best answer.
- A locked deployment remains stable until changed, whereas adaptive behavior can evolve during operation and needs ongoing assurance
- Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal
- Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population
- Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use
Explanation
Correct Answer
D:Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use. 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.
Incorrect Answers
A:A locked deployment remains stable until changed, whereas adaptive behavior can evolve during operation and needs ongoing assurance. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
B:Metamorphic testing can require outputs to change in a predictable relationship rather than remain exactly equal. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.
C:Representativeness testing checks whether feature values, classes and operating conditions reflect the intended target population. Confidence in a performance estimate depends on sample size and whether the evaluation distribution matches real use.