In the context of software testing, which statements (i—v) about foundation, instruction-tuned, and reasoning LLMs are CORRECT?
i. Foundation LLMs are best suited for broad exploratory ideation when test requirements are underspecified.
ii. Instruction-tuned LLMs are strongest at adhering to fixed test case formats (e.g., Gherkin) from clear prompts.
iii. Reasoning LLMs are strongest at multi-step root-cause analysis across logs, defects, and requirements.
iv. Foundation LLMs are optimal for strict policy compliance and template conformance.
v. Instruction-tuned LLMs can follow stepwise reasoning without any additional training or prompting.
You are using an LLM to assist in analyzing test execution trends to predict potential risks. Which of the following improvements would BEST enhance the LLM's ability to predict risks and provide actionable alerts?
You must generate test cases for a new payments rule. The system includes API specifications stored in a vector database and prior tests in a relational database. Which of the following sequences BEST represents the correct order for applying a Retrieval-Augmented Generation (RAG) workflow?
i. Retrieve semantically similar specification chunks from the vector database
ii. Feed both retrieved datasets as context for the LLM to generate new test cases
iii. Retrieve relevant historical cases from the relational database
iv. Submit a focused query describing the new test requirement
Which technique MOST directly reduces hallucinations by grounding the model in project realities?
How do tester responsibilities MOSTLY evolve when integrating GenAI into test processes?
A team notices vague, inconsistent LLM outputs for the same story for two different prompts. Which technique BEST helps choose the stronger wording among two prompt versions using predefined metrics?
A tester uploads crafted images that steer the LLM into validating non-existent acceptance criteria. Which attack vector is this?
Your team needs to generate 500 API test cases for a REST API with 50 endpoints. You have documented 10 exemplar test cases that follow your organization's standard format. You want the LLM to generate test cases following the pattern demonstrated in your examples. Which of the following prompting techniques is BEST suited to achieve your goal in this scenario?