SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
CT-GenAI · Domain 3

Managing Risks of Generative AI in Software Testing practice questions

Managing Risks of Generative AI in Software Testing is worth 25% of the CT-GenAI exam — the 2nd-heaviest of the 5 domains. Hallucinations, reasoning errors and biases and how to catch and mitigate them, non-deterministic output, data privacy and security risks, energy use, and the AI regulations, standards and frameworks that apply. Official share: 10 of 40 exam questions. 6 fully worked examples are further down this page, answers included.

Exam weight
25%
the 2nd-heaviest of the 5 domains
Questions
104
across 3 topics
Free, no account
5/day
a free account allows 10 a day
Explanations
Every option
right and wrong

Build a practice session

5 free questions left today.

Domains

How many?

Mode

Ready when you are

10 fresh questions drawn across 1 of 5 domains, in Learn mode.

Review what you missed

Every question you answer incorrectly, and every question you flag while practising, is saved here automatically. Finish a session and you can come back to re-drill just those.

6 sample Managing Risks of Generative AI in Software Testing questions, fully explained

Questions from the CT-GenAI bank mapped to domain 3, with the answer key and the reasoning behind every option. None of them repeat the examples on the main CT-GenAI practice page.

Question 1Managing Risks of Generative AI in Software Testing

According to the CT-GenAI syllabus, what is the MAIN reason LLMs make reasoning errors on tasks such as test case prioritization?

Choose one.

  • a
    They rely on pattern matching rather than on true logical reasoning Correct

    The syllabus states that, unlike humans, LLMs lack true logical reasoning and rely on pattern matching, which leads to faulty logic in tasks such as prioritization and mathematical reasoning.

  • b
    Their training data favours English-language sources over other sources

    A skew in training data explains bias, such as underrepresented non-English perspectives. It does not explain faulty logic.

  • c
    Their context window is too small to hold a complete set of test cases

    A limited context window restricts how much text the model can consider, but the syllabus attributes reasoning errors to pattern matching, not window size.

  • d
    Their temperature setting adds randomness to the tokens they generate

    Temperature controls variability between outputs. Lowering it gives more consistent output, but it does not give the model logical reasoning.

The concept

Reasoning errors occur when LLMs misinterpret logical structures; the root cause is that LLMs rely on pattern matching rather than true logical reasoning.

Why that’s the answer

Reasoning errors are misinterpretations of cause-and-effect, conditional logic or step-by-step processes. The syllabus explains that LLMs, unlike humans, lack true logical reasoning and rely on pattern matching, so tasks that require logic, such as test planning and test case prioritization, are exposed. Training-data skew explains bias, and temperature and context window are separate properties that do not create or remove the lack of reasoning.

How to reason it out
  1. Identify the defect type named in the question: reasoning error.
  2. Recall the syllabus cause: pattern matching instead of true logical reasoning.
  3. Reject causes that belong to bias (training data) or to output variability (temperature).

Exam tip: LLMs pattern-match; they do not truly reason, so logic-heavy test tasks need checking.

CT-GenAI: Hallucinations, Reasoning Errors and Bias in LLM Testing — the lesson that teaches this.

Question 2Managing Risks of Generative AI in Software Testing

Where do LLM biases MAINLY originate, according to the CT-GenAI syllabus?

Choose one.

  • a
    In the temperature value used during inference

    Temperature controls how random the sampling is. It affects variability, not which assumptions the model systematically favours.

  • b
    In the tokenizer that splits text into subwords

    Tokenization turns text into tokens for processing. The syllabus does not name it as the source of bias.

  • c
    In the data on which the model was trained Correct

    The syllabus states that LLM biases originate from the data on which the model was trained, leading to output that favours certain information, approaches or assumptions.

  • d
    In the random seed set for the sampling process

    A seed makes the pseudo-random sequence repeatable. It improves reproducibility and has nothing to do with systematic bias.

The concept

LLM bias comes from the training data and makes output favour certain information, approaches or assumptions.

Why that’s the answer

The syllabus traces bias to the training data: a model trained mostly on English-language data, for example, may underrepresent non-English perspectives. In testing this shows up when generating test data or refining acceptance criteria. Temperature, seed and tokenization are inference mechanics; they influence how output is produced but are not where systematic preferences come from.

How to reason it out
  1. Recall the definition of bias in 3.1.1.
  2. The origin named is the training data.
  3. Inference settings such as temperature and seed affect variability, not bias.

Exam tip: Bias in = bias out: it starts in the training data.

CT-GenAI: Hallucinations, Reasoning Errors and Bias in LLM Testing — the lesson that teaches this.

Question 3Managing Risks of Generative AI in Software Testing

A tester refines a prompt until the LLM stops adding test cases for a non-existent loyalty-discount rule. Next day, a colleague runs the same prompt on the same LLM and the invented rule reappears. What BEST explains this?

Choose one.

  • a
    The LLM was retrained overnight on data that now contains the invented discount rule

    Nothing in the scenario suggests the model changed. The same model producing different output for the same prompt is expected non-deterministic behaviour.

  • b
    Hallucinations caused by missing context are removed by fine-tuning, not by prompt edits

    Prompt design and complete context are key mitigations in the syllabus. The problem is that a fix observed once is not guaranteed in later runs.

  • c
    The repeated rule is a reasoning error, which the wording of a prompt does not influence

    Test cases for a rule that does not exist are a hallucination, and prompt variations do influence both hallucinations and reasoning errors.

  • d
    Non-deterministic output lets a defect fixed in one response return in another conversation Correct

    The syllabus notes that, because LLMs are non-deterministic, these defects may appear fixed in one output but reappear in another conversation with the same LLM.

The concept

Non-deterministic behaviour makes hallucinations, reasoning errors and biases hard to fix: they can seem fixed in one output and reappear in another conversation.

Why that’s the answer

LLM output comes from probabilistic sampling, so the same prompt can give different responses. The syllabus warns that this is why these defects are difficult to fix: a prompt change that removes a hallucination in one conversation does not guarantee it is gone in the next. Retraining is not indicated, prompt changes do matter, and inventing a rule that is not in the test basis is a hallucination rather than a reasoning error.

How to reason it out
  1. Note that the prompt and the LLM are unchanged, but the output differs.
  2. Same input, different output = non-deterministic behaviour.
  3. Conclude that a single clean run does not prove the defect is fixed; keep verifying output.

Exam tip: One clean response does not prove a hallucination is fixed — LLM output varies run to run.

CT-GenAI: Hallucinations, Reasoning Errors and Bias in LLM Testing — the lesson that teaches this.

Question 4Managing Risks of Generative AI in Software Testing

A user story has three acceptance criteria: valid credentials log in, five failed attempts lock the account, and a reset link is emailed. The LLM's test cases include one verifying fingerprint login. Which defect does this MOST likely show?

Choose one.

  • a
    Reasoning error

    A reasoning error misapplies logic, such as the wrong lock-out threshold or a wrong ordering. Here a whole feature has been invented.

  • b
    Bias

    Bias is a systematic tilt from training data, such as test data that favours one region. A single invented feature is not a systematic preference.

  • c
    Prompt injection

    Prompt injection is a security attack in which malicious input manipulates the model. Nothing in the scenario involves untrusted input.

  • d
    Hallucination Correct

    A test case verifying a capability that appears nowhere in the given acceptance criteria is invented content irrelevant to the task — a hallucination.

The concept

Test cases that verify non-existent acceptance criteria are a typical hallucination in software testing.

Why that’s the answer

The syllabus lists "suggesting test cases that verify non-existent acceptance criteria" as a way hallucinations show up in testing. Fingerprint login is not in the user story, so the test case is fictitious with respect to the test basis. A reasoning error would misread one of the three given criteria; bias would show as a systematic skew; prompt injection is a security attack covered elsewhere.

How to reason it out
  1. List what the test basis actually contains: three acceptance criteria.
  2. Compare the output: one test case targets a feature not in the basis.
  3. Invented, irrelevant content = hallucination.

Exam tip: A test for a requirement nobody wrote is a hallucination.

CT-GenAI: Hallucinations, Reasoning Errors and Bias in LLM Testing — the lesson that teaches this.

Question 5Managing Risks of Generative AI in Software Testing

A tester gives an LLM five test cases with risk levels and asks for an execution order, highest risk first. The LLM replies:Sorted by risk (highest first): TC3 (medium), TC1 (high), TC4 (high), TC2 (low), TC5 (low)Every ID and risk level in the reply matches the tester's input. Which defect does this output show?

Choose one.

  • a
    Hallucination

    Nothing was invented: the test case IDs and risk levels all come from the input. The defect is in how they were ordered.

  • b
    Bias

    Bias would be a systematic preference from training data, such as favouring functional tests. A mis-sorted list is a logic failure.

  • c
    Reasoning error Correct

    Every test case and risk level is real, but the ordering logic is wrong: a medium-risk test is placed before two high-risk tests while the output claims to be sorted. That is faulty logic — a reasoning error.

  • d
    Non-deterministic output

    Variation between runs is non-determinism. A single response with a wrong order is a defect in that response's reasoning.

The concept

Reasoning errors are faulty logic in tasks such as prioritization; the content is real but the conclusion drawn from it is wrong.

Why that’s the answer

The syllabus names test case prioritization as a test task that needs logical reasoning and where LLMs make reasoning errors, because they pattern-match rather than reason. Here all inputs are reproduced correctly, so it is not a hallucination, and there is no systematic skew pointing to bias. The model simply failed to apply the ordering rule it was given.

How to reason it out
  1. Check whether any content is invented: no, all IDs and risk levels come from the input.
  2. Check the logic: medium-risk TC3 is placed before high-risk TC1 and TC4.
  3. Correct inputs with a wrong conclusion = reasoning error.

Exam tip: Real inputs, wrong ordering or calculation = reasoning error.

CT-GenAI: Hallucinations, Reasoning Errors and Bias in LLM Testing — the lesson that teaches this.

Question 6Managing Risks of Generative AI in Software Testing

An LLM is asked for 50 synthetic customer records for an online shop that sells worldwide. The prompt sets no region, yet every name, address and phone number uses a United States format. Which defect is this MOST likely?

Choose one.

  • a
    Hallucination

    The records are synthetic by design, so being made up is the task, not a defect. The problem is that they all lean one way.

  • b
    Reasoning error

    No logical structure, calculation or ordering was misapplied. The skew is in what kind of data the model favours.

  • c
    Bias Correct

    The output systematically favours one kind of data even though the task covered all regions. The syllabus gives test data generation as an area where training-data bias shows.

  • d
    Context overflow

    Running out of context window would truncate or lose earlier input. It would not make every record follow one country's formats.

The concept

Bias makes LLM output favour certain information or assumptions, for example underrepresenting non-English or non-US data in generated test data.

Why that’s the answer

The syllabus explains that models trained primarily on certain data may underrepresent other perspectives, and that bias can influence generated test data. Fifty records that all follow US formats for a worldwide shop are a systematic skew of exactly this kind. Invented records are expected for synthetic data, so this is not a hallucination, and no logic was misapplied.

How to reason it out
  1. Note the requirement: a worldwide customer base.
  2. Note the output: one region's formats throughout.
  3. A systematic, one-sided skew = bias.

Exam tip: Skewed, one-sided test data = bias.

CT-GenAI: Hallucinations, Reasoning Errors and Bias in LLM Testing — the lesson that teaches this.

What CT-GenAI domain 3 tests, topic by topic

The official exam guide breaks Managing Risks of Generative AI in Software Testing into 3 topics. The question bank follows the same split, so a weak topic shows up as a cluster of misses you can go back and read.

Published CT-GenAI practice questions per topic in Managing Risks of Generative AI in Software Testing
TopicWhat it coversQuestions
Hallucinations, Reasoning Errors and BiasesOfficial CT-GenAI v1.1 syllabus section 3.1. Learning objectives: GenAI-3.1.1 (K1) Recall the definitions of hallucinations, reasoning errors and biases in Generative AI systems; GenAI-3.1.2 (K3) Identify hallucinations, reasoning errors and biases in LLM output; GenAI-3.1.3 (K2) Summarize mitigation techniques for GenAI hallucinations, reasoning errors and biases in software test tasks; GenAI-3.1.4 (K1) Recall mitigation techniques for non-deterministic behavior of LLMs.40
Data Privacy and Security Risks of Generative AI in Software TestingOfficial CT-GenAI v1.1 syllabus section 3.2. Learning objectives: GenAI-3.2.1 (K2) Explain key data privacy and security risks associated with using generative AI in software testing; GenAI-3.2.2 (K2) Give examples of data privacy and vulnerabilities in using Generative AI in software testing; GenAI-3.2.3 (K2) Summarize mitigation strategies to protect data privacy and enhance security in Generative AI for software testing.40
Energy Consumption, Regulations, Standards and Best Practice FrameworksOfficial CT-GenAI v1.1 syllabus sections 3.3 and 3.4. Learning objectives: GenAI-3.3.1 (K2) Explain the impact of task characteristics and model usage on the energy consumption of Generative AI in software testing; GenAI-3.4.1 (K1) Recall examples of AI regulations, standards and best practice frameworks relevant to Generative AI in software testing.24
Total104

Revise Managing Risks of Generative AI in Software Testing before you drill it

Other CT-GenAI domains

Managing Risks of Generative AI in Software Testing: your questions

Managing Risks of Generative AI in Software Testing is domain 3 of the CT-GenAI exam guide and carries 25% of the scored content — the 2nd-heaviest of the 5 domains. On a 40-question paper that works out to roughly 10 questions, though ISTQB does not publish an exact per-domain count and individual exam forms vary.

Source

The domain weight and topic list on this page come from the official CT-GenAI exam guide.