Certified Tester Testing with Generative AI v1.0

Page:    1 / 3   
Exam contains 39 questions

You are working on a test automation task that generates XML-based test conditions conforming to a strict schema. To reduce errors and maintain format consistency, you decide to use a Generative AI model.
Which of the following is the BEST way to prompt the model to ensure it produces valid XML output across multiple iterations?

  • A. Provide several examples of valid XML outputs and ask the model to continue the pattern.
  • B. Ask the model to generate XML based on a description of the XML schema.
  • C. Instruct the model to reason about XML generation before producing the output.
  • D. Chain two prompts: first to generate test ideas, then to convert them into XML.


Answer : A

A Generative AI model is being used to generate automated test scripts. The test manager wants to assess whether the generated test scripts are usable.
Which of the following metrics is MOST appropriate for evaluating this output?

  • A. Diversity
  • B. Accuracy
  • C. Execution Success Rate
  • D. Precision


Answer : C

A tester finds that the Generative AI model is consistently generating test cases with insufficient detail and lacking certain critical test steps that are present in the input requirements.
Which prompt refinement technique would MOST directly help address this issue?

  • A. A/B testing of prompts to compare the overall performance of different versions.
  • B. Integrating user feedback from stakeholders on the clarity of generated output.
  • C. Adjusting prompt length and specificity by adding more context or detail about the expected output structure.
  • D. Comparing results across multiple LLMs to identify the best performing model.


Answer : C

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

  • A. The generation of output that appears factually incorrect or irrelevant to the given task.
  • B. The output favoring certain types of information or assumptions due to the training data.
  • C. The probabilistic nature of inference mechanisms leading to variations in outputs.
  • D. The misinterpretation of logical structures, such as cause-and-effect, leading to incorrect conclusions.


Answer : D

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?

  • A. "Prioritize 'Account Balance Display' (high criticality, no dependencies) before 'Transaction History Load' (medium criticality, depends on Account Login)."
  • B. "Recommend 'User Login' (critical, no dependencies) as the first priority, as it impacts all subsequent tests."
  • 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".
  • D. "Group 'Fund Transfer' and 'Bill Pay' as high priority due to their financial impact and assign them to the same test engineer."


Answer : C

To reduce the likelihood of hallucinations and reasoning errors when using an LLM for test tasks, which mitigation technique is MOST effective?

  • A. Ensuring the prompt contains all relevant information and providing complete context.
  • B. Automating all output verification to minimize human effort.
  • C. Relying on the LLM's internal knowledge without providing external data.
  • D. Using the same LLM to maintain consistency in output.


Answer : A

Which technique is used to reduce variability and promote more consistent outputs from Large Language Models, particularly for long generated texts?

  • A. Increasing the LLM's context window to process more information.
  • B. Lowering the temperature parameter during response generation.
  • C. Maximizing the creativity and diversity in responses.
  • D. Using multiple prompts in sequence.


Answer : B

Which of the following represents a VALID data privacy concern when using Generative AI in software testing?

  • A. The model generates test data that lacks diversity across edge cases.
  • B. Prompts or training data may cause the model to reveal confidential user information.
  • C. Test cases generated by the model are not aligned with the acceptance criteria.
  • D. The AI model fails to learn from past prompts without manual fine-tuning.


Answer : B

An attacker specifically designs prompts that are too long for the LLM's context window, intending to overwhelm its memory and inadvertently expose confidential details from its training data.
Which type of attack vector does this scenario BEST describe?

  • A. Data poisoning
  • B. Request manipulation
  • C. Malicious code generation
  • D. Data exfiltration


Answer : D

Match each type of attack vector against a Generative AI model (1-4) with its corresponding example (A-D) in the context of software testing:

Attack Vector -
1. Data exfiltration
2. Request manipulation
3. Data poisoning
4. Malicious code generation
A) An attacker provides a highly crafted input to an LLM, causing it to inadvertently reveal snippets of confidential training data, such as internal API keys.
B) A malicious tester repeatedly submits inaccurate or misleading evaluations when prompted to rate the quality of an AI-generated test report, thereby degrading the model's future performance.
C) A user intentionally includes a subtly altered image in a multi modal prompt, causing the LLM to misinterpret the context and generate irrelevant or incorrect acceptance criteria for a test task.
D) An adversary designs a prompt to coerce the LLM into generating executable code that, when run, attempts to establish an unauthorized communication channel to an external, controlled server.

  • A. 1A, 2C, 3B, 4D
  • B. 1A, 2B, 3D, 4C
  • C. 1D, 2C, 3A, 4B
  • D. 1D, 2B, 3C, 4A


Answer : A

When an organization implements Generative AI for software testing, which mitigation strategy is MOST crucial for protecting data privacy?

  • A. Conducting regular security audits on the LLM infrastructure.
  • B. Implementing data anonymization or pseudonymization for sensitive test data.
  • C. Comparing outputs across multiple LLMs to identify the most accurate results.
  • D. Training LLMs on the largest possible datasets to improve generalization.


Answer : B

A software testing team uses Generative AI for:
- Task A: Generating short text summaries and analyzing test logs
- Task B: Creating synthetic UI images and multimodal test data
Considering AI energy use, which statement BEST reflects the environmental impact of these tasks when widely adopted?

  • A. Task A has a negligible environmental impact, while Task B's complexity causes consistently higher energy use overall.
  • B. Task B uses less energy than Task A, since it involves pre-trained image models.
  • C. Task A uses less energy per instance than Task B but may still have a greater total impact if used more frequently.
  • D. Task A and Task B contribute equally to environmental impact if run on commercial cloud platforms.


Answer : C

Which of the following is a legally binding regulatory framework for Artificial Intelligence?

  • A. ISO/IEC 42001:2023
  • B. NIST AI Risk Management Framework (US)
  • C. ISO/IEC 23053:2022
  • D. EU AI Act


Answer : D

In an LLM-powered test infrastructure, which component is primarily responsible for serving as the user interface where testers interact with the system by inputting queries or commands?

  • A. Back-end
  • B. Front-end
  • C. Vector database
  • D. LLM


Answer : B

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?

  • A. To enable the LLM to learn new linguistic patterns during inference.
  • B. To directly generate human-like text responses without additional context.
  • C. To facilitate efficient similarity-based retrieval of relevant information at runtime.
  • D. To convert textual input into smaller units called tokens.


Answer : C

Page:    1 / 3   
Exam contains 39 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy | Amazon Exams | Cisco Exams | CompTIA Exams | Databricks Exams | Fortinet Exams | Google Exams | Microsoft Exams | VMware Exams