ISTQB CT-GenAI Practice Test Questions and Exam Dumps Part6 Q101-120

View Full ISTQB CT-GenAI Exam Dumps and Practice Test Dumps.

 

Question 101

Which statement best describes the purpose of retrieval-augmented generation (RAG) in a GenAI testing solution?

  1. To replace the underlying language model with a database
  2. To execute automated tests without any test environment
  3. To provide the model with relevant external information for generating a response
  4. To permanently modify the model after every prompt

Correct Answer: 3

Explanation

Retrieval-augmented generation, commonly called RAG, combines a language model with a mechanism for retrieving relevant information from an external knowledge source. In software testing, this can help a GenAI system use current project requirements, test documentation, defect information, or other approved sources when generating responses. The retrieved information provides additional context that may improve relevance and reduce reliance on potentially outdated or incomplete model knowledge. However, retrieval does not guarantee that the generated response is correct. Testers should still verify generated results against authoritative project information and established testing objectives.

Question 102

A tester wants GenAI to generate test cases only for the password-reset feature and exclude unrelated functionality. Which prompt element is most useful?

  1. Scope constraint
  2. Random example
  3. Unrelated context
  4. Output repetition

Correct Answer: 1

Explanation

A scope constraint clearly defines which part of the system should be considered during generation. In this example, specifying that the model should focus only on the password-reset feature helps prevent unrelated functionality from appearing in the generated test cases. Scope can be further clarified using requirements, user roles, business rules, and expected behaviors. A narrow scope does not guarantee that the generated cases are complete or correct, so they should still be reviewed. Clear scope definition is particularly useful when an application contains many features and the testing task needs to focus on one specific area.

Question 103

Which risk can result from using a GenAI model that produces outdated technical recommendations?

  1. The model will always refuse to answer technical questions
  2. The model may recommend deprecated APIs, libraries, or testing approaches
  3. The model will automatically update its knowledge from every project
  4. The generated output will always be identical

Correct Answer: 2

Explanation

Software technologies change frequently, and information used by a GenAI model may not always reflect the latest versions, APIs, libraries, or testing practices. As a result, a model can suggest deprecated commands, outdated frameworks, or technical approaches that are no longer appropriate. Testers should verify current technical recommendations using authoritative documentation and project-specific information. Supplying current documentation as context may also improve the usefulness of the response. Outdated information is particularly important to consider when generated content is used to create automation code, configure testing tools, or design technology-specific tests.

Question 104

What is the main purpose of specifying an output format such as a table with columns for ID, steps, data, and expected result?

  1. To train the model permanently
  2. To prevent the model from generating test cases
  3. To guarantee that all test cases are correct
  4. To make the generated testing information consistently structured

Correct Answer: 4

Explanation

Specifying an output format provides the GenAI system with clear instructions about how the requested information should be organized. A tester may request columns for test ID, objective, preconditions, steps, test data, and expected result. This structure can make generated test cases easier to review, compare, edit, and potentially transfer into testing tools. However, structure only controls presentation and does not guarantee that the content is accurate or complete. Testers must still validate each field against the requirements and testing objectives. Structured output is therefore a useful prompt-engineering technique rather than a substitute for review.

Question 105

Which activity is an appropriate example of using GenAI to support test planning?

  1. Asking GenAI to suggest testing activities based on provided scope and risks
  2. Allowing GenAI to approve the complete test plan without review
  3. Removing risk analysis because GenAI generates the plan
  4. Allowing the model to determine organizational priorities automatically

Correct Answer: 1

Explanation

GenAI can assist test planning by suggesting testing activities based on information such as project scope, requirements, risks, constraints, environments, and available resources. For example, it may propose functional, integration, regression, usability, or security testing areas for consideration. These suggestions can help testers brainstorm and structure an initial plan. However, the generated plan should be reviewed by people with appropriate project and domain knowledge. Organizational priorities, risks, deadlines, resources, and contractual requirements may require information that the model does not have. Human decision-making therefore remains important.

Question 106

What should a tester consider when GenAI generates a test case containing a requirement identifier that does not exist?

  1. Accept the identifier because it looks realistic
  2. Verify the identifier against the authoritative requirements
  3. Create a new requirement automatically
  4. Remove all requirement identifiers from the test suite

Correct Answer: 2

Explanation

GenAI can generate plausible-looking identifiers that are not actually present in the project’s requirements. This is another example of why generated information needs validation. The tester should compare the identifier with the authoritative requirements repository or approved documentation. If it does not exist, the test case should be corrected, rejected, or investigated rather than being treated as valid traceability information. Automatically creating a requirement would bypass the organization’s requirements-management process. Accurate traceability depends on linking testing artifacts to genuine and approved requirements.

Question 107

Which factor can influence the usefulness of a GenAI-generated answer when the prompt contains contradictory requirements?

  1. The model may produce an interpretation that does not match the intended business rule
  2. Contradictory requirements always produce perfect test coverage
  3. The model automatically resolves conflicts using organizational policy
  4. The model cannot generate any response when requirements conflict

Correct Answer: 1

Explanation

Contradictory requirements can create ambiguity for a GenAI model because it may not know which statement represents the authoritative business rule. The model may select one interpretation, combine conflicting information, or produce an answer that does not reflect the intended behavior. Testers should identify such contradictions and seek clarification through the appropriate requirements-management process. GenAI can help highlight possible inconsistencies, but it should not independently decide which requirement is authoritative. Resolving contradictions before relying on generated testing artifacts improves the quality and reliability of subsequent test design.

Question 108

Which GenAI risk is particularly relevant when confidential test information is entered into an unapproved external service?

  1. Improved test coverage
  2. Faster test execution
  3. Potential data leakage or unauthorized disclosure
  4. Increased requirements traceability

Correct Answer: 3

Explanation

Entering confidential test information into an unapproved external GenAI service can create a risk of unauthorized disclosure or data leakage. Test information may include customer details, credentials, proprietary application behavior, security findings, source code, or business-sensitive information. Organizations should define which information can be submitted to GenAI services and which tools are approved for use. Testers should follow data classification, privacy, confidentiality, and security requirements. Technical usefulness does not override these controls. Minimizing sensitive information and using approved environments can help reduce the risk while still allowing GenAI to support testing activities.

Question 109

What is one benefit of asking GenAI to generate multiple test ideas before the tester selects the final cases?

  1. It can support brainstorming and broaden the range of scenarios considered
  2. It guarantees complete test coverage
  3. It eliminates the need for risk-based testing
  4. It ensures every generated scenario is executable

Correct Answer: 1

Explanation

Generating multiple test ideas can help testers brainstorm a wider range of possible scenarios. GenAI may suggest alternative inputs, user behaviors, error conditions, boundaries, or unusual sequences that the tester can evaluate. This can be especially useful during early test analysis when the objective is to explore possibilities before selecting a final set of tests. However, generated ideas may include duplicates, irrelevant cases, or incorrect assumptions. The tester must therefore assess each idea against requirements, risks, feasibility, and testing objectives before incorporating it into the formal test suite.

Question 110

What is a key concern when GenAI is used to generate security-sensitive test scripts?

  1. Security-sensitive scripts never require review
  2. Generated code may contain unsafe logic or expose sensitive information
  3. Security testing does not involve code
  4. GenAI automatically applies every organizational security control

Correct Answer: 2

Explanation

Security-sensitive test scripts can interact with credentials, protected systems, APIs, databases, and other sensitive resources. GenAI-generated scripts may contain insecure handling of credentials, unsafe commands, excessive permissions, or inappropriate data processing. Testers should therefore review generated scripts carefully and validate them in a controlled environment. Security requirements, coding standards, and organizational policies should be applied before the scripts are approved. Generated code can accelerate development, but it should not be trusted automatically. Human review is particularly important when the generated automation could affect sensitive environments.

Question 111

Which approach can help a tester determine whether a GenAI-generated test case is redundant?

  1. Compare it with existing tests and identify overlapping objectives and conditions
  2. Accept every generated case to maximize quantity
  3. Delete all manually created tests
  4. Evaluate only the length of the test case

Correct Answer: 1

Explanation

Redundancy can be assessed by comparing a generated test case with existing tests and determining whether they cover substantially the same objective, conditions, behavior, or expected result. Removing unnecessary duplication can make a test suite easier to maintain and execute. However, apparently similar tests may still provide different coverage because of distinct data, user roles, environments, or risks. Testers should therefore evaluate the purpose and coverage of each case rather than removing cases solely because their wording is similar. GenAI can help identify possible duplicates, but human validation remains important.

Question 112

Which statement describes one possible use of GenAI for test automation maintenance?

  1. Automatically approving every changed script
  2. Replacing the automation framework without analysis
  3. Suggesting updated locators or test steps when the user interface changes
  4. Guaranteeing that all changed tests remain valid

Correct Answer: 3

Explanation

Changes to a user interface can cause automated tests to fail because locators, labels, controls, or workflows may have changed. GenAI can assist by analyzing existing automation and suggesting updated locators or test steps based on the new interface information. Such suggestions should be reviewed and executed before being accepted because the model may choose an incorrect element or misunderstand the intended workflow. GenAI can therefore reduce maintenance effort while leaving validation to the tester or automation engineer. Automated test maintenance still requires regression testing and appropriate quality controls.

Question 113

What does one-shot prompting generally involve?

  1. Providing one example to demonstrate the expected task or output
  2. Providing no instructions or examples
  3. Providing hundreds of examples for model training
  4. Asking the model to execute one automated test

Correct Answer: 1

Explanation

One-shot prompting provides a single example that demonstrates the expected relationship between an input and an output. In testing, a tester might provide one requirement together with a correctly structured test case and then ask the model to create additional cases using the same style. This can clarify expected terminology and output structure compared with instructions alone. One-shot prompting does not retrain the underlying model and does not guarantee correctness. The resulting cases should still be reviewed against the requirements, test objectives, and applicable testing standards.

Question 114

Which practice is useful when evaluating the consistency of GenAI-generated test cases?

  1. Checking whether similar inputs produce appropriately consistent structures and interpretations
  2. Accepting every variation as correct
  3. Measuring only the response generation time
  4. Removing all examples from the prompts

Correct Answer: 4

Explanation

Consistency evaluation can help determine whether GenAI produces appropriately similar structures and interpretations when given comparable testing tasks. A team may use standardized prompts and representative examples, then review whether the generated cases follow expected terminology, formatting, scope, and testing logic. Some variation is normal because GenAI can be probabilistic, but significant inconsistencies may reduce usefulness or reproducibility. Evaluation should focus on meaningful quality characteristics rather than demanding identical wording in every response. Human review and defined quality criteria can help determine whether the observed variation is acceptable.

Question 115

A tester asks GenAI to summarize a 200-page requirements document but the model receives only selected sections. What should the tester consider?

  1. The summary may not represent requirements that were not provided to the model
  2. The model automatically reads the complete document anyway
  3. Missing sections are always inferred correctly
  4. The resulting summary is guaranteed to be complete

Correct Answer: 1

Explanation

A GenAI model can only base its response on the information available to it and any other information accessible through the specific solution. If only selected sections of a large requirements document are provided, the generated summary may omit requirements contained elsewhere. Testers should therefore understand the scope of the supplied context and avoid treating a partial-input summary as a complete representation of the entire document. For important testing activities, the relevant requirements should be systematically covered and the resulting summary should be validated against the authoritative source.

Question 116

Which factor should be considered when deciding whether to automate a testing task with GenAI assistance?

  1. Whether GenAI is currently popular
  2. Whether the task benefits from automation and the associated risks can be controlled
  3. Whether the generated response contains many words
  4. Whether the task requires no validation

Correct Answer: 2

Explanation

A testing task should be considered for GenAI assistance based on its potential value, feasibility, and associated risks. Suitable tasks may be repetitive, text-heavy, or suitable for generating initial drafts and suggestions. The team should also consider privacy, security, correctness, review effort, reproducibility, and the impact of errors. A task is not automatically suitable simply because GenAI can perform it. The objective should be to achieve useful productivity or quality improvements while maintaining appropriate controls. Human review may be especially important when incorrect output could affect significant testing decisions.

Question 117

What is a potential consequence of providing biased examples in a few-shot prompt?

  1. The generated output may reproduce or reinforce the bias represented by those examples
  2. The model automatically removes the bias
  3. The examples have no influence on generated output
  4. The model permanently changes its training dataset

Correct Answer: 1

Explanation

Examples supplied in a few-shot prompt influence how the model interprets the requested task and expected output. If those examples consistently contain an unwanted bias, the generated results may reproduce or reinforce similar patterns. Testers should therefore select examples carefully and consider whether they represent the intended range of users, scenarios, data, and behaviors. Human review can help identify problematic patterns in generated results. Few-shot examples are useful for improving consistency and clarifying expectations, but they should themselves be reviewed for relevance, accuracy, and unintended bias.

Question 118

Which statement about GenAI-generated explanations of test failures is most appropriate?

  1. They should be considered confirmed root causes
  2. They are always based on actual system execution evidence
  3. They can provide hypotheses that require verification against evidence
  4. They eliminate the need to reproduce the failure

Correct Answer: 3

Explanation

GenAI can analyze supplied failure information and generate possible explanations, but these explanations should normally be treated as hypotheses rather than confirmed root causes. The model may lack important information about the environment, configuration, source code, dependencies, or actual execution sequence. Testers should verify suggested causes using logs, reproduction steps, source code, requirements, and other relevant evidence. This approach allows GenAI to accelerate investigation without replacing evidence-based defect analysis. A plausible explanation is useful as a starting point, but it should not be documented as a confirmed cause until appropriately validated.

Question 119

Which characteristic of a prompt is most likely to help GenAI distinguish between functional and non-functional testing requests?

  1. Clear task instructions and explicit testing scope
  2. Removing all testing terminology
  3. Providing only the application’s name
  4. Asking the model to decide the scope without context

Correct Answer: 1

Explanation

Clear task instructions and explicit scope help GenAI understand what type of testing activity is being requested. For example, a prompt can state whether the tester wants functional scenarios, performance considerations, usability checks, security scenarios, or another testing focus. Additional requirements and constraints can further clarify the intended output. Without this information, the model may generate a mixture of testing ideas that does not match the tester’s objective. Clear prompting improves relevance, but the generated results still require review to ensure that they address the intended testing scope accurately.

Question 120

Which practice best supports accountability when GenAI contributes to an important testing decision?

  1. Keeping no record of how the decision was made
  2. Allowing the model to make the final decision independently
  3. Recording relevant inputs and ensuring an appropriate human reviews and approves the result
  4. Treating the model’s response as formal evidence without validation

Correct Answer: 3

Explanation

Accountability is strengthened when important GenAI-supported decisions have appropriate human ownership and supporting records. Relevant information may include the prompt, source material, generated output, validation activities, and the identity or role of the person responsible for the final decision, depending on organizational processes. This helps explain how the decision was reached and allows issues to be investigated later. GenAI should not independently become the accountable decision-maker for significant testing outcomes. Human review, documented evidence, and established approval processes help ensure that AI assistance remains controlled and traceable.