Skip to main content

CT-GENAI Real Exam Questions

ISTQB Certified Tester Testing with Generative AI (CT-GenAI) v1.0

57 questions available · Page 1 of 6

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

A tester uses an LLM to prioritize a set of regression test cases for a critical banking application. The LLM is given detailed information, including the criticality of associated modules, historical defect rates, and inter-dependencies between test cases (e.g., Test B can only run after Test A completes). The LLM is asked to generate a prioritized list for the next sprint's execution.

Which of the following LLM-generated prioritization statements indicates a reasoning error?

  1. A

    "Prioritize 'Account Balance Display' (high criticality, no dependencies) before 'Transaction History
    Load' (medium criticality, depends on Account Login)."

  2. B

    "Recommend 'User Login' (critical, no dependencies) as the first priority, as it impacts all subsequent tests."

  3. C

    "Place 'Password Reset' (medium criticality) as low priority, as it has a low historical defect rate, despite
    'User Profile Update' (high criticality) depending on it".

  4. D

    "Group 'Fund Transfer' and 'Bill Pay' as high priority due to their financial impact and assign them to the same test engineer."

Show answer and explanation

Correct answer: C

Explanation

The reasoning error is the prioritization that places a prerequisite test at low priority even though a high-criticality dependent test relies on it. If one test cannot run until another completes, the dependency must influence the ordering. Delaying the prerequisite can block execution of the more important dependent test, even when the prerequisite itself has medium criticality or a low historical defect rate. That conclusion mishandles the logical relationship between test cases.

The other statements are consistent with reasonable prioritization logic. Giving early attention to critical login behavior with no dependencies makes sense because it enables later tests. Prioritizing financially important functions can be justified by business impact. Assigning related high-priority tests to the same engineer may be a planning choice, provided workload and independence are considered. The key lesson is that risk-based prioritization is not just ranking each test in isolation. Criticality, defect history, business impact, and dependencies must be combined coherently so that execution order supports the overall regression objective.

Question 2 Single choice

To work effectively with Generative AI in test processes, what is an essential skill or knowledge area required for testers?

  1. A

    Deep expertise in training complex neural network architectures.

  2. B

    The ability to completely automate all human verification steps in AI-generated testware.

  3. C

    Understanding of prompt refinement techniques to optimize AI-generated testware.

  4. D

    Proficiency in advanced machine learning algorithms for model development.

Show answer and explanation

Correct answer: C

Explanation

Prompt refinement is an essential skill for testers using generative AI. Testers must be able to inspect a generated result, identify missing coverage or weak assumptions, and adjust the prompt with better context, constraints, examples, or output requirements. This skill helps turn a vague or incomplete first draft into usable testware that can be reviewed and traced to requirements.

Deep expertise in training neural network architectures may be useful for AI specialists, but it is not required for most testers applying GenAI in test processes. Completely automating human verification is unsafe because AI-generated testware still needs judgment, especially around risk, requirements interpretation, and product behavior. Advanced machine learning algorithm development is also not the core day-to-day skill for test practitioners. The practical need is to communicate testing intent clearly to the model and then critically evaluate the result. Prompt refinement connects testing expertise with AI capability, enabling testers to improve generated test cases, summaries, automation suggestions, and defect analyses without surrendering professional review.

Question 3 Single choice

Which of the following statements DOES NOT describe a recommended strategy for cultivating Generative AI skills within test teams to support the adoption of Generative AI in test activities?

  1. A

    Emphasizing a hands-on, gradual learning process supported by guided exercises and peer learning.

  2. B

    Promoting the gradual integration of AI into daily test tasks to build practical know-how.

  3. C

    Fostering internal communities of practice for ongoing knowledge sharing and documenting lessons learned from GenAI implementations.

  4. D

    Focusing on theoretical comprehension of LLM architectures and capabilities, and deferring practical application to later stages.

Show answer and explanation

Correct answer: D

Explanation

A strategy that focuses on theory while deferring practical application does not match recommended skill development for generative AI adoption in testing. Test teams learn most effectively when they combine conceptual understanding with hands-on use, guided exercises, review of real outputs, and gradual integration into daily tasks. Practical experimentation helps testers see limitations, refine prompts, recognize risks, and build confidence in responsible use.

The other approaches support healthy adoption. Hands-on gradual learning gives people a safe way to build skill. Introducing AI into routine test tasks helps teams develop practical judgment rather than treating GenAI as an abstract topic. Communities of practice help share lessons, reusable prompts, governance concerns, and examples of effective review. Testers do need some understanding of LLM capabilities and limitations, but theory alone is not enough. A balanced program teaches the concepts, then immediately connects them to realistic testing workflows so that people learn when AI assistance is useful, when it is risky, and how outputs should be validated.

Question 4 Single choice

A tester is crafting a prompt for an LLM to generate test cases. One part of the prompt reads: "The generated test cases must be provided in a CSV file format, with columns for Test ID, Description, Preconditions, Test Steps, and Expected Result."
In which component of the six-part prompt structure would this line MOST LIKELY appear?

  1. A

    Role

  2. B

    Constraints

  3. C

    Instruction

  4. D

    Output format

Show answer and explanation

Correct answer: D

Explanation

The quoted prompt line defines how the model response should be structured and delivered. It specifies a CSV file format and names the expected columns. That is an output format requirement because it tells the model the shape, organization, and representation of the response rather than the business role, domain background, or task objective.

In a structured prompt, the role component defines the persona or viewpoint, such as acting as a test analyst. Context supplies background about the product, feature, requirement, risk, or test objective.
Instruction states the task to perform, such as generate test cases for a workflow. Constraints limit what the model may include or must avoid, such as coverage rules, scope exclusions, assumptions, or security boundaries. Output format is specifically about the response layout, fields, syntax, or artifact type. In test work this separation is practical: a clear format requirement makes generated test cases easier to review, import, compare, and reuse, while the other prompt components control purpose and scope.

Question 5 Single choice

In the context of Generative AI systems, which definition CORRECTLY describes a reasoning error?

  1. A

    The generation of output that appears factually incorrect or irrelevant to the given task.

  2. B

    The output favoring certain types of information or assumptions due to the training data.

  3. C

    The probabilistic nature of inference mechanisms leading to variations in outputs.

  4. D

    The misinterpretation of logical structures, such as cause-and-effect, leading to incorrect conclusions.

Show answer and explanation

Correct answer: D

Explanation

A reasoning error occurs when the model mishandles logical relationships and reaches an invalid conclusion. In testing work, this may involve misunderstanding cause and effect, ignoring a dependency, applying a rule to the wrong case, or drawing a conclusion that does not follow from the evidence. The defining feature is flawed reasoning, not merely unusual wording or variation between runs.

A factually incorrect or irrelevant output is often called a hallucination or unsupported generation; it may be caused by reasoning problems, but the definition is broader. Favoring certain assumptions because of training data relates to bias. Variation caused by probabilistic inference describes nondeterminism or variability in output, not a reasoning error by itself. Testers should distinguish these failure modes because the mitigation differs. Reasoning errors are reduced by clearer structure, explicit rules, stepwise review, complete context, independent checking, and human validation. In test prioritization, test design, and defect analysis, a fluent explanation can still be logically wrong, so reasoning must be checked against the supplied constraints.

Question 6 Single choice

In the context of Large Language Models (LLMs), which of the following statements (i-v) regarding
'tokenization' and 'context window' are CORRECT? i) Tokenization is the process of breaking down textual input into smaller units called tokens. ii) The context window dictates the maximum number of tokens that an LLM can consider at any given time to maintain coherence. iii) Increasing the size of an LLM's context window generally leads to a reduction in computational complexity and processing time. iv) Tokenization primarily involves converting tokens into high-dimensional vectors to capture their semantic relationships.

v) A larger context window allows an LLM to maintain coherence over longer passages, such as when
analyzing large test logs.

  1. A

    i, ii, and iii

  2. B

    i, ii, and v

  3. C

    ii, iv, and v

  4. D

    iii, iv, and v

Show answer and explanation

Correct answer: B

Explanation

Tokenization and context window are separate but connected ideas. Tokenization breaks input text into smaller units that the model can process, such as words, word fragments, punctuation, or other subword pieces. The context window is the maximum span of tokens the model can consider for a single interaction or generation step. A larger context window can help the model keep more of a long requirement, test log, defect history, or design note available while it produces an answer.

The misleading statements reverse or overstate those concepts. Expanding the context window normally increases computational work and memory demand; it does not generally make processing simpler or
faster. Converting tokens into high-dimensional vectors is the role of embeddings, not tokenization itself.
This distinction matters in test work because long artifacts can exceed the effective context a model handles well. A tester should know when to chunk content, summarize carefully, or use retrieval support rather than assuming all earlier details will remain equally influential throughout a long prompt.

Question 7 Single choice

In a Retrieval-Augmented Generation (RAG) system, what is the primary purpose of storing document chunks as high-dimensional vectors (embeddings) in a vector database?

  1. A

    To enable the LLM to learn new linguistic patterns during inference.

  2. B

    To directly generate human-like text responses without additional context.

  3. C

    To facilitate efficient similarity-based retrieval of relevant information at runtime.

  4. D

    To convert textual input into smaller units called tokens.

Show answer and explanation

Correct answer: C

Explanation

In a retrieval-augmented generation system, document chunks are converted into embeddings and stored in a vector database so that relevant information can be retrieved by semantic similarity. At runtime, the user's query or task can also be embedded, and the system can find chunks that are close in vector space.
Those retrieved chunks are then supplied as context to the model so it can produce a more grounded response.

The vector database does not train the language model to learn new linguistic patterns during inference. It also does not directly generate human-like text; generation remains the role of the language model.
Tokenization is the earlier step of splitting text into units, not the purpose of vector storage. For testing assistants, this architecture can help retrieve approved requirements, test standards, defect histories, or domain rules before drafting test ideas or explanations. The benefit is controlled access to relevant evidence, which can reduce unsupported assumptions and make AI-assisted outputs more traceable.

Question 8 Single choice

A test organization builds an LLM-powered assistant that retrieves approved requirements and test standards before drafting answers.

Which architecture concept is being used?

  1. A

    Retrieval-augmented generation, because external context is retrieved and supplied to support the model response.

  2. B

    Data poisoning, because the model is retrained using tester feedback.

  3. C

    Static analysis, because source code is parsed before execution.

  4. D

    Visual testing, because image data is used to compare screenshots.

Show answer and explanation

Correct answer: A

Explanation

The architecture concept is retrieval-augmented generation. In this pattern, the assistant retrieves relevant approved requirements, test standards, policies, or other controlled knowledge before drafting a response.
The retrieved context is supplied to the model so the generated answer is grounded in material chosen by the system rather than relying only on the model's internal learned patterns.

Data poisoning would involve corrupting data used for training, feedback, or adaptation so that model behavior is degraded. Static analysis parses source code or related artifacts to detect issues without executing the program. Visual testing uses image comparison or visual evidence to assess user interfaces.
Those concepts do not describe retrieving approved textual context before generation. In testing organizations, retrieval-augmented generation can be especially useful because it lets teams connect AI assistance to current requirements, standards, templates, and domain rules. It still requires review, but it improves traceability and reduces the chance that outputs ignore approved sources of truth.

Question 9 Single choice

Which of the following accurately describes a challenge associated with fine-tuning Large Language Models (LLMs) for software testing tasks?

  1. A

    Fine-tuning eliminates risks of hallucination and bias in the model's output.

  2. B

    Fine-tuning reduces the computational resources required for model training.

  3. C

    Fine-tuning ensures full transparency in the model's decision-making process, simplifying debugging.

  4. D

    Fine-tuning ensures the use of high-quality, task-specific training datasets to avoid biased or inaccurate results.

Show answer and explanation

Correct answer: D

Explanation

Fine-tuning an LLM for software testing depends heavily on the quality and relevance of the task-specific data used. If examples, labels, requirements, defect reports, or test artifacts are incomplete, biased, stale, inconsistent, or unrepresentative, the tuned model can learn and reproduce those weaknesses. The challenge is not simply running a training process; it is curating data that reflects the desired testing
practice and verifying that the resulting model behaves appropriately.

Fine-tuning does not eliminate hallucination or bias. It can make a model better adapted to a domain, but risks remain. It does not necessarily reduce computational resources, because training or tuning can require specialized infrastructure and careful evaluation. It also does not make model decisions fully transparent or easy to debug. For testing teams, fine-tuning should be treated as an engineering and governance activity: define the task, select high-quality data, protect sensitive information, evaluate against representative cases, monitor drift, and keep human review in place for generated testware.

Question 10 Single choice

An LLM-generated test report states that a feature passed all browser compatibility checks, but the supplied evidence contains results from only one browser.

Which risk is demonstrated?

  1. A

    Bias caused by overrepresenting one browser family in training data.

  2. B

    Hallucination or unsupported inference beyond the available test evidence.

  3. C

    Data poisoning caused by malicious feedback during model training.

  4. D

    Tokenization failure caused by splitting browser names into subword units.

Show answer and explanation

Correct answer: B

Explanation

The report demonstrates hallucination or unsupported inference because it claims that all browser compatibility checks passed even though the supplied evidence covers only one browser. The model has gone beyond the available test evidence and stated a broader conclusion than the data supports. In testing, that is dangerous because stakeholders may treat the report as proof of coverage that never occurred. The statement should stay within the tested scope.

Bias from training data is not the central issue here; the problem is a conclusion unsupported by the provided evidence. Data poisoning involves maliciously corrupting training or feedback data, which is not described. Tokenization failure concerns how text is split into model tokens and does not explain the unsupported compatibility claim. A tester should respond by checking generated reports against actual evidence, requiring traceability to executed tests, and constraining the model to distinguish observed results from missing coverage. AI-generated status summaries should never upgrade limited evidence into comprehensive assurance without explicit support.