iSQI CT-GenAI Question Answer
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

